Hallo,
nach meinen Recherchen in der Forum-Suche und bei Google habe ich zumindest herausgefunden, dass andere das Problem auch haben...
Wenn ich die
/usr/bin/vmware-config.pl
ausführe, erscheint bei mir immer folgendes:
http://www.linux-club.de/viewtopic.php?f=43&t=94947&p=571919&hilit=unable+to+build+the+vmmon+module#p571919
auf diese Anleitung
http://blog.sil53r-surf3r.de/archives/758-Kernel-2.6.24-und-FRITZ!WLAN-USB-Stick.html
gestoßen, allerdings verstehe ich sie nicht, da es im /usr - Verzeichnis keine ./defs.h gibt.
Was mich stutzig macht, ist die Frage
Falls jemand ahnung davon hat, wäre es sehr lieb, mir ein rpm aus der .tar.gz zu erstellen; den Link findet ihr hier:
http://www.very-clever.com/download/gnu/gcc/gcc-4.3.1/
Ansonsten: Alle Ideen sind willkommen
Tim
PS: Falls mir jemand erklärt, wie ich den langen Ausgabetext in nem Fenster mit scrollbalken darstelen kann, werde ich das natürlich noch ändern.
nach meinen Recherchen in der Forum-Suche und bei Google habe ich zumindest herausgefunden, dass andere das Problem auch haben...
Wenn ich die
/usr/bin/vmware-config.pl
ausführe, erscheint bei mir immer folgendes:
tim@Tim:/usr/bin> vmware-config.pl
Please re-run this program as the super user.
Execution aborted.
tim@Tim:/usr/bin> sudo vmware-config.pl
root's password:
Making sure services for VMware Server are stopped.
Stopping VMware services:
Virtual machine monitor done
Configuring fallback GTK+ 2.4 libraries.
In which directory do you want to install the mime type 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]
/usr/share/applications/vmware-server.desktop: warning: value "vmware-server.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path
/usr/share/applications/vmware-console-uri-handler.desktop: warning: value "vmware-server.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path
Trying to find a suitable vmmon module for your running kernel.
None of the pre-built vmmon modules for VMware Server 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
Server 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.11-0.1-pae/build/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
Building for VMware Server 1.0.0.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config3/vmmon-only'
make -C /lib/modules/2.6.25.11-0.1-pae/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.25.11-0.1-obj/i386/pae'
make -C /usr/src/linux-2.6.25.11-0.1 O=/usr/src/linux-2.6.25.11-0.1-obj/i386/pae/. modules
CC [M] /tmp/vmware-config3/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config3/vmmon-only/linux/driverLog.o
CC [M] /tmp/vmware-config3/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config3/vmmon-only/common/comport.o
CC [M] /tmp/vmware-config3/vmmon-only/common/cpuid.o
In Datei, eingefügt von /tmp/vmware-config3/vmmon-only/./include/vcpuset.h:74,
von /tmp/vmware-config3/vmmon-only/./include/modulecall.h:23,
von /tmp/vmware-config3/vmmon-only/common/vmx86.h:19,
von /tmp/vmware-config3/vmmon-only/common/hostif.h:18,
von /tmp/vmware-config3/vmmon-only/common/cpuid.c:15:
include2/asm/bitops.h:9:2: Fehler: #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.11-0.1/include/linux/bitops.h: In Funktion »get_bitmask_order«:
/usr/src/linux-2.6.25.11-0.1/include/linux/bitops.h:29: Fehler: Implizite Deklaration der Funktion »fls«
/usr/src/linux-2.6.25.11-0.1/include/linux/bitops.h: In Funktion »hweight_long«:
/usr/src/linux-2.6.25.11-0.1/include/linux/bitops.h:45: Fehler: Implizite Deklaration der Funktion »hweight32«
/usr/src/linux-2.6.25.11-0.1/include/linux/bitops.h:45: Fehler: Implizite Deklaration der Funktion »hweight64«
/usr/src/linux-2.6.25.11-0.1/include/linux/bitops.h: In Funktion »fls_long«:
/usr/src/linux-2.6.25.11-0.1/include/linux/bitops.h:112: Fehler: Implizite Deklaration der Funktion »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: Auf höchster Ebene:
include2/asm/bitops_32.h:134: Fehler: Statische Deklaration von »fls« folgt nicht-statischer Deklaration
/usr/src/linux-2.6.25.11-0.1/include/linux/bitops.h:29: Fehler: Vorherige implizite Deklaration von »fls« war hier
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.11-0.1/include/asm-generic/bitops/hweight.h:6: Fehler: In Konflikt stehende Typen für »hweight32«
/usr/src/linux-2.6.25.11-0.1/include/linux/bitops.h:45: Fehler: Vorherige implizite Deklaration von »hweight32« war hier
/usr/src/linux-2.6.25.11-0.1/include/asm-generic/bitops/hweight.h:9: Fehler: In Konflikt stehende Typen für »hweight64«
/usr/src/linux-2.6.25.11-0.1/include/linux/bitops.h:45: Fehler: Vorherige implizite Deklaration von »hweight64« war hier
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.11-0.1/include/asm-generic/bitops/fls64.h:6: Fehler: Statische Deklaration von »fls64« folgt nicht-statischer Deklaration
/usr/src/linux-2.6.25.11-0.1/include/linux/bitops.h:112: Fehler: Vorherige implizite Deklaration von »fls64« war hier
make[4]: *** [/tmp/vmware-config3/vmmon-only/common/cpuid.o] Fehler 1
make[3]: *** [_module_/tmp/vmware-config3/vmmon-only] Fehler 2
make[2]: *** [sub-make] Fehler 2
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.6.25.11-0.1-obj/i386/pae'
make: *** [vmmon.ko] Fehler 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
http://www.linux-club.de/viewtopic.php?f=43&t=94947&p=571919&hilit=unable+to+build+the+vmmon+module#p571919
auf diese Anleitung
http://blog.sil53r-surf3r.de/archives/758-Kernel-2.6.24-und-FRITZ!WLAN-USB-Stick.html
gestoßen, allerdings verstehe ich sie nicht, da es im /usr - Verzeichnis keine ./defs.h gibt.
Was mich stutzig macht, ist die Frage
Ich habe mir gcc v4.3.1 runtergeladen, allerdings ist der Inhalt des .tar.gz so kompliziert, dass ich mich darin nicht zurecht finde, und die Anleitung verstehe ich nicht :???: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
Server 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]
Falls jemand ahnung davon hat, wäre es sehr lieb, mir ein rpm aus der .tar.gz zu erstellen; den Link findet ihr hier:
http://www.very-clever.com/download/gnu/gcc/gcc-4.3.1/
Ansonsten: Alle Ideen sind willkommen
Tim
PS: Falls mir jemand erklärt, wie ich den langen Ausgabetext in nem Fenster mit scrollbalken darstelen kann, werde ich das natürlich noch ändern.