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

Problem beim Kompilieren von Kernel-Modulen?

Hallo,

ich hab OpenSuse 10.2 installiert und wollte jetzt weitere Software installieren: Den Paragon NTFS-Treiber und VMWare Server.

Beide Software muss anscheinend neue Kernel-Module kompilieren und dabei gibts Fehler.


Die NTFS-Software meldet:

meister:/home/tom/software/ParagonNTFS # ./install.sh
Please specify correct path for current kernel. (/usr/src/linux)
configure kernel
scripts/kconfig/conf -s arch/i386/Kconfig
CHK include/linux/version.h
Can't find compiled modules for kernel. Please, compile your kernel and run this program again.

Kapier ich ehrlich gesagt nicht so ganz ... ?

Und der VMware-Server schmiert ebenfalls beim Kompilieren ab:

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config1/vmmon-only'
make -C /lib/modules/2.6.18.2-34-default/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.18.2-34-obj/i386/default'
make -C ../../../linux-2.6.18.2-34 O=../linux-2.6.18.2-34-obj/i386/default modules
CC [M] /tmp/vmware-config1/vmmon-only/linux/driver.o
In file included from include2/asm/tsc.h:9,
from include2/asm/timex.h:10,
from /usr/src/linux-2.6.18.2-34/include/linux/timex.h:193,
from /usr/src/linux-2.6.18.2-34/include/linux/sched.h:48,
from /usr/src/linux-2.6.18.2-34/include/linux/module.h:9,
from /tmp/vmware-config1/vmmon-only/linux/driver.c:12:
/usr/src/linux-2.6.18.2-34/include/linux/config.h:4:1: warning: "CONFIG_SMP" redefined
In file included from /tmp/vmware-config1/vmmon-only/./include/driver-config.h:21,
from /tmp/vmware-config1/vmmon-only/linux/driver.c:6:
include/linux/autoconf.h:2324:1: warning: this is the location of the previous definition
In file included from include2/asm/seccomp.h:9,
from /usr/src/linux-2.6.18.2-34/include/linux/seccomp.h:10,
from /usr/src/linux-2.6.18.2-34/include/linux/sched.h:73,
from /usr/src/linux-2.6.18.2-34/include/linux/module.h:9,
from /tmp/vmware-config1/vmmon-only/linux/driver.c:12:
/usr/src/linux-2.6.18.2-34/include/linux/unistd.h:5:2: error: #error use syscall(2) instead, and who defines __KERNEL__ in userland anyway?!
In file included from /tmp/vmware-config1/vmmon-only/linux/driver.h:20,
from /tmp/vmware-config1/vmmon-only/linux/driver.c:49:
/tmp/vmware-config1/vmmon-only/./include/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined
/tmp/vmware-config1/vmmon-only/./include/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined
In file included from /tmp/vmware-config1/vmmon-only/linux/driver.h:20,
from /tmp/vmware-config1/vmmon-only/linux/driver.c:49:
/tmp/vmware-config1/vmmon-only/./include/compat_wait.h:60: error: conflicting types for ‘poll_initwait’
/usr/src/linux-2.6.18.2-34/include/linux/poll.h:62: error: previous declaration of ‘poll_initwait’ was here
/tmp/vmware-config1/vmmon-only/linux/driver.c:145: warning: initialization from incompatible pointer type
/tmp/vmware-config1/vmmon-only/linux/driver.c:149: warning: initialization from incompatible pointer type
make[4]: *** [/tmp/vmware-config1/vmmon-only/linux/driver.o] Fehler 1
make[3]: *** [_module_/tmp/vmware-config1/vmmon-only] Fehler 2
make[2]: *** [modules] Fehler 2
make[1]: *** [modules] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.6.18.2-34-obj/i386/default'
make: *** [vmmon.ko] Fehler 2
make: Leaving directory `/tmp/vmware-config1/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.
 
Paragon, keine Ahnung

Die Kernel-Soucen scheinen nicht mit dem Kernel übereinzustimmen, also mal YOU ausführen, bei mir läuft VMware Server 1.1 ohne Probleme

Benutze inzwischen zwar das VMware-Modul von jengelh, aber das erste hab ich auch selber erstellt.

Gruß
Thomas
 
Danke für den Tip, aber das wars wohl nicht: Im YOU gibts keine neuen Kernel-Quellen und ich hab auch

Code:
uname -a

Linux meister 2.6.18.2-34-default #1 SMP Mon Nov 27 11:46:27 UTC 2006 i686 i686 i386 GNU/Linux

den Kernel 2.6.18.2-34-default am Laufen und in /usr/src

Code:
ls /usr/src
ati  linux  linux-2.6.18.2-34  linux-2.6.18.2-34-obj  linux-obj  packages

scheinen auch genau die entsprechenden Kernel-Quellen zu finden zu sein??
 
Moment, ich hab hier eine *ganz* komische Geschichte ... ich zeig Euch mal den Output von ls -la /usr/src:

Code:
drwxr-xr-x  6 root root 4096 17. Dez 20:27 .
drwxr-xr-x 12 root root 4096 17. Dez 17:03 ..
drwxr-xr-x  2 root root 4096 17. Dez 20:27 ati
lrwxrwxrwx  1 root root   17 17. Dez 20:44 linux -> linux-2.6.18.2-34
drwxr-xr-x 20 root root 4096 [b]20. Dez 18:47[/b] linux-2.6.18.2-34
drwxr-xr-x  3 root root 4096 17. Dez 20:43 linux-2.6.18.2-34-obj
lrwxrwxrwx  1 root root   21 17. Dez 20:44 linux-obj -> linux-2.6.18.2-34-obj
drwxr-xr-x  7 root root 4096 17. Dez 17:13 packages

Man beachte den hervorgehobenen Time-Stamp des Ordners linux-2.6.18.2-34. Ich hab das Linux schon vor einige Tagen installiert, trotzdem hat dieser Ordner das aktuelle Datum.

Und sobald ich den Paragon-Treiber kompilieren will, wird das Datum und die Zeit dieses Ordners aktualisiert ...also zuerst stand er auf 18.42, dann hab ich um 18.47 nochmal versucht den Paragon-Treiber zu installieren und danach stand auch der Ordner auf 18.47 Uhr.

Also, da läuft auch kein YOU oder sonstiges Update-Zeugs im Hintergrund ..??

Also, warum ändert sich der Timestamp von dem Ordner?
 
Oben