Calculating dependencies ...done! >>> emerge (1 of 1) net-dialup/fcpci-03.10.02 to / >>> md5 src_uri ;-) fcpci-suse8.1-03.10.02.tar.gz >>> Unpacking source... >>> Unpacking fcpci-suse8.1-03.10.02.tar.gz to /var/tmp/portage/fcpci-03.10.02/work patching file src.drv/tools.c Hunk #1 FAILED at 24. 1 out of 1 hunk FAILED -- saving rejects to file src.drv/tools.c.rej >>> Source unpacked. (cd src.sys; make CARD=fcpci) (cd src.drv; make CARD=fcpci) make[1]: Entering directory `/var/tmp/portage/fcpci-03.10.02/work/fritz/src.sys' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. cat capi_modules.txt In order to use this FRITZ!Card driver, a couple of kernel modules are required: capi.o, capiutils.o, kernelcapi.o and capifs.o. The source code for these modules is part of the linux kernel in directory /usr/src/linux/drivers/isdn/avmb1 and will be compiled with the kernel if the following settings are found in the kernel configuration: CONFIG_EXPERIMENTAL=y CONFIG_ISDN_CAPI=m CONFIG_ISDN_DRV_AVMB1_VERBOSE_REASON=y CONFIG_ISDN_CAPI_MIDDLEWARE=y CONFIG_ISDN_CAPI_CAPI20=m CONFIG_ISDN_CAPI_CAPIFS_BOOL=y CONFIG_ISDN_CAPI_CAPIFS=m CONFIG_ISDN_CAPI_CAPIDRV=m For "make menuconfig" go to "ISDN subsystem", "Active cards" and select: ... <M> CAPI2.0 support [*] Verbose reason code reporting (kernel size +=7K) [*] CAPI2.0 Middleware support (EXPERIMENTAL) <M> CAPI2.0 /dev/capi support [*] CAPI2.0 filesystem support <M> CAPI2.0 capidrv interface support ... In addtion to these entries, please enable entry "Prompt for development and/or incomplete code/drivers" in the very first menu named "Code maturity level options". After the kernel's compilation, all CAPI modules can be found in directory /lib/modules/`uname -r`/kernel/drivers/isdn/avmb1/ make[1]: Leaving directory `/var/tmp/portage/fcpci-03.10.02/work/fritz/src.sys' make[1]: Entering directory `/var/tmp/portage/fcpci-03.10.02/work/fritz/src.drv' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. gcc -c -DMODULE -DMODVERSIONS -D__KERNEL__ -DNDEBUG -D__fcpci__ -DTARGET=\"fcpci\" -O3 -mcpu=athlon-tbird -march=athlon-tbird -funroll-loops -fomit-frame-pointer -pipe -include /lib/modules/2.6.4-gentoo-r1/build/include/linux/modversions.h -Wall -I /lib/modules/2.6.4-gentoo-r1/build/include main.c -o main.o <command line>:138394007:47584: /lib/modules/2.6.4-gentoo-r1/build/include/linux/modversions.h: No such file or directory In file included from /lib/modules/2.6.4-gentoo-r1/build/include/asm/processor.h:18, from /lib/modules/2.6.4-gentoo-r1/build/include/asm/thread_info.h:13, from /lib/modules/2.6.4-gentoo-r1/build/include/linux/thread_info.h:21, from /lib/modules/2.6.4-gentoo-r1/build/include/asm/uaccess.h:9, from main.c:28: /lib/modules/2.6.4-gentoo-r1/build/include/asm/system.h: In function `__set_64bit_var': /lib/modules/2.6.4-gentoo-r1/build/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules /lib/modules/2.6.4-gentoo-r1/build/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules In file included from /lib/modules/2.6.4-gentoo-r1/build/include/linux/irq.h:20, from /lib/modules/2.6.4-gentoo-r1/build/include/asm/hardirq.h:6, from /lib/modules/2.6.4-gentoo-r1/build/include/linux/interrupt.h:11, from /lib/modules/2.6.4-gentoo-r1/build/include/linux/netdevice.h:501, from defs.h:80, from tools.h:29, from main.c:48: /lib/modules/2.6.4-gentoo-r1/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory In file included from /lib/modules/2.6.4-gentoo-r1/build/include/asm/hardirq.h:6, from /lib/modules/2.6.4-gentoo-r1/build/include/linux/interrupt.h:11, from /lib/modules/2.6.4-gentoo-r1/build/include/linux/netdevice.h:501, from defs.h:80, from tools.h:29, from main.c:48: /lib/modules/2.6.4-gentoo-r1/build/include/linux/irq.h: At top level: /lib/modules/2.6.4-gentoo-r1/build/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function) In file included from /lib/modules/2.6.4-gentoo-r1/build/include/linux/irq.h:72, from /lib/modules/2.6.4-gentoo-r1/build/include/asm/hardirq.h:6, from /lib/modules/2.6.4-gentoo-r1/build/include/linux/interrupt.h:11, from /lib/modules/2.6.4-gentoo-r1/build/include/linux/netdevice.h:501, from defs.h:80, from tools.h:29, from main.c:48: /lib/modules/2.6.4-gentoo-r1/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function) /lib/modules/2.6.4-gentoo-r1/build/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not in a function) main.c:67: warning: type defaults to `int' in declaration of `EXPORT_NO_SYMBOLS' main.c:67: warning: data definition has no type or storage class main.c: In function `inc_use_count': main.c:119: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.4-gentoo-r1/build/include/linux/module.h:515) main.c: In function `dec_use_count': main.c:120: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.4-gentoo-r1/build/include/linux/module.h:527) main.c: In function `fritz_init': main.c:150: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.4-gentoo-r1/build/include/linux/module.h:515) main.c:155: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.4-gentoo-r1/build/include/linux/module.h:527) main.c:162: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.4-gentoo-r1/build/include/linux/module.h:527) main.c:169: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.4-gentoo-r1/build/include/linux/module.h:527) main.c:174: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.4-gentoo-r1/build/include/linux/module.h:527) make[1]: *** [main.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/fcpci-03.10.02/work/fritz/src.drv' make: *** [drv] Error 2 !!! ERROR: net-dialup/fcpci-03.10.02 failed. !!! Function src_compile, Line 27, Exitcode 2 !!! compile problem Does fcpci work with kernel 2.6? Johnny Reproducible: Always Steps to Reproduce: 1. 2. 3.
*** Bug 47195 has been marked as a duplicate of this bug. ***
i added a warning about 2.6 kernels, the rest is upstream
Hi, Recently released drivers for all distributions. http://www.pro-linux.de/news/2004/6842.html http://www.avm.de/de/Download/index.php3 could the fcpci ebuild simply be expanded, that it works for all the avm cards? Thanks in advance, Johnny
The driver for 2.6 kernel is available. It would be great if that could be added. ftp://ftp.avm.de/cardware/fritzcrd.pci/linux/suse.91/fcpci-suse9.1-3.11-02.tar.gz
ebuilds can be found in #55902.
Working on a replacement in bug 50716 *** This bug has been marked as a duplicate of 50716 ***