VMware Communities
prochiro7
Contributor
Contributor

can't install vmware 6.0.4 on suse 11.0

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-config3/vmmon-only'

make -C /lib/modules/2.6.25.9-0.2-pae/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules

make[1]: Entering directory `/usr/src/linux-2.6.25.9-0.2-obj/i386/pae'

make -C /usr/src/linux-2.6.25.9-0.2 O=/usr/src/linux-2.6.25.9-0.2-obj/i386/pae/. modules

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

CC /tmp/vmware-config3/vmmon-only/linux/driverLog.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:19,

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

from /tmp/vmware-config3/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-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:19,

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

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

/usr/src/linux-2.6.25.9-0.2/include/linux/bitops.h: In function ‘get_bitmask_order’:

/usr/src/linux-2.6.25.9-0.2/include/linux/bitops.h:29: error: implicit declaration of function ‘fls’

/usr/src/linux-2.6.25.9-0.2/include/linux/bitops.h: In function ‘hweight_long’:

/usr/src/linux-2.6.25.9-0.2/include/linux/bitops.h:45: error: implicit declaration of function ‘hweight32’

/usr/src/linux-2.6.25.9-0.2/include/linux/bitops.h:45: error: implicit declaration of function ‘hweight64’

/usr/src/linux-2.6.25.9-0.2/include/linux/bitops.h: In function ‘fls_long’:

/usr/src/linux-2.6.25.9-0.2/include/linux/bitops.h:112: error: implicit declaration of function ‘fls64’

In file included from include2/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:19,

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

from /tmp/vmware-config3/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.9-0.2/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-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:19,

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

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

/usr/src/linux-2.6.25.9-0.2/include/asm-generic/bitops/hweight.h:6: error: conflicting types for ‘hweight32’

/usr/src/linux-2.6.25.9-0.2/include/linux/bitops.h:45: error: previous implicit declaration of ‘hweight32’ was here

/usr/src/linux-2.6.25.9-0.2/include/asm-generic/bitops/hweight.h:9: error: conflicting types for ‘hweight64’

/usr/src/linux-2.6.25.9-0.2/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-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:19,

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

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

/usr/src/linux-2.6.25.9-0.2/include/asm-generic/bitops/fls64.h:6: error: static declaration of ‘fls64’ follows non-static declaration

/usr/src/linux-2.6.25.9-0.2/include/linux/bitops.h:112: error: previous implicit declaration of ‘fls64’ was here

make[4]: *** Error 1

make[3]: *** Error 2

make[2]: *** Error 2

make[1]: *** Error 2

make[1]: Leaving directory `/usr/src/linux-2.6.25.9-0.2-obj/i386/pae'

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.

-


This is after updatiing Suse 11.0 with yast and using Vmware 6.0.4 and

vmware-any-any-update115.tar.gz

-


any ideas ? or should I go to Ubuntu 8.0 ??

Thanks for your support !

0 Kudos
1 Reply
kenjennings
Contributor
Contributor

I had similar problems. the RPM install seemed to go alright, but nothing in vmware-config.pl would build.

I uninstalled the C compiler, and reinstalled it, and then retried installing the RPM. Things got a bit farther this time, but vmblock still wouldn't build.

FYI: Linux m90 2.6.25.5-1.1-default #1 SMP 2008-06-07 01:55:22 +0200 x86_64 x86_64 x86_64 GNU/Linux

m90:~ # rpm -Uvh VMware-workstation-6.0.4-93057.x86_64.rpm

Preparing... ###########################################

1:VMwareWorkstation ###########################################

m90:~ # vmware-config.pl

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?

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.

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

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-config2/vmmon-only'

make -C /lib/modules/2.6.25.5-1.1-default/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules

