Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47195 - fcpci doesn't merge on kernel 2.6 missing headers / headers at the wrong place
Summary: fcpci doesn't merge on kernel 2.6 missing headers / headers at the wrong place
Status: RESOLVED DUPLICATE of bug 46769
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-08 03:22 UTC by Hans-Christian Armingeon
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans-Christian Armingeon 2004-04-08 03:22:04 UTC
make[1]: Leaving directory `/var/tmp/portage/fcpci-03.10.02/work/fritz/src.sys'
<command line>:138418577:6616: /lib/modules/2.6.5/build/include/linux/modversions.h: No such file or directory
In file included from /lib/modules/2.6.5/build/include/asm/processor.h:18,
                 from /lib/modules/2.6.5/build/include/asm/thread_info.h:13,
                 from /lib/modules/2.6.5/build/include/linux/thread_info.h:21,
                 from /lib/modules/2.6.5/build/include/asm/uaccess.h:9,
                 from main.c:28:
/lib/modules/2.6.5/build/include/asm/system.h: In function `__set_64bit_var':
/lib/modules/2.6.5/build/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
/lib/modules/2.6.5/build/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
In file included from /lib/modules/2.6.5/build/include/linux/irq.h:20,
                 from /lib/modules/2.6.5/build/include/asm/hardirq.h:6,
                 from /lib/modules/2.6.5/build/include/linux/interrupt.h:11,
                 from /lib/modules/2.6.5/build/include/linux/netdevice.h:507,
                 from defs.h:80,
                 from tools.h:29,
                 from main.c:48:
/lib/modules/2.6.5/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /lib/modules/2.6.5/build/include/asm/hardirq.h:6,
                 from /lib/modules/2.6.5/build/include/linux/interrupt.h:11,
                 from /lib/modules/2.6.5/build/include/linux/netdevice.h:507,
                 from defs.h:80,
                 from tools.h:29,
                 from main.c:48:
/lib/modules/2.6.5/build/include/linux/irq.h: At top level:
/lib/modules/2.6.5/build/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /lib/modules/2.6.5/build/include/linux/irq.h:72,
                 from /lib/modules/2.6.5/build/include/asm/hardirq.h:6,
                 from /lib/modules/2.6.5/build/include/linux/interrupt.h:11,
                 from /lib/modules/2.6.5/build/include/linux/netdevice.h:507,
                 from defs.h:80,
                 from tools.h:29,
                 from main.c:48:
/lib/modules/2.6.5/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
/lib/modules/2.6.5/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.5/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.5/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.5/build/include/linux/module.h:515)
main.c:155: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.5/build/include/linux/module.h:527)
main.c:162: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.5/build/include/linux/module.h:527)
main.c:169: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.5/build/include/linux/module.h:527)
main.c:174: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.5/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

# find /usr/src/linux-2.6.5 -iname "modversions.h"
/usr/src/linux-2.6.5/include/config/modversions.h

Any pointers?

Johnny

Reproducible: Always
Steps to Reproduce:
Start kernel 2.6
1. emerge fcpci
2.
3.


Expected Results:  
 

emerge info 
Portage 2.0.50-r3 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5) 
================================================================= 
System uname: 2.6.5 i686 AMD Athlon(tm) Processor 
Gentoo Base System version 1.4.3.13 
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[enabled] 
Autoconf: sys-devel/autoconf-2.58-r1 
Automake: sys-devel/automake-1.8.3 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon -O2 -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /lib/modules /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=athlon -O2 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs buildpkg ccache distcc sandbox" 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="acl acpi apache2 apm arts avi berkdb cdr crypt cscope cups dvd dvdr 
encode fam foomaticdb gdbm gif gpm imap imlib jpeg ldap libg++ libwww mad 
maildir mbox memlimit mikmod mmx motif mpeg mysql ncurses nls obdc oggvorbis 
opengl oss pam pdflib perl png pnp postgres ppds prelude python quicktime 
readline samba sasl sdl slang slp snmp socks5 spell sse ssl svga tcpd tiff 
truetype usb wmf x86 xml2 xmms xv zlib"
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2004-04-09 08:39:12 UTC
This is a duplicate of #46769.

As i pointed out in #45355 fcpci is only for 2.4 - not 2.6. AVM has published a statement[1] on their support about upcoming support for 2.6. But a new version is not available on their website yet. I hope these drivers will be available with delivering of suse 9.1.
 [1]http://www.avm.de/de/Service/AVM_Service_Portale/Linux/News_Ausblick/kernel_2_6.html (german)


Right now you can use old hisax drivers or the mISDN drivers. I don't know what was changed the last 2 month but you can take a look at the "Linux 2.6 and mISDN HowTo" ( http://rcum.uni-mb.si/~uvp00845b/ )
I haven't tried that -- but i will this weekend!
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2004-04-10 05:07:05 UTC

*** This bug has been marked as a duplicate of 46769 ***