Hi, I’ve just installed Opensuse 11 and I am unable to load vmware.
I had dont it in the past on suse 10.3 but I’m not sure whats going wrong…
I have gcc, gcc-c++, binutils, make and kernal-source packaged installed.
Installed VMware rpm.
Got any-any-115 update.
Check the output below…
linux-053v2:/home/j/Desktop/vmware-any-any-update115 # ./runme.pl
Updating /usr/bin/vmware … No patch needed/available
Updating /usr/bin/vmnet-bridge … No patch needed/available
Updating /usr/lib/vmware/bin/vmware-vmx … No patch needed/available
Updating /usr/lib/vmware/bin-debug/vmware-vmx … No patch needed/available
VMware modules in “/usr/lib/vmware/modules/source” has been updated.
Before running VMware for the first time after update, you need to configure it
for your running kernel by invoking the following command:
“/usr/bin/vmware-config.pl”. Do you want this script to invoke the command for
you now? [yes]
y
Making sure services for VMware Workstation are stopped.
Stopping VMware services:
Virtual machine monitor done
Configuring fallback GTK+ 2.4 libraries.
In which directory do you want to install the theme icons?
[/usr/share/icons]
The path “y” is a relative path. Please enter an absolute path.
In which directory do you want to install the theme 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]
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] y
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.25.5-1.1-pae/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-config1/vmmon-only' make -C /lib/modules/2.6.25.5-1.1-pae/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory
/usr/src/linux-2.6.25.5-1.1-obj/i386/pae’
make -C /usr/src/linux-2.6.25.5-1.1 O=/usr/src/linux-2.6.25.5-1.1-obj/i386/pae/. modules
CC [M] /tmp/vmware-config1/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config1/vmmon-only/linux/driverLog.o
CC [M] /tmp/vmware-config1/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config1/vmmon-only/common/comport.o
CC [M] /tmp/vmware-config1/vmmon-only/common/cpuid.o
In file included from /tmp/vmware-config1/vmmon-only/./include/vcpuset.h:74,
from /tmp/vmware-config1/vmmon-only/./include/modulecall.h:23,
from /tmp/vmware-config1/vmmon-only/common/vmx86.h:19,
from /tmp/vmware-config1/vmmon-only/common/hostif.h:18,
from /tmp/vmware-config1/vmmon-only/common/cpuid.c:15:
include2/asm/bitops.h:9:2: error: #error only <linux/bitops.h> can be included directly
In file included from include2/asm/cpufeature.h:118,
from include2/asm/alternative.h:42,
from include2/asm/bitops.h:13,
from /tmp/vmware-config1/vmmon-only/./include/vcpuset.h:74,
from /tmp/vmware-config1/vmmon-only/./include/modulecall.h:23,
from /tmp/vmware-config1/vmmon-only/common/vmx86.h:19,
from /tmp/vmware-config1/vmmon-only/common/hostif.h:18,
from /tmp/vmware-config1/vmmon-only/common/cpuid.c:15:
/usr/src/linux-2.6.25.5-1.1/include/linux/bitops.h: In function ‘get_bitmask_order’:
/usr/src/linux-2.6.25.5-1.1/include/linux/bitops.h:29: error: implicit declaration of function ‘fls’
/usr/src/linux-2.6.25.5-1.1/include/linux/bitops.h: In function ‘hweight_long’:
/usr/src/linux-2.6.25.5-1.1/include/linux/bitops.h:45: error: implicit declaration of function ‘hweight32’
/usr/src/linux-2.6.25.5-1.1/include/linux/bitops.h:45: error: implicit declaration of function ‘hweight64’
/usr/src/linux-2.6.25.5-1.1/include/linux/bitops.h: In function ‘fls_long’:
/usr/src/linux-2.6.25.5-1.1/include/linux/bitops.h:112: error: implicit declaration of function ‘fls64’
In file included from include2/asm/bitops.h:316,
from /tmp/vmware-config1/vmmon-only/./include/vcpuset.h:74,
from /tmp/vmware-config1/vmmon-only/./include/modulecall.h:23,
from /tmp/vmware-config1/vmmon-only/common/vmx86.h:19,
from /tmp/vmware-config1/vmmon-only/common/hostif.h:18,
from /tmp/vmware-config1/vmmon-only/common/cpuid.c:15:
include2/asm/bitops_32.h: At top level:
include2/asm/bitops_32.h:134: error: static declaration of ‘fls’ follows non-static declaration
/usr/src/linux-2.6.25.5-1.1/include/linux/bitops.h:29: error: previous implicit declaration of ‘fls’ was here
In file included from include2/asm/bitops_32.h:145,
from include2/asm/bitops.h:316,
from /tmp/vmware-config1/vmmon-only/./include/vcpuset.h:74,
from /tmp/vmware-config1/vmmon-only/./include/modulecall.h:23,
from /tmp/vmware-config1/vmmon-only/common/vmx86.h:19,
from /tmp/vmware-config1/vmmon-only/common/hostif.h:18,
from /tmp/vmware-config1/vmmon-only/common/cpuid.c:15:
/usr/src/linux-2.6.25.5-1.1/include/asm-generic/bitops/hweight.h:6: error: conflicting types for ‘hweight32’
/usr/src/linux-2.6.25.5-1.1/include/linux/bitops.h:45: error: previous implicit declaration of ‘hweight32’ was here
/usr/src/linux-2.6.25.5-1.1/include/asm-generic/bitops/hweight.h:9: error: conflicting types for ‘hweight64’
/usr/src/linux-2.6.25.5-1.1/include/linux/bitops.h:45: error: previous implicit declaration of ‘hweight64’ was here
In file included from include2/asm/bitops_32.h:149,
from include2/asm/bitops.h:316,
from /tmp/vmware-config1/vmmon-only/./include/vcpuset.h:74,
from /tmp/vmware-config1/vmmon-only/./include/modulecall.h:23,
from /tmp/vmware-config1/vmmon-only/common/vmx86.h:19,
from /tmp/vmware-config1/vmmon-only/common/hostif.h:18,
from /tmp/vmware-config1/vmmon-only/common/cpuid.c:15:
/usr/src/linux-2.6.25.5-1.1/include/asm-generic/bitops/fls64.h:6: error: static declaration of ‘fls64’ follows non-static declaration
/usr/src/linux-2.6.25.5-1.1/include/linux/bitops.h:112: error: previous implicit declaration of ‘fls64’ was here
make[4]: *** [/tmp/vmware-config1/vmmon-only/common/cpuid.o] Error 1
make[3]: *** [module/tmp/vmware-config1/vmmon-only] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory /usr/src/linux-2.6.25.5-1.1-obj/i386/pae' 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.
I am not sure how to go about fixing this. Looking forward to your reply.
Many thanks.