HGFS not working on Kali Linux
pepelegalbr Jan 19, 2014 3:50 AMThe Host is runing VMWare Workstation 9.0.3 build-1410761
The Guest is a Kali (uname -a: Linux kali 3.12-kali1-686-pae #1 SMP Debian 3.12.6-2kali1 (2014-01-06) i686 GNU/Linux)
And I trying to install VMwareTools-9.2.4-1398046.
I had this error when trying to install VMwareTools-9.2.4-1398046
/tmp/modconfig-ogGpKq/vmhgfs-only/file.c: In function ‘HgfsOpen’:
/tmp/modconfig-ogGpKq/vmhgfs-only/file.c:658:27: error: incompatible type for argument 3 of ‘HgfsSetUidGid’
In file included from /tmp/modconfig-ogGpKq/vmhgfs-only/file.c:45:0:
/tmp/modconfig-ogGpKq/vmhgfs-only/fsutil.h:92:6: note: expected ‘uid_t’ but argument is of type ‘kuid_t’
/tmp/modconfig-ogGpKq/vmhgfs-only/file.c:658:27: error: incompatible type for argument 4 of ‘HgfsSetUidGid’
In file included from /tmp/modconfig-ogGpKq/vmhgfs-only/file.c:45:0:
/tmp/modconfig-ogGpKq/vmhgfs-only/fsutil.h:92:6: note: expected ‘gid_t’ but argument is of type ‘kgid_t’
make[4]: ** [/tmp/modconfig-ogGpKq/vmhgfs-only/file.o] Erro 1
make[4]: ** Esperando que outros processos terminem.
/tmp/modconfig-ogGpKq/vmhgfs-only/fsutil.c: In function ‘HgfsChangeFileAttributes’:
/tmp/modconfig-ogGpKq/vmhgfs-only/fsutil.c:680:20: error: incompatible types when assigning to type ‘kuid_t’ from type ‘uid_t’
/tmp/modconfig-ogGpKq/vmhgfs-only/fsutil.c:682:20: error: incompatible types when assigning to type ‘kuid_t’ from type ‘uint32’
/tmp/modconfig-ogGpKq/vmhgfs-only/fsutil.c:685:20: error: incompatible types when assigning to type ‘kgid_t’ from type ‘gid_t’
/tmp/modconfig-ogGpKq/vmhgfs-only/fsutil.c:687:20: error: incompatible types when assigning to type ‘kgid_t’ from type ‘uint32’
/tmp/modconfig-ogGpKq/vmhgfs-only/fsutil.c: In function ‘HgfsSetUidGid’:
/tmp/modconfig-ogGpKq/vmhgfs-only/fsutil.c:1664:21: error: incompatible types when assigning to type ‘kuid_t’ from type ‘uid_t’
/tmp/modconfig-ogGpKq/vmhgfs-only/fsutil.c:1672:24: error: incompatible types when assigning to type ‘kgid_t’ from type ‘gid_t’
/tmp/modconfig-ogGpKq/vmhgfs-only/filesystem.c: In function ‘HgfsInitSuperInfo’:
/tmp/modconfig-ogGpKq/vmhgfs-only/filesystem.c:234:15: error: incompatible types when assigning to type ‘uid_t’ from type ‘kuid_t’
/tmp/modconfig-ogGpKq/vmhgfs-only/filesystem.c:240:15: error: incompatible types when assigning to type ‘gid_t’ from type ‘kgid_t’
make[4]: ** [/tmp/modconfig-ogGpKq/vmhgfs-only/fsutil.o] Erro 1
make[4]: ** [/tmp/modconfig-ogGpKq/vmhgfs-only/filesystem.o] Erro 1
make[3]: ** [_module_/tmp/modconfig-ogGpKq/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.12-kali1-686-pae'
make: ** [vmhgfs.ko] Erro 2
make: Saindo do diretório `/tmp/modconfig-ogGpKq/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 ]
---------------------------
There is any hope for sharing files between host and guest?