Public bug reported:
I have recently upgraded the kernel of Ubuntu Gutsy (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/vmware-config.pl
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/linux-headers-2.6.27-2-generic/include/asm/semaphore.h ->
/usr/src/linux-headers-2.6.27-2/include/linux/semaphore.h
I tried reconfiguring VMWare by means of sudo /usr/bin/vmware-config.pl,
and I also tried reinstalling VMWare completely. In both cases here is
what happens:
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/2.6.27-2-generic/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-config3/vmmon-only'
make -C /lib/modules/2.6.27-2-generic/build/include/.. SUBDIRS=$PWD
SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-2-generic'
CC [M] /tmp/vmware-config3/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config3/vmmon-only/./include/machine.h:24,
from /tmp/vmware-config3/vmmon-only/linux/driver.h:15,
from /tmp/vmware-config3/vmmon-only/linux/driver.c:49:
/tmp/vmware-config3/vmmon-only/./include/x86.h:830:1: warning: "PTE_PFN_MASK"
redefined
In file included from include/asm/paravirt.h:7,
from include/asm/irqflags.h:55,
from include/linux/irqflags.h:57,
from include/asm/system.h:11,
from include/asm/processor.h:17,
from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/module.h:9,
from /tmp/vmware-config3/vmmon-only/linux/driver.c:12:
include/asm/page.h:22:1: warning: this is the location of the previous
definition
/tmp/vmware-config3/vmmon-only/linux/driver.c:146: error: unknown field
‘nopage’ specified in initializer
/tmp/vmware-config3/vmmon-only/linux/driver.c:147: warning: initialization from
incompatible pointer type
/tmp/vmware-config3/vmmon-only/linux/driver.c:150: error: unknown field
‘nopage’ specified in initializer
/tmp/vmware-config3/vmmon-only/linux/driver.c:151: warning: initialization from
incompatible pointer type
/tmp/vmware-config3/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
/tmp/vmware-config3/vmmon-only/linux/driver.c:1670: error: too many arguments
to function ‘smp_call_function’
make[2]: *** [/tmp/vmware-config3/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config3/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-2-generic'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config3/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.
** Affects: ubuntu
Importance: Undecided
Status: New
--
VMWare Server on kernel 2.6.27-2-generic: cannot compile vmmon module
https://bugs.launchpad.net/bugs/263837
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs