The following are the output of vmware-config.pl.
/usr/bin/vmware-config.pl
Making sure services for VMware Server are stopped.
Stopping VMware autostart virtual machines:
Virtual machines failed
Stopping VMware management services:
VMware Virtual Infrastructure Web Access
VMware Server Host Agent failed
Stopping VMware services:
VMware Authentication Daemon done
Virtual machine monitor done
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] yes
Using compiler “/usr/bin/gcc”. Use environment variable CC to override.
Your kernel was built with “gcc” version “4.5.1”, while you are trying to use
“/usr/bin/gcc” version “4.5”. This configuration is not recommended and VMware
Server may crash if you’ll continue. Please try to use exactly same compiler as
one used for building your kernel. Do you want to go with compiler
“/usr/bin/gcc” version “4.5” anyway? [no] yexs
The answer “yexs” is invalid. It must be one of “y” or “n”.
Your kernel was built with “gcc” version “4.5.1”, while you are trying to use
“/usr/bin/gcc” version “4.5”. This configuration is not recommended and VMware
Server may crash if you’ll continue. Please try to use exactly same compiler as
one used for building your kernel. Do you want to go with compiler
“/usr/bin/gcc” version “4.5” anyway? [no] yes
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
your running kernel (version 2.6.37.1-1.2-desktop). Even if the module were to
compile successfully, it would not load into the running kernel.
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
your running kernel (version 2.6.37.1-1.2-desktop). Even if the module were to
compile successfully, it would not load into the running kernel.
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
rpm -qa|grep kernel
kernel-devel-2.6.37.1-1.2.2.noarch
kernel-desktop-2.6.37.1-1.2.2.x86_64
kernel-source-2.6.37.1-1.2.2.noarch
kernel-firmware-2.6.38-1.2.1.noarch
kernel-desktop-devel-2.6.37.1-1.2.2.x86_64
uname -a
Linux linux-6q18 2.6.37.1-1.2-desktop #1 SMP PREEMPT 2011-02-21 10:34:10 +0100 x86_64 x86_64 x86_64 GNU/Linux
ls -l /usr/src/
total 16
lrwxrwxrwx 1 root root 18 Apr 1 14:20 linux -> linux-2.6.37.1-1.2
drwxr-xr-x 24 root root 4096 Apr 5 14:09 linux-2.6.37.1-1.2
drwxr-xr-x 3 root root 4096 Apr 1 14:20 linux-2.6.37.1-1.2-obj
drwxr-xr-x 3 root root 4096 Apr 1 14:20 linux-obj
drwxr-xr-x 8 root root 4096 Apr 1 12:46 packages
I installed OpenSuse 11.4 64 bit in my machine
the installed kernel is 2.6.37.1-1.2-desktop. But the kernel source from /usr/src/ says linux-2.6.37.1-1.2 version. The vmware-config.pl shows the error of kernel version mismatch.
Can you help to fix this problem?
Thanks in Advance.