make[1]: Entering directory `/usr/src/linux-2.6.25.5-1.1-obj/x86_64/default'

make -C /usr/src/linux-2.6.25.5-1.1 O=/usr/src/linux-2.6.25.5-1.1-obj/x86_64/default/. modules

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

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

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

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

CC /tmp/vmware-config2/vmmon-only/common/hash.o

CC /tmp/vmware-config2/vmmon-only/common/memtrack.o

CC /tmp/vmware-config2/vmmon-only/common/phystrack.o

CC /tmp/vmware-config2/vmmon-only/common/task.o

CC /tmp/vmware-config2/vmmon-only/common/vmciContext.o

CC /tmp/vmware-config2/vmmon-only/common/vmciDatagram.o

CC /tmp/vmware-config2/vmmon-only/common/vmciDriver.o

CC /tmp/vmware-config2/vmmon-only/common/vmciDs.o

CC /tmp/vmware-config2/vmmon-only/common/vmciGroup.o

CC /tmp/vmware-config2/vmmon-only/common/vmciHashtable.o

CC /tmp/vmware-config2/vmmon-only/common/vmciProcess.o

CC /tmp/vmware-config2/vmmon-only/common/vmciResource.o

CC /tmp/vmware-config2/vmmon-only/common/vmciSharedMem.o

CC /tmp/vmware-config2/vmmon-only/common/vmx86.o

CC /tmp/vmware-config2/vmmon-only/vmcore/moduleloop.o

LD /tmp/vmware-config2/vmmon-only/vmmon.o

Building modules, stage 2.

MODPOST 1 modules

CC /tmp/vmware-config2/vmmon-only/vmmon.mod.o

LD /tmp/vmware-config2/vmmon-only/vmmon.ko

make[1]: Leaving directory `/usr/src/linux-2.6.25.5-1.1-obj/x86_64/default'

cp -f vmmon.ko ./../vmmon.o

make: Leaving directory `/tmp/vmware-config2/vmmon-only'

The module loads perfectly in the running kernel.

/dev is dynamic:

Trying to find a suitable vmblock module for your running kernel.

None of the pre-built vmblock modules for VMware Workstation is suitable for

your running kernel. Do you want this program to try to build the vmblock

module for your system (you need to have a C compiler installed on your

system)?

Extracting the sources of the vmblock module.

Building the vmblock module.

Using 2.6.x kernel build system.

make: Entering directory `/tmp/vmware-config2/vmblock-only'

make -C /lib/modules/2.6.25.5-1.1-default/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules

make[1]: Entering directory `/usr/src/linux-2.6.25.5-1.1-obj/x86_64/default'

make -C /usr/src/linux-2.6.25.5-1.1 O=/usr/src/linux-2.6.25.5-1.1-obj/x86_64/default/. modules

CC /tmp/vmware-config2/vmblock-only/linux/block.o

CC /tmp/vmware-config2/vmblock-only/linux/control.o

CC /tmp/vmware-config2/vmblock-only/linux/dbllnklst.o

CC /tmp/vmware-config2/vmblock-only/linux/dentry.o

/tmp/vmware-config2/vmblock-only/linux/dentry.c: In function ‘DentryOpRevalidate’:

/tmp/vmware-config2/vmblock-only/linux/dentry.c:101: error: ‘struct nameidata’ has no member named ‘dentry’

/tmp/vmware-config2/vmblock-only/linux/dentry.c:101: error: ‘struct nameidata’ has no member named ‘dentry’

/tmp/vmware-config2/vmblock-only/linux/dentry.c:102: error: implicit declaration of function ‘path_release’

*make[4]: *** Error 1*

*make[3]: *** module/tmp/vmware-config2/vmblock-only Error 2*

make[2]: *** Error 2

make[1]: *** Error 2

make[1]: Leaving directory `/usr/src/linux-2.6.25.5-1.1-obj/x86_64/default'

make: *** Error 2

make: Leaving directory `/tmp/vmware-config2/vmblock-only'

Unable to build the vmblock module.

The vmblock module enables dragging or copying files from within a guest and

dropping or pasting them onto your host (guest to host drag and drop and file

copy/paste). The rest of the software provided by VMware Workstation is

designed to work independently of this feature (including host to guest drag

and drop and file copy/paste).

If you would like the guest to host drag and drop and file copy/paste features,

you can install the driver by running vmware-config.pl again after making sure

that gcc, binutils, make and the kernel sources for your running kernel are

installed on your machine. These packages are available on your distribution's

installation CD.

/dev is dynamic:

Do you want networking for your virtual machines? (yes/no/help)

Configuring a bridged network for vmnet0.

Your computer has multiple ethernet network interfaces available: eth0, pan0,

wlan0. Which one do you want to bridge to vmnet0? wlan0

blah, blah, etc, etc, etc everything appears successful after this.

What gets me is the complaint about the compiler. The script seems to think the compiler is the wrong version.: 4.3 instead of 4.3.1, but

m90:~ # which gcc

/usr/bin/gcc

m90:~ # gcc --version

gcc (SUSE Linux) 4.3.1 20080507 (prerelease)

Copyright (C) 2008 Free Software Foundation, Inc.

This is free software; see the source for copying conditions. There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

gcc seems to think it is 4.3.1

Tis a puzzlement.

0 Kudos