VMWare Server on kernel 2.6.27-2-generic: cannot compile vmmon module
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I have recently upgraded the kernel of Ubuntu Hardy (8.04) to the latest Intrepid kernel (2.6.27-2-generic). VMWare Server stopped running as a result of this. I tried to reconfigure VMWare Server by means of
sudo /usr/bin/
First this complained that I had the wrong version of gcc (4.2 instead of 4.3). So I installed the package gcc-4.3 and changed the /usr/bin/gcc symbolic link to point to 4.3 instead of 4.2:
lrwxrwxrwx 1 root root 7 2008-09-01 22:11 /usr/bin/gcc -> gcc-4.3
Next it complained that there was a missing header file asm/semaphore.h. So I created the following symbolic link:
/usr/src/
I tried reconfiguring VMWare by means of sudo /usr/bin/
Trying to find a suitable vmmon module for your running kernel.
None of the pre-built vmmon modules for VMware Server 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". Use environment variable CC to override.
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/
Extracting the sources of the vmmon module.
Building the vmmon module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-
make -C /lib/modules/
make[1]: Entering directory `/usr/src/
CC [M] /tmp/vmware-
In file included from /tmp/vmware-
/tmp/vmware-
In file included from include/
include/
/tmp/vmware-
/tmp/vmware-
/tmp/vmware-
/tmp/vmware-
/tmp/vmware-
/tmp/vmware-
make[2]: *** [/tmp/vmware-
make[1]: *** [_module_
make[1]: Leaving directory `/usr/src/
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-
Unable to build the vmmon module.
For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://
"http://
Execution aborted.
description: | updated |
Attaching the offending file from VMWare, in the hopes that it gives someone an idea what's going on.