Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config1/vmhgfs-only'
make -C /lib/modules/2.6.28-18-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-headers-2.6.28-18-generic'
CC [M]
/tmp/vmware-config1/vmhgfs-only/backdoor.o
CC [M]
/tmp/vmware-config1/vmhgfs-only/backdoorGcc32.o
CC [M]
/tmp/vmware-config1/vmhgfs-only/bdhandler.o /tmp/vmware-config1/vmhgfs-only/bdhandler.c:15:27: error: asm/semaphore.h: No such file or directory In file included from /tmp/vmware-config1/vmhgfs-only/dbllnklst.h:14,
from /tmp/vmware-config1/vmhgfs-only/vmrpc.h:17,
from /tmp/vmware-config1/vmhgfs-only/hgfsBd.h:14,
from /tmp/vmware-config1/vmhgfs-only/bdhandler.c:29: /tmp/vmware-config1/vmhgfs-only/vm_basic_types.h:170: error: conflicting types for ‘uintptr_t’ include/linux/types.h:40: error: previous declaration of ‘uintptr_t’ was here In file included from /tmp/vmware-config1/vmhgfs-only/request.h:21,
from /tmp/vmware-config1/vmhgfs-only/bdhandler.c:34: /tmp/vmware-config1/vmhgfs-only/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined /tmp/vmware-config1/vmhgfs-only/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined In file included from /tmp/vmware-config1/vmhgfs-only/request.h:21,
from /tmp/vmware-config1/vmhgfs-only/bdhandler.c:34: /tmp/vmware-config1/vmhgfs-only/compat_wait.h:60: error: conflicting types for ‘poll_initwait’ include/linux/poll.h:65: error: previous declaration of ‘poll_initwait’ was here make[2]: *** [/tmp/vmware-config1/vmhgfs-only/bdhandler.o] Error 1 make[1]: *** [_module_/tmp/vmware-config1/vmhgfs-only] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-18-generic' make: *** [vmhgfs.ko] Error 2 make: Leaving directory `/tmp/vmware-config1/vmhgfs-only' Unable to build the vmhgfs module
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 ]
怎么办?
总是一个问题,就卡住好几天。