Unable to build the vmmon module, Ubuntu

chris (2010-04-19 08:52:12)
3269 views
0 replies
Building VMware is currently broken on recent Ubuntu versions. I attempted it this morning and got this ugly output:

Building for VMware Server 1.0.0.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.22-14-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
In file included from include/linux/poll.h:11,
from /tmp/vmware-config0/vmmon-only/linux/driver.c:29:
include/linux/fs.h: In function ‘iget’:
include/linux/fs.h:1717: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
The bug is not reproducible, so it is likely a hardware or OS problem.
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.22-14-generic'
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.

There are various blog posts out there recommending fixing an include in the vmmon kernel source - ignore them. The simples way to fix this is to follow the simple patch instructions here: http://www.ubuntugeek.com/how-to-install-vmware-server-2-0-x-in-ubuntu-9-10-karmic.html. Simply accepting all the defaults should get you home safely

Probably more as a note to myself than anything else, this is also a good resource for getting headless vmware server installed: http://nealosis.com/blog/post/Create-a-Headless-VMWare-Server-with-Linux.aspx


comment