Hi, I am trying to install VMWare Workstation 6.0.4 (the latest version as far as I know) into Suse 11.0. When running /usr/bin/vmware-config.pl it tries to build the necessary modules. Everything seems to go fine except for the vmmon module.
This is what I get:
Trying to find a suitable vmmon module for your running kernel. None of the pre-built vmmon modules for VMware Workstation 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. Your kernel was built with "gcc" version "4.3.1", while you are trying to use "/usr/bin/gcc" version "4.3". This configuration is not recommended and VMware Workstation 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.3" anyway? [no] yes What is the location of the directory of C header files that match your running kernel? [/lib/modules/184.108.40.206-default/build/include] Extracting the sources of the vmmon module. Building the vmmon module. Unknown VMware Workstation 6.0.4 build 93057 detected. Building for Workstation 6.0.0. Using 2.6.x kernel build system. make: Entering directory `/tmp/vmware-config20/vmmon-only' make -C /lib/modules/220.127.116.11-default/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make: Entering directory `/usr/src/packages/BUILD/kernel-18.104.22.168default' CC [M] /tmp/vmware-config20/vmmon-only/linux/driver.o /tmp/vmware-config20/vmmon-only/linux/driver.c:171: error: unknown field ‘nopage’ specified in initializer /tmp/vmware-config20/vmmon-only/linux/driver.c:172: warning: initialization from incompatible pointer type /tmp/vmware-config20/vmmon-only/linux/driver.c:175: error: unknown field ‘nopage’ specified in initializer /tmp/vmware-config20/vmmon-only/linux/driver.c:176: warning: initialization from incompatible pointer type make: *** [/tmp/vmware-config20/vmmon-only/linux/driver.o] Error 1 make: *** [_module_/tmp/vmware-config20/vmmon-only] Error 2 make: Leaving directory `/usr/src/packages/BUILD/kernel-22.214.171.124default' make: *** [vmmon.ko] Error 2 make: Leaving directory `/tmp/vmware-config20/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.
I have these packages installed:
gcc gcc-c++ binutils binutils-devel linux-kernel-headers kernel-source make
i’ve just update to a new kernel
Output of uname -r:
I ran those commands as suggested and got…
rpm -qa|grep kernel:
kernel-syms-126.96.36.199-0.1 linux-kernel-headers-2.6.25-8.1 kernel-188.8.131.52default-1 kernel-default-184.108.40.206-0.1 kernel-source-220.127.116.11-0.1
Has anyone else had this problem or know how to fix it? I’m stuck!!