vmware install problem on kernel 2.6.24-16-Unable to build the vmmon module

Following error message can appear during vmware installation due to incompatible kernel version and vmware installation package:

/tmp/vmware-config0/vmmon-only/./include/compat_wait.h:60: error: conflicting types for ‘poll_initwait’
include/linux/poll.h:65: error: previous declaration of ‘poll_initwait’ was here
/tmp/vmware-config0/vmmon-only/linux/driver.c:198: warning: initialisation from incompatible pointer type
make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
Unable to build the vmmon module.

To fix this problem you need to download following file:
http://blog.linuxconfig.org/wp-content/uploads/2008/04/

vmware-any-any-update-1161.tgz
Attempt to install vmware again but answer NO for question:

Before running VMware Server for the first time, you need to configure it by invoking the following command: "/usr/bin/vmware-config.pl". Do you want this program to invoke the command for you now? [yes]

then unpack vmware-any-any-update-1161.tgz and run script:

./runme

This script will preceded with vmware installation. I have tested this approach on my ubuntu hardy kernel 2.6.24-16-generic #1 SMP and all works.

Leave a Reply

You must be logged in to post a comment.