You are not logged in.

#1 2008-06-10 13:09:44

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

vmware-tools: unable to compile modules

Something that should have been fairly simple has turned out to be quite difficult for me.
I have done everything right according to the wiki but the modules won't compile for some reason.
Any ideas?

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux-2.6.25-ARCH/include] 

Extracting the sources of the vmmemctl module.

Building the vmmemctl module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config11/vmmemctl-only'
make -C /usr/src/linux-2.6.25-ARCH/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.25-ARCH'
  CC [M]  /tmp/vmware-config11/vmmemctl-only/os.o
In file included from /tmp/vmware-config11/vmmemctl-only/os.c:40:
/tmp/vmware-config11/vmmemctl-only/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined
/tmp/vmware-config11/vmmemctl-only/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined
In file included from /tmp/vmware-config11/vmmemctl-only/os.c:40:
/tmp/vmware-config11/vmmemctl-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-config11/vmmemctl-only/os.o] Error 1
make[1]: *** [_module_/tmp/vmware-config11/vmmemctl-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.25-ARCH'
make: *** [vmmemctl.ko] Error 2
make: Leaving directory `/tmp/vmware-config11/vmmemctl-only'
Unable to build the vmmemctl module.

neutral

Offline

Board footer

Powered by FluxBB