Am Mittwoch, 7. November 2001 09:45 schrieben Sie:
Hast du ein neues make? Bei mir spuckt es meist sehr hilfreiche Fehlermeldungen aus, bei dir nur "=> Fehlermeldungen ohne Ende!" komisch.
Wenn du ein anständiges make verwenden würdest könnte hier in der Liste sicherlich jemand etwas mit den Fehlermeldungen anfangen ;)
bye Waldemar
Das ist die Fehlermeldung, da sie so lang ist, hatte ich sie nicht sofort
mitgemailt!
==================================================
helua09@c129032:/tmp/9432Linux24> make
cc -D__KERNEL__ -DMODULE -DLINUX -O -Wall -I/usr/include -c -o um.o um.c
In file included from /usr/include/linux/module.h:260,
from um.c:18:
/usr/include/linux/version.h:2: #error
"======================================================="
/usr/include/linux/version.h:3: #error "You should not include
/usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4: #error "files directly for the compilation of
kernel modules."
/usr/include/linux/version.h:5: #error ""
/usr/include/linux/version.h:6: #error "glibc now uses kernel header files
from a well-defined"
/usr/include/linux/version.h:7: #error "working kernel version (as
recommended by Linus Torvalds)"
/usr/include/linux/version.h:8: #error "These files are glibc internal and
may not match the"
/usr/include/linux/version.h:9: #error "currently running kernel. They should
only be"
/usr/include/linux/version.h:10: #error "included via other system header
files - user space"
/usr/include/linux/version.h:11: #error "programs should not directly include
Am Mittwoch, 7. November 2001 11:09 schrieben Sie:
Am Mittwoch, 7. November 2001 09:45 schrieben Sie:
Hast du ein neues make? Bei mir spuckt es meist sehr hilfreiche Fehlermeldungen aus, bei dir nur "=> Fehlermeldungen ohne Ende!" komisch.
Nachdem ich nun den Anweisungen von make gefolgt bin (kopieren von Version.h, checken der links) kommt eine andere Fehlermeldung bei make: c129032:/tmp/9432Linux24 # make cc -D__KERNEL__ -DMODULE -DLINUX -O -Wall -I/usr/include -c -o um.o um.c In file included from /usr/include/linux/highmem.h:5, from /usr/include/linux/skbuff.h:27, from /usr/include/linux/netdevice.h:146, from mm.h:23, from um.h:22, from um.c:20: /usr/include/asm/pgalloc.h: In function `get_pgd_fast': /usr/include/asm/pgalloc.h:68: warning: implicit declaration of function `smp_processor_id' In file included from mm.h:23, from um.h:22, from um.c:20: /usr/include/linux/netdevice.h: At top level: /usr/include/linux/netdevice.h:164: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/linux/netdevice.h:164: requested alignment is not a constant In file included from /usr/include/asm/hardirq.h:6, from /usr/include/linux/interrupt.h:45, from /usr/include/linux/netdevice.h:424, from mm.h:23, from um.h:22, from um.c:20: /usr/include/linux/irq.h:53: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/linux/irq.h:53: requested alignment is not a constant In file included from /usr/include/linux/interrupt.h:45, from /usr/include/linux/netdevice.h:424, from mm.h:23, from um.h:22, from um.c:20: /usr/include/asm/hardirq.h:16: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/asm/hardirq.h:16: requested alignment is not a constant In file included from /usr/include/linux/netdevice.h:424, from mm.h:23, from um.h:22, from um.c:20: /usr/include/linux/interrupt.h:127: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/linux/interrupt.h:127: requested alignment is not a constant In file included from mm.h:23, from um.h:22, from um.c:20: /usr/include/linux/netdevice.h:473: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/linux/netdevice.h:473: requested alignment is not a constant um.c: In function `init_module': um.c:78: warning: unused variable `dev' um.c:77: warning: unused variable `AdapterIndex' um.c:76: warning: unused variable `Retcode' um.c:75: warning: unused variable `DeviceNum' um.c:74: warning: unused variable `BusNum' um.c:73: warning: unused variable `LmStatus' um.c:72: warning: unused variable `pAdapter' um.c:71: warning: unused variable `pDevice' um.c:70: warning: unused variable `pUmDevice' um.c: At top level: um.c:258: warning: `um_open' defined but not used um.c:384: warning: `um_xmit' defined but not used um.c:343: warning: `um_close' defined but not used um.c:430: warning: `um_get_stats' defined but not used um.c:462: warning: `um_set_rx_mode' defined but not used um.c:502: warning: `um_ioctl' defined but not used make: *** [um.o] Error 1 Seit wann braucht ein Netzwerktreiber Zugriff auf den L1 Cache?
participants (1)
-
Philipp Hellmich