Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75904 - emerge of net-dialup/fritzcapi failes with kernel 2.6.10-gentoo-r1
Summary: emerge of net-dialup/fritzcapi failes with kernel 2.6.10-gentoo-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-28 04:50 UTC by Jimmy Collins
Modified: 2004-12-31 03:14 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 Jimmy Collins 2004-12-28 04:50:30 UTC
Emerge of net-dialup/fritzcapi failes with kernel 2.6.10-gentoo-r1. It still works with kernel 2.6.9-gentoo-r13. See foollowing for detailed informations:

daywalker root # FRITZCAPI_CARDS="fcpcmcia" emerge net-dialup/fritzcapi
Calculating dependencies ...done!
>>> emerge (1 of 1) net-dialup/fritzcapi-2.6.26.7-r3 to /
>>> md5 src_uri ;-) km_fritzcapi-2.6-26.7.i586.rpm
>>> md5 src_uri ;-) capi4linux-2004.4.5-0.i586.rpm
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.10-gentoo-r1
 * Checking for suitable kernel configuration options
 * Using KV_OBJ=ko
 * Selected cards:  fcpcmcia
>>> Unpacking source...
>>> Unpacking km_fritzcapi-2.6-26.7.i586.rpm
>>> Unpacking capi4linux-2004.4.5-0.i586.rpm
>>> Source unpacked.
 * Preparing fcpcmcia module
make -C /usr/src/linux SUBDIRS=/var/tmp/portage/fritzcapi-2.6.26.7-r3/work/usr/src/kernel-modules/fritzcapi/fritz.pcmcia/src modules
make[1]: Entering directory `/usr/src/linux-2.6.10-gentoo-r1'
  CC [M]  /var/tmp/portage/fritzcapi-2.6.26.7-r3/work/usr/src/kernel-modules/fritzcapi/fritz.pcmcia/src/main.o
  CC [M]  /var/tmp/portage/fritzcapi-2.6.26.7-r3/work/usr/src/kernel-modules/fritzcapi/fritz.pcmcia/src/driver.o
  CC [M]  /var/tmp/portage/fritzcapi-2.6.26.7-r3/work/usr/src/kernel-modules/fritzcapi/fritz.pcmcia/src/tools.o
  CC [M]  /var/tmp/portage/fritzcapi-2.6.26.7-r3/work/usr/src/kernel-modules/fritzcapi/fritz.pcmcia/src/tables.o
  CC [M]  /var/tmp/portage/fritzcapi-2.6.26.7-r3/work/usr/src/kernel-modules/fritzcapi/fritz.pcmcia/src/queue.o
  CC [M]  /var/tmp/portage/fritzcapi-2.6.26.7-r3/work/usr/src/kernel-modules/fritzcapi/fritz.pcmcia/src/lib.o
  CC [M]  /var/tmp/portage/fritzcapi-2.6.26.7-r3/work/usr/src/kernel-modules/fritzcapi/fritz.pcmcia/src/fcpcmcia_cs.o
/var/tmp/portage/fritzcapi-2.6.26.7-r3/work/usr/src/kernel-modules/fritzcapi/fritz.pcmcia/src/fcpcmcia_cs.c:121: error: initializer element is not constant
/var/tmp/portage/fritzcapi-2.6.26.7-r3/work/usr/src/kernel-modules/fritzcapi/fritz.pcmcia/src/fcpcmcia_cs.c:121: error: (near initialization for `__param_arr_irq_list.num')
make[2]: *** [/var/tmp/portage/fritzcapi-2.6.26.7-r3/work/usr/src/kernel-modules/fritzcapi/fritz.pcmcia/src/fcpcmcia_cs.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [_module_/var/tmp/portage/fritzcapi-2.6.26.7-r3/work/usr/src/kernel-modules/fritzcapi/fritz.pcmcia/src] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.10-gentoo-r1'
make: *** [all] Error 2

!!! ERROR: net-dialup/fritzcapi-2.6.26.7-r3 failed.
!!! Function linux-mod_src_compile, Line 279, Exitcode 2
!!! Unable to make KDIR=/usr/src/linux all.
!!! If you need support, post the topmost build error, NOT this status message.

Reproducible: Always
Steps to Reproduce:
1. FRITZCAPI_CARDS="fcpcmcia" emerge net-dialup/fritzcapi
2.
3.

Actual Results:  
see details

Expected Results:  
compile correctly

Here is my output of "emerege --info":

daywalker root # emerge --info
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.10-gentoo-r1 i686)
=================================================================
System uname: 2.6.10-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1.80GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org
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="x86 X aac acl alsa apache2 apm arts avi berkdb bitmap-fonts bzlib cdr
cpdflib crypt cups dga divx4linux dv dvd dvdr encode fam flac foomaticdb fortran
ftp gd gdbm gif gimpprint gphoto2 imagemagick imlib innodb jpeg kde libwww mad
mbox mikmod mmx motif mozdevelop mpeg mysql ncurses nls nptl oggvorbis opengl
oss pam pdflib perl png python qt quicktime readline real samba scanner sdl
session spell sse sse2 ssl svg svga tcpd tiff truetype usb vim-with-x wifi wmf
xine xml2 xmms xprint xv zlib linguas_de"
Comment 1 Jimmy Collins 2004-12-28 07:50:35 UTC
I now tryed to compile this package witch "i686-pc-linux-gnu-3.4.3" -> still the same problem
Comment 2 Dead Schorsch 2004-12-29 03:55:59 UTC
Confirmed, happens when compiling the fritz pcmcia card sources, regardless of being part of the fritzcapi ebuild or the driver archive from AVM. Did work with gentoo-dev-sources 2.6.9 series.
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2004-12-31 03:14:17 UTC
I've made a patch for kernels >= 2.6.10.