ich hab mir das bri-stuff Release 0.0.2 runtergeladen und mit ./install installiert allerdings kann er das kernelmodul irgenwie nicht übersetzen
kernel ist gesymlinkt /usr/src/linux -> /usr/src/linux-2.6.8.1
kernel 2.6.8.1
Danke für eure Hilfe
kernel ist gesymlinkt /usr/src/linux -> /usr/src/linux-2.6.8.1
kernel 2.6.8.1
Code:
pbx zaphfc # make loadNT
gcc -c zaphfc.c -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -O2 -
Wall -I/usr/src/linux/include -I../zaptel -Wall -DCONFIG_ZAPATA_BRI_DCHANS
In file included from /usr/src/linux/include/asm/processor.h:18,
from /usr/src/linux/include/asm/thread_info.h:16,
from /usr/src/linux/include/linux/thread_info.h:21,
from /usr/src/linux/include/linux/spinlock.h:12,
from /usr/src/linux/include/linux/capability.h:45,
from /usr/src/linux/include/linux/sched.h:7,
from /usr/src/linux/include/linux/module.h:10,
from zaphfc.c:16:
/usr/src/linux/include/asm/system.h: In function `__set_64bit_var':
/usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned poin
ter will break strict-aliasing rules
/usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned poin
ter will break strict-aliasing rules
In file included from /usr/src/linux/include/linux/irq.h:20,
from /usr/src/linux/include/asm/hardirq.h:6,
from /usr/src/linux/include/linux/interrupt.h:12,
from zaphfc.c:19:
/usr/src/linux/include/asm/irq.h:17:39: mach-default/irq-vectors.h: No such file
or directory
In file included from /usr/src/linux/include/asm/hardirq.h:6,
from /usr/src/linux/include/linux/interrupt.h:12,
from zaphfc.c:19:
/usr/src/linux/include/linux/irq.h: At top level:
/usr/src/linux/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in
a function)
In file included from /usr/src/linux/include/linux/irq.h:72,
from /usr/src/linux/include/asm/hardirq.h:6,
from /usr/src/linux/include/linux/interrupt.h:12,
from zaphfc.c:19:
/usr/src/linux/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here
(not in a function)
/usr/src/linux/include/asm/hw_irq.h:32: error: `NR_IRQS' undeclared here (not in
a function)
In file included from zaphfc.c:21:
../zaptel/zaptel.h:55:2: warning: #warning "Zaptel doesn't support DEVFS in post
2.4 kernels. Disabling DEVFS in zaptel"
zaphfc.c: In function `hfc_findCards':
zaphfc.c:843: warning: use of cast expressions as lvalues is deprecated
zaphfc.c:843: warning: use of cast expressions as lvalues is deprecated
make: *** [zaphfc.o] Error 1
pbx zaphfc # lsmod
Module Size Used by
pbx zaphfc #
Danke für eure Hilfe