• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[gelöst] VmWare 6.01 läuft nicht unter OpenSuse 11.0

Yogibär

Member
Hallo, Installation der Vmware klappte problemlos. Beim Konfigurieren mittels /usr/bin/vmware-config.pl komme ich bis hierher:


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]

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]

Wird jetzt mit no geantwortet, bricht die Installation natürlich ab. Bei yes geht es immerhin ein kleines Stück weiter:


What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.25.5-1.1-default/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/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 [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config0/vmmon-only/./include/vmware.h:25,
from /tmp/vmware-config0/vmmon-only/linux/driver.c:83:
/tmp/vmware-config0/vmmon-only/./include/vm_basic_types.h:168: error: redefinition of typedef ‘uintptr_t’
/usr/src/linux-2.6.25.5-1.1/include/linux/types.h:40: error: previous declaration of ‘uintptr_t’ was here
In file included from /tmp/vmware-config0/vmmon-only/./include/x86.h:23,
from /tmp/vmware-config0/vmmon-only/linux/driver.h:15,
from /tmp/vmware-config0/vmmon-only/linux/driver.c:84:
/tmp/vmware-config0/vmmon-only/./include/x86cpuid.h:383:1: warning: "BIT_MASK" redefined
In file included from /usr/src/linux-2.6.25.5-1.1/include/linux/kernel.h:15,
from /tmp/vmware-config0/vmmon-only/linux/driver.c:11:
/usr/src/linux-2.6.25.5-1.1/include/linux/bitops.h:7:1: warning: this is the location of the previous definition
In file included from /tmp/vmware-config0/vmmon-only/./include/vmci_kernel_defs.h:26,
from /tmp/vmware-config0/vmmon-only/./common/vmciContext.h:19,
from /tmp/vmware-config0/vmmon-only/linux/driver.h:21,
from /tmp/vmware-config0/vmmon-only/linux/driver.c:84:
/tmp/vmware-config0/vmmon-only/./include/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined
/tmp/vmware-config0/vmmon-only/./include/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined
In file included from /tmp/vmware-config0/vmmon-only/./include/vmci_kernel_defs.h:26,
from /tmp/vmware-config0/vmmon-only/./common/vmciContext.h:19,
from /tmp/vmware-config0/vmmon-only/linux/driver.h:21,
from /tmp/vmware-config0/vmmon-only/linux/driver.c:84:
/tmp/vmware-config0/vmmon-only/./include/compat_wait.h:60: error: conflicting types for ‘poll_initwait’
/usr/src/linux-2.6.25.5-1.1/include/linux/poll.h:65: error: previous declaration of ‘poll_initwait’ was here
/tmp/vmware-config0/vmmon-only/linux/driver.c:198: warning: initialization from incompatible pointer type
make[4]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] Error 1
make[3]: *** [_module_/tmp/vmware-config0/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/x86_64/default'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config0/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.

Was kann man machen, damit die Installation korrekt abläuft?
Vielleicht konnte jemand das Problem lösen?
Übrigens - mit der aktuellen Vmware 6.03 gehts auch nicht. Habe keine aktuellere Version gefunden.
Gruß Yogibär
 

towo

Moderator
Teammitglied
Das wird wohl auch ohne any-any-patch nix werden.

http://groups.google.com/group/vmkernelnewbies/files

Such dir einen aus, ich würde den neuseten nehmen.
 
OP
Yogibär

Yogibär

Member
Die vielen Google-Treffer sind zwar schön und gut, lösen aber nicht wirklich das Poblem. Wenn ich bei Google fündig geworden wäre, hätte ich hier die Anfrage bestimmt nicht gestartet. :(
Aber vielleicht sollte ich erstmal in meiner Signatur aufnehmen: "Habe gegoogelt, aber nicht das richtige gefunden" :)
Danke für den Tipp mit dem anyany-Patch. Der leider gleiche Fehlermeldungen ausspuckt.
Habe nun die Virtualbox installiert, nur schade mit VmWare, habe damals dafür viel Geld ausgegeben.
Gruß Yogbär
 
A

Anonymous

Gast
Yogibär schrieb:
Die vielen Google-Treffer sind zwar schön und gut, lösen aber nicht wirklich das Poblem.

Schon der erste Treffer

http://blog.sil53r-surf3r.de/archives/758-Kernel-2.6.24-und-FRITZ!WLAN-USB-Stick.html

beschreibt die Vorgehensweise ausführlich.

Man muss es nur auf die jeweiligen Dateinamen/Zeilennummern anpassen.

Dann sind die Fehler "error: redefinition of typedef ‘uintptr_t’" 100%ig weg (ich habe selbst einige Male einen Patch für diverse RPMs schreiben müssen um exakt dieses Problem für neuere Kernelversionen "auszubügeln").
 
OP
Yogibär

Yogibär

Member
stefan.becker schrieb:
Versuch erstmal die neueste Version (6.04 meines Wissens nach). Aber ohne Patch direkt so.

Das ist es,danke (hätte ich vielleicht auch selbst darauf kommen können)!

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]


Wird hier mit yes geantwortet, schließt die Konfiguration nach Beantwortung diverser Fragen ohne Fehlermeldung ab und die VmWare kann in Betrieb genommen werden.
Danke für Eure Tipps.
OpenSuSE 10.3 kann jetzt endgültig in Rente gehen. :D
Gruß Yogibär
 
Oben