I am having trouble with running the vmware-config.pl script for vmware server on Ubuntu Intrepid Ibex. Does anyone have any insight into the reason for the failure? I have found that the issue is usually related to not having the headers for my kernel, but I am pretty sure it has what I need.
Code:
bryanjp@bryantower:~/Desktop/vmware-server-distrib$ sudo vmware-config.pl
Making sure services for VMware Server are stopped.
Stopping VMware services:
Virtual machine monitor done
Configuring fallback GTK+ 2.4 libraries.
In which directory do you want to install the mime type icons?
[/usr/share/icons]
What directory contains your desktop menu entry files? These files have a
.desktop file extension. [/usr/share/applications]
In which directory do you want to install the application's icon?
[/usr/share/pixmaps]
/usr/share/applications/vmware-server.desktop: warning: value "vmware-server.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path
/usr/share/applications/vmware-console-uri-handler.desktop: warning: value "vmware-server.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path
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-7-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-config1/vmmon-only'
make -C /lib/modules/2.6.27-7-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic'
CC [M] /tmp/vmware-config1/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config1/vmmon-only/./include/machine.h:24,
from /tmp/vmware-config1/vmmon-only/linux/driver.h:15,
from /tmp/vmware-config1/vmmon-only/linux/driver.c:49:
/tmp/vmware-config1/vmmon-only/./include/x86.h:830:1: warning: "PTE_PFN_MASK" redefined
In file included from include/asm/pda.h:8,
from include/asm/current.h:19,
from include/asm/processor.h:15,
from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/module.h:9,
from /tmp/vmware-config1/vmmon-only/linux/driver.c:12:
include/asm/page.h:22:1: warning: this is the location of the previous definition
In file included from /tmp/vmware-config1/vmmon-only/linux/vmhost.h:13,
from /tmp/vmware-config1/vmmon-only/linux/driver.c:71:
/tmp/vmware-config1/vmmon-only/./include/compat_semaphore.h:5:27: error: asm/semaphore.h: No such file or directory
/tmp/vmware-config1/vmmon-only/linux/driver.c:146: error: unknown field ‘nopage’ specified in initializer
/tmp/vmware-config1/vmmon-only/linux/driver.c:147: warning: initialization from incompatible pointer type
/tmp/vmware-config1/vmmon-only/linux/driver.c:150: error: unknown field ‘nopage’ specified in initializer
/tmp/vmware-config1/vmmon-only/linux/driver.c:151: warning: initialization from incompatible pointer type
/tmp/vmware-config1/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
/tmp/vmware-config1/vmmon-only/linux/driver.c:1670: error: too many arguments to function ‘smp_call_function’
make[2]: *** [/tmp/vmware-config1/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config1/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config1/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.
Code:
bryanjp@bryantower:~/Desktop/vmware-server-distrib$ uname -r
2.6.27-7-generic
Code:
bryanjp@bryantower:~/Desktop/vmware-server-distrib$ dpkg -l | grep linux
ii libselinux1 2.0.65-2 SELinux shared libraries
ii libv4l-0 0.5.0-3~intrepid1 Collection of video4linux support libraries
ii linux-firmware 1.2 Firmware for Linux kernel drivers
ii linux-generic 2.6.27.7.11 Complete Generic Linux kernel
ii linux-headers-2.6.27-7 2.6.27-7.16 Header files related to Linux kernel version
ii linux-headers-2.6.27-7-generic 2.6.27-7.16 Linux kernel headers for version 2.6.27 on x
ii linux-headers-generic 2.6.27.7.11 Generic Linux kernel headers
ii linux-image-2.6.27-7-generic 2.6.27-7.16 Linux kernel image for version 2.6.27 on x86
ii linux-image-2.6.27-7-server 2.6.27-7.16 Linux kernel image for version 2.6.27 on x86
ii linux-image-generic 2.6.27.7.11 Generic Linux kernel image
ii linux-image-server 2.6.27.7.11 Linux kernel image on Server Equipment.
ii linux-libc-dev 2.6.27-7.16 Linux Kernel Headers for development
ii linux-restricted-modules-2.6.27-7-generic 2.6.27-7.12 Non-free Linux kernel modules for version 2.
ii linux-restricted-modules-common 2.6.27-7.12 Non-free Linux 2.6.27 modules helper script
ii linux-restricted-modules-generic 2.6.27.7.11 Restricted Linux modules for generic kernels
ii linux-server 2.6.27.7.11 Complete Linux kernel on Server Equipment.
ii linux-sound-base 1.0.17.dfsg-2ubuntu1 base package for ALSA and OSS sound systems
ii syslinux 2:3.63+dfsg-2ubuntu3 Bootloader for Linux/i386 using MS-DOS flopp
ii util-linux 2.14-1ubuntu2 Miscellaneous system utilities