nalf38 n00b
Joined: 22 Nov 2003 Posts: 27
|
Posted: Fri Jan 20, 2006 8:57 pm Post subject: [SOLVED] VMPlayer - yet another vmmon compile error |
|
|
I found the answer on the VMWare discussion forums. For anyone else having this problem, it was a fairly easy fix which involved inserting one compile option into the Makefile.kernel files of both vmmon.tar and vmnet.tar. Here's the vmware post: http://www.vmware.com/community/thread.jspa?messageID=334724񑮄
I've looked over the forums for my particular compile error, but wasn't able to find it. I'm trying to compile the vmplayer modules for kernel 2.6.16-rc1, and the errors I'm getting probably have something to do with the fact that I'm running a pre-release kernel, but I'd appreciate it if anyone had any ideas on how to get the vmmon.ko and other vmware modules to compile. Here's my error:
Quote: |
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config8/vmmon-only'
make -C /usr/src/linux/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.16-rc1'
CC [M] /tmp/vmware-config8/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config8/vmmon-only/linux/driver.h:20,
from /tmp/vmware-config8/vmmon-only/linux/driver.c:49:
/tmp/vmware-config8/vmmon-only/include/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined
/tmp/vmware-config8/vmmon-only/include/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined
In file included from /tmp/vmware-config8/vmmon-only/linux/driver.h:20,
from /tmp/vmware-config8/vmmon-only/linux/driver.c:49:
/tmp/vmware-config8/vmmon-only/include/compat_wait.h:60: error: conflicting types for `poll_initwait'
include/linux/poll.h:45: error: previous declaration of `poll_initwait'
/tmp/vmware-config8/vmmon-only/linux/driver.c:145: warning: initialization from incompatible pointer type
/tmp/vmware-config8/vmmon-only/linux/driver.c:149: warning: initialization from incompatible pointer type
make[2]: *** [/tmp/vmware-config8/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config8/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16-rc1'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config8/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.
|
I'm not sure what the problem is. I've had no problem getting them to compile on 2.6.15. Any suggestions?
Thanks in advance,
NL |
|