Compile VMware vmmon module

Günter Schmidt gsc.news at online.de
Wed Jan 18 05:59:30 UTC 2006


With the latest kernel (2.6.15-1.1857_FC5) I can't build the vmmon 
module anymore. It is aborted
with error "conflicting types for ‘poll_initwait’" . Did anybody fix 
that problem already?

Here the build output:

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config3/vmmon-only'
make -C /lib/modules/2.6.15-1.1857_FC5/build/include/.. SUBDIRS=$PWD 
SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.15-1.1857_FC5-i686'
CC [M] /tmp/vmware-config3/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config3/vmmon-only/linux/driver.h:20,
from /tmp/vmware-config3/vmmon-only/linux/driver.c:49:
/tmp/vmware-config3/vmmon-only/./include/compat_wait.h:37:5: warning: 
"VMW_HAVE_EPOLL" is not defined
/tmp/vmware-config3/vmmon-only/./include/compat_wait.h:43:5: warning: 
"VMW_HAVE_EPOLL" is not defined
In file included from /tmp/vmware-config3/vmmon-only/linux/driver.h:20,
from /tmp/vmware-config3/vmmon-only/linux/driver.c:49:
/tmp/vmware-config3/vmmon-only/./include/compat_wait.h:60: error: 
conflicting types for ‘poll_initwait’
include/linux/poll.h:45: error: previous declaration of ‘poll_initwait’ 
was here
/tmp/vmware-config3/vmmon-only/linux/driver.c:145: warning: 
initialization from incompatible pointer type
/tmp/vmware-config3/vmmon-only/linux/driver.c:149: warning: 
initialization from incompatible pointer type
make[2]: *** [/tmp/vmware-config3/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config3/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.15-1.1857_FC5-i686'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config3/vmmon-only'
Unable to build the vmmon module.

For more information on how to troubleshoot module-related problems, please
visit our Web site at 
"http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.

Günter




More information about the fedora-test-list mailing list