VMware Communities
sinatosk
Contributor
Contributor

Fedora 9: vmware-config.pl problem... kernel 2.6.25.3-18.fc9.i686

I attempted to install VMware Workstation 6.0.3 for Linux Version: 6.0.3 | 3/14/08 | Build: 80004

I downloaded and installed VMware workstation by just double clicking the rpm file I downloaded, entered my root password and then after the install... I did the "vmware-config.pl" in the terminal... this is what I got

-


Making sure services for VMware Workstation are stopped.

Stopping VMware services:

Virtual machine monitor

Configuring fallback GTK+ 2.4 libraries.

In which directory do you want to install the theme icons?

What directory contains your desktop menu entry files? These files have a

.desktop file extension.

In which directory do you want to install the application's icon?

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)?

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?

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.

make: Entering directory `/tmp/vmware-config3/vmmon-only'

make -C /lib/modules/2.6.25.3-18.fc9.i686/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules

make[1]: Entering directory `/usr/src/kernels/2.6.25.3-18.fc9.i686'

CC /tmp/vmware-config3/vmmon-only/linux/driver.o

CC /tmp/vmware-config3/vmmon-only/linux/hostif.o

CC /tmp/vmware-config3/vmmon-only/common/comport.o

CC /tmp/vmware-config3/vmmon-only/common/cpuid.o

In file included from /tmp/vmware-config3/vmmon-only/./include/vcpuset.h:74,

from /tmp/vmware-config3/vmmon-only/./include/modulecall.h:23,

from /tmp/vmware-config3/vmmon-only/common/vmx86.h:18,

from /tmp/vmware-config3/vmmon-only/common/hostif.h:18,

from /tmp/vmware-config3/vmmon-only/common/cpuid.c:14:

include/asm/bitops.h:9:2: error: #error only <linux/bitops.h> can be included directly

In file included from include/asm/cpufeature.h:118,

from include/asm/alternative.h:42,

from include/asm/bitops.h:13,

from /tmp/vmware-config3/vmmon-only/./include/vcpuset.h:74,

from /tmp/vmware-config3/vmmon-only/./include/modulecall.h:23,

from /tmp/vmware-config3/vmmon-only/common/vmx86.h:18,

from /tmp/vmware-config3/vmmon-only/common/hostif.h:18,

from /tmp/vmware-config3/vmmon-only/common/cpuid.c:14:

include/linux/bitops.h: In function ‘get_bitmask_order’:

include/linux/bitops.h:29: error: implicit declaration of function ‘fls’

include/linux/bitops.h: In function ‘hweight_long’:

include/linux/bitops.h:45: error: implicit declaration of function ‘hweight32’

include/linux/bitops.h:45: error: implicit declaration of function ‘hweight64’

include/linux/bitops.h: In function ‘fls_long’:

include/linux/bitops.h:112: error: implicit declaration of function ‘fls64’

In file included from include/asm/bitops.h:316,

from /tmp/vmware-config3/vmmon-only/./include/vcpuset.h:74,

from /tmp/vmware-config3/vmmon-only/./include/modulecall.h:23,

from /tmp/vmware-config3/vmmon-only/common/vmx86.h:18,

from /tmp/vmware-config3/vmmon-only/common/hostif.h:18,

from /tmp/vmware-config3/vmmon-only/common/cpuid.c:14:

include/asm/bitops_32.h: At top level:

include/asm/bitops_32.h:134: error: static declaration of ‘fls’ follows non-static declaration

include/linux/bitops.h:29: error: previous implicit declaration of ‘fls’ was here

In file included from include/asm/bitops_32.h:145,

from include/asm/bitops.h:316,

from /tmp/vmware-config3/vmmon-only/./include/vcpuset.h:74,

from /tmp/vmware-config3/vmmon-only/./include/modulecall.h:23,

from /tmp/vmware-config3/vmmon-only/common/vmx86.h:18,

from /tmp/vmware-config3/vmmon-only/common/hostif.h:18,

from /tmp/vmware-config3/vmmon-only/common/cpuid.c:14:

include/asm-generic/bitops/hweight.h:6: error: conflicting types for ‘hweight32’

include/linux/bitops.h:45: error: previous implicit declaration of ‘hweight32’ was here

include/asm-generic/bitops/hweight.h:9: error: conflicting types for ‘hweight64’

include/linux/bitops.h:45: error: previous implicit declaration of ‘hweight64’ was here

In file included from include/asm/bitops_32.h:149,

from include/asm/bitops.h:316,

from /tmp/vmware-config3/vmmon-only/./include/vcpuset.h:74,

from /tmp/vmware-config3/vmmon-only/./include/modulecall.h:23,

from /tmp/vmware-config3/vmmon-only/common/vmx86.h:18,

from /tmp/vmware-config3/vmmon-only/common/hostif.h:18,

from /tmp/vmware-config3/vmmon-only/common/cpuid.c:14:

include/asm-generic/bitops/fls64.h:6: error: static declaration of ‘fls64’ follows non-static declaration

include/linux/bitops.h:112: error: previous implicit declaration of ‘fls64’ was here

make[2]: *** Error 1

make[1]: *** Error 2

make[1]: Leaving directory `/usr/src/kernels/2.6.25.3-18.fc9.i686'

make: *** http://vmmon.ko Error 2

make: Leaving directory `/tmp/vmware-config3/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.

-


any suggestions or is this just another incompatibility due to kernel changes?

Thanks

0 Kudos
1 Reply
linuxander
Contributor
Contributor

Steps to resolve this

1. run this command from root prompt # wget

2. untar the downloaded file #tar zxvf vmware-any-any-update117.tar.gz

3. #cd vmware-any-any-update117

4.run the perl script #./runme.pl

5.once it patches the vmware scripts it will invoke

/usr/bin/vmware-config.pl

0 Kudos