| Description | When Kali runs virtualized inside a VMWare 11.0 the user usually installs VMWare Tools, which enable some cool features, as the ability to share a folder between the Guest (Kali) and the host system. This feature is called HFGS (Host-guest file system).
It was working until Kali Kernel 3.14 but, when the Kernel 3.18 came, the HGFS has stopped to work. |
|---|
| Additional Information | uname -a = Linux kali 3.18.0-kali1-686-pae 0000001 SMP Debian 3.18.3-1~kali4 (2015-01-22) i686 GNU/Linux
ERROR MESSAGE:
Before you can compile modules, you need to have the following installed...
make
gcc
kernel headers of the running kernel
Searching for GCC...
Detected GCC binary at "/usr/bin/gcc".
The path "/usr/bin/gcc" appears to be a valid path to the gcc binary.
Would you like to change it? [no]
Searching for a valid kernel header path...
Detected the kernel headers at
"/lib/modules/3.18.0-kali1-686-pae/build/include".
The path "/lib/modules/3.18.0-kali1-686-pae/build/include" appears to be a
valid path to the 3.18.0-kali1-686-pae kernel headers.
Would you like to change it? [no]
Using kernel build system.
make: Entrando no diretório /tmp/modconfig-JvObjh/vmhgfs-only' /usr/bin/make -C /lib/modules/3.18.0-kali1-686-pae/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \ MODULEBUILDDIR= modules make[1]: Entrando no diretório/usr/src/linux-headers-3.18.0-kali1-686-pae'
CC [M] /tmp/modconfig-JvObjh/vmhgfs-only/backdoor.o
CC [M] /tmp/modconfig-JvObjh/vmhgfs-only/backdoorGcc32.o
CC [M] /tmp/modconfig-JvObjh/vmhgfs-only/bdhandler.o
CC [M] /tmp/modconfig-JvObjh/vmhgfs-only/cpName.o
CC [M] /tmp/modconfig-JvObjh/vmhgfs-only/cpNameLinux.o
CC [M] /tmp/modconfig-JvObjh/vmhgfs-only/cpNameLite.o
CC [M] /tmp/modconfig-JvObjh/vmhgfs-only/dentry.o
CC [M] /tmp/modconfig-JvObjh/vmhgfs-only/dir.o
CC [M] /tmp/modconfig-JvObjh/vmhgfs-only/file.o
CC [M] /tmp/modconfig-JvObjh/vmhgfs-only/filesystem.o
CC [M] /tmp/modconfig-JvObjh/vmhgfs-only/fsutil.o
CC [M] /tmp/modconfig-JvObjh/vmhgfs-only/hgfsBd.o
CC [M] /tmp/modconfig-JvObjh/vmhgfs-only/hgfsEscape.o
CC [M] /tmp/modconfig-JvObjh/vmhgfs-only/hgfsUtil.o
CC [M] /tmp/modconfig-JvObjh/vmhgfs-only/inode.o
CC [M] /tmp/modconfig-JvObjh/vmhgfs-only/link.o
CC [M] /tmp/modconfig-JvObjh/vmhgfs-only/message.o
CC [M] /tmp/modconfig-JvObjh/vmhgfs-only/module.o
/tmp/modconfig-JvObjh/vmhgfs-only/inode.c: In function ‘HgfsPermission’:
/tmp/modconfig-JvObjh/vmhgfs-only/inode.c:1920:7: error: ‘struct dentry’ has no member named ‘d_alias’
/tmp/modconfig-JvObjh/vmhgfs-only/inode.c:1920:7: warning: initialization from incompatible pointer type [enabled by default]
/tmp/modconfig-JvObjh/vmhgfs-only/inode.c:1920:7: error: ‘struct dentry’ has no member named ‘d_alias’
/tmp/modconfig-JvObjh/vmhgfs-only/inode.c:1920:7: error: ‘struct dentry’ has no member named ‘d_alias’
/tmp/modconfig-JvObjh/vmhgfs-only/inode.c:1920:7: error: ‘struct dentry’ has no member named ‘d_alias’
/tmp/modconfig-JvObjh/vmhgfs-only/inode.c:1920:7: error: ‘struct dentry’ has no member named ‘d_alias’
/tmp/modconfig-JvObjh/vmhgfs-only/inode.c:1920:7: warning: initialization makes pointer from integer without a cast [enabled by default]
/tmp/modconfig-JvObjh/vmhgfs-only/inode.c:1920:7: error: ‘struct dentry’ has no member named ‘d_alias’
make[4]: [/tmp/modconfig-JvObjh/vmhgfs-only/inode.o] Erro 1
make[4]: Esperando que outros processos terminem.
make[3]: [module/tmp/modconfig-JvObjh/vmhgfs-only] Erro 2
make[2]: [sub-make] Erro 2
make[1]: [all] Erro 2
make[1]: Saindo do diretório `/usr/src/linux-headers-3.18.0-kali1-686-pae'
make: [vmhgfs.ko] Erro 2
make: Saindo do diretório `/tmp/modconfig-JvObjh/vmhgfs-only'
The filesystem driver (vmhgfs module) is used only for the shared folder
feature. The rest of the software provided by VMware Tools is designed to work
independently of this feature.
If you wish to have the shared folders feature, you can install the driver by
running vmware-config-tools.pl again after making sure that gcc, binutils, make
and the kernel sources for your running kernel are installed on your machine.
These packages are available on your distribution's installation CD.
[ Press Enter key to continue ]
PS: Before somenone ask: make, gcc and linux kernels were all installed. |
|---|