Treiber für AVM FritzX-USB und Kernel 2.5.x
Hallo ! Hat jemand den aktuellen FritzX-USB-Treiber unter Kernel 2.5.x kompilieren können ? Bei mir geht der Compile leider schief: /privat/isdn/fritz > make drv (cd src.drv; make CARD=fxusb) make[1]: Entering directory `/privat/isdn/fritz/src.drv' cc -c -DMODULE -D__KERNEL__ -DNDEBUG -D__fxusb__ -DTARGET=\"fxusb\" -O2 -Wall -I /lib/modules/`uname -r`/build/include main.c -o main.o In file included from /lib/modules/2.5.72/build/include/linux/irq.h:19, from /lib/modules/2.5.72/build/include/asm/hardirq.h:6, from /lib/modules/2.5.72/build/include/linux/interrupt.h:10, from /lib/modules/2.5.72/build/include/linux/usb.h:15, from main.c:31: /lib/modules/2.5.72/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory In file included from /lib/modules/2.5.72/build/include/asm/hardirq.h:6, from /lib/modules/2.5.72/build/include/linux/interrupt.h:10, from /lib/modules/2.5.72/build/include/linux/usb.h:15, from main.c:31: /lib/modules/2.5.72/build/include/linux/irq.h:69: `NR_IRQS' undeclared here (not in a function) In file included from /lib/modules/2.5.72/build/include/linux/irq.h:71, from /lib/modules/2.5.72/build/include/asm/hardirq.h:6, from /lib/modules/2.5.72/build/include/linux/interrupt.h:10, from /lib/modules/2.5.72/build/include/linux/usb.h:15, from main.c:31: /lib/modules/2.5.72/build/include/asm/hw_irq.h:27: `NR_IRQS' undeclared here (not in a function) /lib/modules/2.5.72/build/include/asm/hw_irq.h:30: `NR_IRQS' undeclared here (not in a function) main.c:53: warning: type defaults to `int' in declaration of `EXPORT_NO_SYMBOLS' main.c:53: warning: data definition has no type or storage class main.c:89: warning: initialization from incompatible pointer type main.c:90: warning: initialization from incompatible pointer type main.c: In function `f_usb_probe': main.c:148: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.5.72/build/include/linux/module.h:478) main.c:153: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.5.72/build/include/linux/module.h:490) main.c:176: warning: assignment from incompatible pointer type main.c:177: structure has no member named `interface' main.c:183: structure has no member named `interface' main.c:185: structure has no member named `endpoint' main.c:186: structure has no member named `endpoint' main.c:219: too few arguments to function `usb_alloc_urb' main.c:225: too few arguments to function `usb_alloc_urb' main.c: In function `f_usb_disconnect': main.c:271: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.5.72/build/include/linux/module.h:490) main.c: In function `dec_use_count': main.c:281: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.5.72/build/include/linux/module.h:490) main.c: In function `inc_use_count': main.c:290: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.5.72/build/include/linux/module.h:478) main.c: In function `f_usb_init': main.c:303: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.5.72/build/include/linux/module.h:478) main.c:336: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.5.72/build/include/linux/module.h:490) make[1]: *** [main.o] Error 1 make[1]: Leaving directory `/privat/isdn/fritz/src.drv' make: *** [drv] Error 2 Dirk
participants (1)
-
DVornheder@t-online.de