Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] VMPlayer - yet another vmmon compile error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
nalf38
n00b
n00b


Joined: 22 Nov 2003
Posts: 27

PostPosted: Fri Jan 20, 2006 8:57 pm    Post subject: [SOLVED] VMPlayer - yet another vmmon compile error Reply with quote

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&#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
Back to top
View user's profile Send private message
Elmo pl
n00b
n00b


Joined: 08 Jun 2004
Posts: 27
Location: X:1043 Y:0034 Z:2392

PostPosted: Thu Jan 26, 2006 10:08 pm    Post subject: Reply with quote

Thanks for this information. Saved me probably much time.
_________________
[img:98aea2dc30]http://users.dolinka.net.pl/~elmo/sygnaturka.jpg[/img:98aea2dc30]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum