VMware-VMplayer - creating the vmmon kernel module
Matthew Nicholson
sjoeboo at sjoeboo.com
Fri Jun 2 22:05:36 UTC 2006
if your on dapper, vmware-player is in the repos, universe i think.
Adam D wrote:
> I have been trying to install the VMplayer for the past day and have been coming up with some road blocks. To start off with, I have downloaded the proper files (vmplayer) from http://www.vmware.com/download/player/ and PDF files. I have followed the instructions (https://wiki.ubuntu.com/VMwarePlayerAndQemu) and every time I do I get vmmon modules compile errors (see below).
>
>
>
> System: AMD64 3200+ (Abit KN8 SLI Motherboard)
> Linux: Ubuntu dapper 6.06
> Kernel: Self compiled using 2.6.16.14 vanilla (no kernel-headers)
> /usr/include/linux points to /usr/src/linux/include/linux
> gcc: gcc-3.4 (kernel was compiled using 4.0.3)
>
> ERRORS: warning: "VMW_HAVE_EPOLL" is not defined
> warning: initialization from incompatible pointer type
>
> Source of Info: vmware.com, wiki.ubuntu.com/VMwarePlayerAndQemu, wiki.ubuntu.com/KQEmu and some other misc.
>
>
>
>
> Full Text:
>
> Trying to find a suitable vmmon module for your running kernel.
>
> None of the pre-built vmmon modules for VMware Player is suitable for your
> running kernel. Do you want this program to try to build the vmmon module for
> your system (you need to have a C compiler installed on your system)? [yes]
>
> Using compiler "/usr/bin/gcc-3.4". Use environment variable CC to override.
>
> What is the location of the directory of C header files that match your running
> kernel? [/lib/modules/2.6.16.14.amd64-ws1.1/build/include]
>
> Extracting the sources of the vmmon module.
>
> Building the vmmon module.
>
> Using 2.6.x kernel build system.
> make: Entering directory `/tmp/vmware-config0/vmmon-only'
> make -C /lib/modules/2.6.16.14.amd64-ws1.1/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
> make[1]: Entering directory `/usr/src/linux-2.6.16.14'
> CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
> In file included from /tmp/vmware-config0/vmmon-only/linux/driver.h:20,
> from /tmp/vmware-config0/vmmon-only/linux/driver.c:49:
> /tmp/vmware-config0/vmmon-only/./include/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined
> /tmp/vmware-config0/vmmon-only/./include/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined
> In file included from /tmp/vmware-config0/vmmon-only/linux/driver.h:20,
> from /tmp/vmware-config0/vmmon-only/linux/driver.c:49:
> /tmp/vmware-config0/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-config0/vmmon-only/linux/driver.c:145: warning: initialization from incompatible pointer type
> /tmp/vmware-config0/vmmon-only/linux/driver.c:149: warning: initialization 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-2.6.16.14'
> make: *** [vmmon.ko] Error 2
> make: Leaving directory `/tmp/vmware-config0/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.
>
>
>
>
>
> -Adam
>
>
More information about the ubuntu-users
mailing list