Hi, I am trying to complete the installation of vmware server on a
kubuntu feisty install. I thought I had installed the required header or
source files but to be honest have lost track of exactly which ones I
have added. I do have gcc-4.1, linux-kernel-headers for 2.6.20-16 (-386
and -generic), various vmware-server-kernel modules and sources and
vmware-tools packages installed (via Adept). I'm still missing something
but not sure what. I have looked at the vmware support forums as
suggested at the end of the output but am no wiser. Anyone have any
pointers?
Cheers, Roger
[EMAIL PROTECTED]:~$ uname -r
2.6.20-16-386
[EMAIL PROTECTED]:~$ sudo vmware-config.pl
Password:
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: The
'Application' category is not defined by the desktop entry
specification. Please use one of "AudioVideo", "Audio", "Video",
"Development", "Education", "Game", "Graphics", "Network", "Office",
"Settings", "System", "Utility" instead
/usr/share/applications/vmware-console-uri-handler.desktop: warning: The
'Application' category is not defined by the desktop entry
specification. Please use one of "AudioVideo", "Audio", "Video",
"Development", "Education", "Game", "Graphics", "Network", "Office",
"Settings", "System", "Utility" instead
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.20-16-386/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.20-16-386/build/include/.. SUBDIRS=$PWD
SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-16-386'
CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config0/vmmon-only/linux/driver.c:80:
/tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: error:
expected declaration specifiers or '...' before 'compat_exit'
/tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: error:
expected declaration specifiers or '...' before 'exit_code'
/tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: warning:
type defaults to 'int' in declaration of '_syscall1'
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.20-16-386'
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.