Kompilieren von Vmnet schlägt fehl
Hallo, ich habe bei mir Opensuse 10.2 installiert - mit allen derzeitig verfügbaren Updates. Seither habe ich auf meinem Linux immer VMWARE Server laufen lassen, plane jedoch nach einer Test-Phase auf XEN umzusteigen. Daher läuft mein System jetzt mit Kernel 2.6.18.8-0.1-xen. Das erzeugen eines Moduls für meinen Areca-Raid-Controller ist mir gelungen. Leider gelingt mir nicht, die VMWare-Server module über vmware-config.pl zu erzeugen: Auch ein Patch 'vmware-any-any-update108' hat leider nicht geholfen. Müßte ich eine andere Lokation für die C-Header Files angeben?? Thx.... **************** Ausgabe von vmware-config.pl *************************** What is the location of the directory of C header files that match your running kernel? [/lib/modules/2.6.18.8-0.1-xen/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-config4/vmmon-only' make -C /lib/modules/2.6.18.8-0.1-xen/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-2.6.18.8-0.1-obj/x86_64/xen' make -C /usr/src/linux-2.6.18.8-0.1 O=/usr/src/linux-2.6.18.8-0.1-obj/x86_64/xen modules CC [M] /tmp/vmware-config4/vmmon-only/linux/driver.o CC [M] /tmp/vmware-config4/vmmon-only/linux/hostif.o /tmp/vmware-config4/vmmon-only/linux/hostif.c: In function ‘HostIF_APICBase’: /tmp/vmware-config4/vmmon-only/linux/hostif.c:2488: error: ‘FIX_APIC_BASE’ undeclared (first use in this function) /tmp/vmware-config4/vmmon-only/linux/hostif.c:2488: error: (Each undeclared identifier is reported only once /tmp/vmware-config4/vmmon-only/linux/hostif.c:2488: error: for each function it appears in.) /tmp/vmware-config4/vmmon-only/linux/hostif.c: In function ‘HostIF_APIC_ID’: /tmp/vmware-config4/vmmon-only/linux/hostif.c:2540: error: ‘FIX_APIC_BASE’ undeclared (first use in this function) In file included from /tmp/vmware-config4/vmmon-only/linux/hostif.c:3608: /tmp/vmware-config4/vmmon-only/linux/hostif_compat.h: In function ‘HostIF_IOAPICBaseV45’: /tmp/vmware-config4/vmmon-only/linux/hostif_compat.h:466: error: ‘FIX_IO_APIC_BASE’ undeclared (first use in this function) make[4]: *** [/tmp/vmware-config4/vmmon-only/linux/hostif.o] Error 1 make[3]: *** [_module_/tmp/vmware-config4/vmmon-only] Error 2 make[2]: *** [modules] Error 2 make[1]: *** [modules] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.18.8-0.1-obj/x86_64/xen' make: *** [vmmon.ko] Error 2 make: Leaving directory `/tmp/vmware-config4/vmmon-only' Unable to build the vmmon module. -- Um die Liste abzubestellen, schicken Sie eine Mail an: opensuse-de+unsubscribe@opensuse.org Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken Sie eine Mail an: opensuse-de+help@opensuse.org
Charlie Blank schrieb:
Hallo,
ich habe bei mir Opensuse 10.2 installiert - mit allen derzeitig verfügbaren Updates. Seither habe ich auf meinem Linux immer VMWARE Server laufen lassen, plane jedoch nach einer Test-Phase auf XEN umzusteigen. Daher läuft mein System jetzt mit Kernel 2.6.18.8-0.1-xen. Das erzeugen eines Moduls für meinen Areca-Raid-Controller ist mir gelungen. Leider gelingt mir nicht, die VMWare-Server module über vmware-config.pl zu erzeugen:
Auch ein Patch 'vmware-any-any-update108' hat leider nicht geholfen. Müßte ich eine andere Lokation für die C-Header Files angeben??
Thx....
**************** Ausgabe von vmware-config.pl *************************** What is the location of the directory of C header files that match your running kernel? [/lib/modules/2.6.18.8-0.1-xen/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-config4/vmmon-only' make -C /lib/modules/2.6.18.8-0.1-xen/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-2.6.18.8-0.1-obj/x86_64/xen' make -C /usr/src/linux-2.6.18.8-0.1 O=/usr/src/linux-2.6.18.8-0.1-obj/x86_64/xen modules CC [M] /tmp/vmware-config4/vmmon-only/linux/driver.o CC [M] /tmp/vmware-config4/vmmon-only/linux/hostif.o /tmp/vmware-config4/vmmon-only/linux/hostif.c: In function ‘HostIF_APICBase’: /tmp/vmware-config4/vmmon-only/linux/hostif.c:2488: error: ‘FIX_APIC_BASE’ undeclared (first use in this function) /tmp/vmware-config4/vmmon-only/linux/hostif.c:2488: error: (Each undeclared identifier is reported only once /tmp/vmware-config4/vmmon-only/linux/hostif.c:2488: error: for each function it appears in.) /tmp/vmware-config4/vmmon-only/linux/hostif.c: In function ‘HostIF_APIC_ID’: /tmp/vmware-config4/vmmon-only/linux/hostif.c:2540: error: ‘FIX_APIC_BASE’ undeclared (first use in this function) In file included from /tmp/vmware-config4/vmmon-only/linux/hostif.c:3608: /tmp/vmware-config4/vmmon-only/linux/hostif_compat.h: In function ‘HostIF_IOAPICBaseV45’: /tmp/vmware-config4/vmmon-only/linux/hostif_compat.h:466: error: ‘FIX_IO_APIC_BASE’ undeclared (first use in this function) make[4]: *** [/tmp/vmware-config4/vmmon-only/linux/hostif.o] Error 1 make[3]: *** [_module_/tmp/vmware-config4/vmmon-only] Error 2 make[2]: *** [modules] Error 2 make[1]: *** [modules] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.18.8-0.1-obj/x86_64/xen' make: *** [vmmon.ko] Error 2 make: Leaving directory `/tmp/vmware-config4/vmmon-only' Unable to build the vmmon module.
Der Ausgabe nach hast Du VMware-Server 1.0.0 installiert. Zitat aus VMware Server Release Notes 1.0.2: Kernel modules now build on 2.6.18 kernels. Versuchs doch mal mit diesem Release, bei mir läufts, allerdings ohne XEN. Walter -- Um die Liste abzubestellen, schicken Sie eine Mail an: opensuse-de+unsubscribe@opensuse.org Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken Sie eine Mail an: opensuse-de+help@opensuse.org
On Monday 09 April 2007 11:47, Walter Stengel wrote:
Charlie Blank schrieb:
ich habe bei mir Opensuse 10.2 installiert - mit allen derzeitig verfügbaren Updates. Seither habe ich auf meinem Linux immer VMWARE Server laufen lassen, plane jedoch nach einer Test-Phase auf XEN umzusteigen. Daher läuft mein System jetzt mit Kernel 2.6.18.8-0.1-xen. **************** Ausgabe von vmware-config.pl *************************** What is the location of the directory of C header files that match your running kernel? [/lib/modules/2.6.18.8-0.1-xen/build/include]
Hier habe ich bereits mit unterschiedlichen Verzeichnissen 'rumgespielt' (mangels genauerem Wissen :-( ) - /usr/src/linux-obj/x86_64/xen/include --- hilft auch nicht...
Building the vmmon module.
Building for VMware Server 1.0.0.
Der Ausgabe nach hast Du VMware-Server 1.0.0 installiert.
das kam wohl vom vmware-any-any patch. Es ist die Version 1.0.2 installiert. Compile auf dem -default-Kernel funktioniert. Nur nicht in der -xen Variante
Using 2.6.x kernel build system. make: Entering directory `/tmp/vmware-config4/vmmon-only' make -C /lib/modules/2.6.18.8-0.1-xen/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-2.6.18.8-0.1-obj/x86_64/xen' make -C /usr/src/linux-2.6.18.8-0.1 O=/usr/src/linux-2.6.18.8-0.1-obj/x86_64/xen modules CC [M] /tmp/vmware-config4/vmmon-only/linux/driver.o CC [M] /tmp/vmware-config4/vmmon-only/linux/hostif.o /tmp/vmware-config4/vmmon-only/linux/hostif.c: In function ‘HostIF_APICBase’: /tmp/vmware-config4/vmmon-only/linux/hostif.c:2488: error: ‘FIX_APIC_BASE’ undeclared (first use in this function) /tmp/vmware-config4/vmmon-only/linux/hostif.c:2488: error: (Each undeclared identifier is reported only once /tmp/vmware-config4/vmmon-only/linux/hostif.c:2488: error: for each function it appears in.) /tmp/vmware-config4/vmmon-only/linux/hostif.c: In function ‘HostIF_APIC_ID’: /tmp/vmware-config4/vmmon-only/linux/hostif.c:2540: error: ‘FIX_APIC_BASE’ undeclared (first use in this function) In file included from /tmp/vmware-config4/vmmon-only/linux/hostif.c:3608: /tmp/vmware-config4/vmmon-only/linux/hostif_compat.h: In function ‘HostIF_IOAPICBaseV45’: /tmp/vmware-config4/vmmon-only/linux/hostif_compat.h:466: error: ‘FIX_IO_APIC_BASE’ undeclared (first use in this function)
Charlie -- Um die Liste abzubestellen, schicken Sie eine Mail an: opensuse-de+unsubscribe@opensuse.org Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken Sie eine Mail an: opensuse-de+help@opensuse.org
participants (2)
-
Charlie Blank
-
Walter Stengel