Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52001 - CAPI4k-utils doesnt work with newest kernel 2.6 needs updated version
Summary: CAPI4k-utils doesnt work with newest kernel 2.6 needs updated version
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Dialup Developers
URL: http://bugme.osdl.org/show_bug.cgi?id...
Whiteboard:
Keywords:
: 58068 (view as bug list)
Depends on:
Blocks: 58068
  Show dependency tree
 
Reported: 2004-05-25 05:39 UTC by Ben
Modified: 2004-10-30 14:19 UTC (History)
5 users (show)

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


Attachments
Ebuild for capi4k-utils-20040331 (capi4k-utils-20040331.ebuild,1.96 KB, text/plain)
2004-05-25 05:51 UTC, Ben
Details
Ebuild for capi4k-utils-20040614 (capi4k-utils-20040614.ebuild,1.96 KB, text/plain)
2004-06-29 16:15 UTC, spiralvoice
Details
Updated ebuild (capi4k-utils-20040614.ebuild,1.98 KB, text/plain)
2004-06-30 00:13 UTC, Ben
Details
Patch for building capifax (capi4k-utils-20040614-capi_capifax_c.patch,443 bytes, patch)
2004-06-30 07:50 UTC, spiralvoice
Details | Diff
Updated ebuild for use with capifax patch (capi4k-utils-20040614.ebuild,2.08 KB, application/octet-stream)
2004-06-30 07:51 UTC, spiralvoice
Details
Updated ebuild for use with capifax patch (capi4k-utils-20040614.ebuild,2.09 KB, application/octet-stream)
2004-07-11 09:13 UTC, spiralvoice
Details
New ebuild for capi4k-utils-20040810 (capi4k-utils-20040810.ebuild,2.02 KB, text/plain)
2004-08-10 15:52 UTC, Kai Leibrandt
Details
improved/fixed capi init.d script (capi,600 bytes, text/plain)
2004-08-14 04:38 UTC, Sven
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben 2004-05-25 05:39:47 UTC
The capi4k-utils package from the portage tree doesnt work with the new 2.6 kernel. The new package from March 2004 however works fine

Reproducible: Always
Steps to Reproduce:
1.Install new version of capi4k-utils
2.
3.

Actual Results:  
Capi4k-utils actually work fine again and capisuite depends on that if you want 
to use the AVM PCI ISDN card
Comment 1 Ben 2004-05-25 05:51:30 UTC
Created attachment 32002 [details]
Ebuild for capi4k-utils-20040331

Newest version of capi4k-utils that work with kernel 2.6 and 2.4
Comment 2 spiralvoice 2004-06-29 15:51:05 UTC
There is a newer version of capi4k-utils available:
ftp://ftp.in-berlin.de/pub/capi4linux/capi4k-utils-2004-06-14.tar.gz
Comment 3 spiralvoice 2004-06-29 16:15:22 UTC
Created attachment 34454 [details]
Ebuild for capi4k-utils-20040614
Comment 4 Ben 2004-06-30 00:13:31 UTC
Created attachment 34468 [details]
Updated ebuild

I added the line RESTRICT="nomirror" as there the berlin server seems to be the
only place to get a copy of the package. Thanks for noticing the update.
Comment 5 spiralvoice 2004-06-30 07:50:23 UTC
Created attachment 34488 [details, diff]
Patch for building capifax
Comment 6 spiralvoice 2004-06-30 07:51:32 UTC
Created attachment 34489 [details]
Updated ebuild for use with capifax patch
Comment 7 spiralvoice 2004-07-11 09:13:14 UTC
Created attachment 35184 [details]
Updated ebuild for use with capifax patch
Comment 8 spiralvoice 2004-08-03 03:16:09 UTC
There is a bug in one of the files belonging to the ebuild, its in files/capi:

/sbin/capiinit is called twice although the file is placed in /usr/sbin/capiinit
Comment 9 Stefan Schweizer (RETIRED) gentoo-dev 2004-08-05 05:43:20 UTC
*** Bug 58068 has been marked as a duplicate of this bug. ***
Comment 10 Sebastian Röder 2004-08-08 13:25:57 UTC
Does anybody know whether the updated capi4k-utils ebuild for kernel 2.6 will be put into the portage tree soon? I
Comment 11 Sebastian Röder 2004-08-08 13:25:57 UTC
Does anybody know whether the updated capi4k-utils ebuild for kernel 2.6 will be put into the portage tree soon? I´am new to Gentoo and would be happy to have a consistent system at this early stage - this means I´d like to get the main system ebuilds (what is Gentoo worth without Inet?) directly from portage.

Thanks in advance,
Sebastian Roeder from Germany <sebroeder@arcor.de>
Comment 12 Stefan Schweizer (RETIRED) gentoo-dev 2004-08-08 13:49:07 UTC
I think this package is not maintained .. looks like it is not maintained because it is assigned to net-dialup and it looks like noone there cares. Additionally, no dev has given any comment so I doubt there are any germans in the net-dialup section.

We need a volunteer (of the devs) to maintain it. I would do but i cannot, as I am no dev.
Comment 13 Kai Leibrandt 2004-08-10 15:52:21 UTC
Created attachment 37178 [details]
New ebuild for capi4k-utils-20040810

The seperate patch to capifax/capi.c is no longer needed.
Comment 14 Sven 2004-08-14 04:38:34 UTC
Created attachment 37410 [details]
improved/fixed capi init.d script

changed path from /sbin/capiinit to /usr/sbin/capiinit and added
ebegin-statements
Comment 15 tuXXer 2004-08-30 16:30:30 UTC
capi4k-utils-20040810 fails with linux26-headers-2.6.8.1

Output:
Calculating dependencies ...done!
>>> emerge (1 of 1) net-dialup/capi4k-utils-20040810 to /
>>> md5 src_uri ;-) capi4k-utils-2004-08-10.tar.gz
>>> Unpacking source...
>>> Unpacking capi4k-utils-2004-08-10.tar.gz to /var/tmp/portage/capi4k-utils-20040810/work
>>> Source unpacked.
perl scripts/mk_autoconf.pl
Selected subdirs: capi20 capiinfo avmb1 capiinit rcapid capifax pppdcapiplugin

Running configure in capi20 ...

checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /bin/install -c
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for sed... /bin/sed
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for unistd.h... (cached) yes
checking linux/capi.h usability... no
checking linux/capi.h presence... yes
configure: WARNING: linux/capi.h: present but cannot be compiled
configure: WARNING: linux/capi.h:     check for missing prerequisite headers?
configure: WARNING: linux/capi.h: see the Autoconf documentation
configure: WARNING: linux/capi.h:     section "Present But Cannot Be Compiled"
configure: WARNING: linux/capi.h: proceeding with the preprocessor's result
configure: WARNING: linux/capi.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##
checking for linux/capi.h... yes
checking for select... yes
configure: creating ./config.status
config.status: creating Makefile

Running configure in capiinfo ...

creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for a BSD compatible install... /bin/install -c
checking for gcc... gcc
checking whether the C compiler (gcc -march=pentium4 -O3 -pipe -fomit-frame-pointer ) works... yes
checking whether the C compiler (gcc -march=pentium4 -O3 -pipe -fomit-frame-pointer ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for linux/capi.h... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
config.h is unchanged

Running configure in avmb1 ...

checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for a BSD-compatible install... /bin/install -c
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for unistd.h... (cached) yes
checking whether gcc needs -traditional... no
checking for mmap... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating avmcapictrl.man

Running configure in capiinit ...

creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for a BSD compatible install... /bin/install -c
checking for gcc... gcc
checking whether the C compiler (gcc -march=pentium4 -O3 -pipe -fomit-frame-pointer ) works... yes
checking whether the C compiler (gcc -march=pentium4 -O3 -pipe -fomit-frame-pointer ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for linux/capi.h... yes
checking for capi20.h... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h

Running configure in rcapid ...

creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc -march=pentium4 -O3 -pipe -fomit-frame-pointer ) works... yes
checking whether the C compiler (gcc -march=pentium4 -O3 -pipe -fomit-frame-pointer ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD compatible install... /bin/install -c
checking for fcntl.h... yes
checking for sys/ioctl.h... yes
checking whether gcc needs -traditional... no
checking for ANSI C header files... yes
checking return type of signal handlers... void
checking for socket... yes
updating cache ./config.cache
creating ./config.status
creating Makefile

Running configure in capifax ...

creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for a BSD compatible install... /bin/install -c
checking for gcc... gcc
checking whether the C compiler (gcc -march=pentium4 -O3 -pipe -fomit-frame-pointer ) works... yes
checking whether the C compiler (gcc -march=pentium4 -O3 -pipe -fomit-frame-pointer ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/ioctl.h... yes
checking for unistd.h... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
config.h is unchanged

Running make config in pppdcapiplugin ...

make[1]: Entering directory `/var/tmp/portage/capi4k-utils-20040810/work/capi4k-utils/pppdcapiplugin'
nothing to configure
make[1]: Leaving directory `/var/tmp/portage/capi4k-utils-20040810/work/capi4k-utils/pppdcapiplugin'
set -e; for i in `echo  capi20 capiinfo avmb1 capiinit rcapid capifax pppdcapiplugin`; do make -C $i all; done
make[1]: Entering directory `/var/tmp/portage/capi4k-utils-20040810/work/capi4k-utils/capi20'
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libcapi20\" -DVERSION=\"2.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LINUX_CAPI_H=1 -DHAVE_SELECT=1  -I. -I.      -march=pentium4 -O3 -pipe -fomit-frame-pointer -c capidyn.c
/bin/sh ./libtool --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libcapi20\" -DVERSION=\"2.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LINUX_CAPI_H=1 -DHAVE_SELECT=1  -I. -I.      -march=pentium4 -O3 -pipe -fomit-frame-pointer -c capi20.c
mkdir .libs
 gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libcapi20\"-DVERSION=\"2.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LINUX_CAPI_H=1 -DHAVE_SELECT=1 -I. -I. -march=pentium4 -O3 -pipe -fomit-frame-pointer -c capi20.c  -fPIC -DPIC -o .libs/capi20.o
In file included from capidyn.c:23:
/usr/include/linux/capi.h:80: error: variable or field `__user' declared void
/usr/include/linux/capi.h:80: error: syntax error before '*' token
/usr/include/linux/capi.h:115: error: syntax error before "capi_manufacturer_cmd"
/usr/include/linux/capi.h:117: error: syntax error before '}' token
make[1]: *** [capidyn.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from capi20.c:94:
/usr/include/linux/capi.h:80: error: variable or field `__user' declared void
/usr/include/linux/capi.h:80: error: syntax error before '*' token
/usr/include/linux/capi.h:115: error: syntax error before "capi_manufacturer_cmd"
/usr/include/linux/capi.h:117: error: syntax error before '}' token
capi20.c:117: error: syntax error before "ioctl_data"
capi20.c:117: warning: data definition has no type or storage class
capi20.c: In function `capi20_register':
capi20.c:319: error: request for member `rparams' in something not a structure or union
capi20.c:320: error: request for member `rparams' in something not a structure or union
capi20.c:321: error: request for member `rparams' in something not a structure or union
capi20.c:330: error: request for member `errcode' in something not a structure or union
capi20.c:350: error: request for member `rparams' in something not a structure or union
capi20.c:351: error: request for member `rparams' in something not a structure or union
capi20.c:352: error: request for member `rparams' in something not a structure or union
capi20.c:361: error: request for member `errcode' in something not a structure or union
capi20.c: In function `capi20_put_message':
capi20.c:458: error: request for member `errcode' in something not a structure or union
capi20.c: In function `capi20_get_message':
capi20.c:512: warning: cast from pointer to integer of different size
capi20.c: In function `capi20_get_manufacturer':
capi20.c:554: error: request for member `contr' in something not a structure or union
capi20.c:557: error: request for member `manufacturer' in something not a structure or union
capi20.c: In function `capi20_get_version':
capi20.c:567: error: request for member `contr' in something not a structure or union
capi20.c:570: error: request for member `version' in something not a structure or union
capi20.c: In function `capi20_get_serial_number':
capi20.c:579: error: request for member `contr' in something not a structure or union
capi20.c:582: error: request for member `serial' in something not a structure or union
capi20.c: In function `capi20_get_profile':
capi20.c:593: error: request for member `contr' in something not a structure or union
capi20.c:599: error: request for member `errcode' in something not a structure or union
capi20.c:602: error: request for member `profile' in something not a structure or union
capi20.c:604: error: request for member `profile' in something not a structure or union
capi20.c:605: error: request for member `profile' in something not a structure or union
make[1]: *** [capi20.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/capi4k-utils-20040810/work/capi4k-utils/capi20'
make: *** [subtargets] Error 2

!!! ERROR: net-dialup/capi4k-utils-20040810 failed.
!!! Function src_compile, Line 41, Exitcode 2
!!! (no error message)

emerge info:
Portage 2.0.50-r10 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8.1)
=================================================================
System uname: 2.6.8.1 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://gentoo.osuosl.org"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X X509 aac aalib acl acpi acpi4linux activefilter aim alsa ansi apache2 arts async audiofile avi berkdb bidi bluetooth bootsplash bsh bzlib cap caps cddb cdf cdparanoia cdr cdrom cgi chroot clanJavaScript clanVoice codecs cpdflib crypt ctype cups curl curlwrappers dba dio directfb divx4linux djbfft dnd doc dts dv dvb dvd dvdr dvdread encode erandom esd exif expat extensions f77 faac faad fam fastcgi fax fbcon fdftk ffmpeg fftw flac flash flood foomaticdb freetype gcj gd gdbm geoip ggi gif gimp gimpprint glade glut gnome gnutls gphoto2 gps graphviz gs gstreamer gtk gtk2 gtkhtml guile hbci hdf hub hyperwave-api iconv icq idea ieee1394 image imagemagick imap imlib inifile innodb intl iodbc ipv6 irda irmc isdn jabber jack jack-tmpfs java javadoc javamail javascript jce jikes joystick jp2 jpeg junit justify jython kde kerberos latex lcd lcms ldap lesstif libcaca libdsk libg++ libwww linguas_de lirc lm_sensors log4j ltsp lua lzo lzw lzw-tiff mad mailbox maildir mailwrapper mbox mcve md5sum mhash mikmod mime ming mixer mmap mmx mmx2 mng moneyplex monkey motif mozdevelop mozilla mozsvg mp3 mpeg mpeg4 mplayer msession msnmysql mysqli nas ncurses network nis nls nptl ntlm nvidia nviz objc odbc oggvorbis opengl oscar oss pam pcntl pcre pcsc-lite pda pdf pdflib perl pfpro php physfs pic pie png posix ppds print procmail pthreads pwdb python qt quicktime readline regexp rtc ruby samba sasl scanner sdl session skey slang slp smartcard smime sndfile snmp soap sockets socks5 sox spamassassin speex spell spl sse sse2 ssl svg svga sysvipc szip tcltk tcpd tetex theora tidy tiff timidity tokenizer transcode truetype unicode usb video_cards_nvidia wddx wifi wmf wsconvert wxwin wxwindows x86 xalan xerces xine xinerama xml xml-rpc xml2 xmms xosd xpm xprint xsl xv xvid xvmc yahoo yaz yv12 zlib"
Comment 16 pi 2004-09-03 08:59:42 UTC
capi4k-utils-20040810 fails with linux26-headers-2.6.8.1

you can fix it by editing your /usr/include/linux/capi.h line 80 so that it looks like the those from the older linux26-headers

edited code from /usr/include/linux/capi.h:
---- code begin ----
typedef struct capi_manufacturer_cmd {
        unsigned long cmd;
/*      void __user *data;      #hacked by pi */
        void *data;
} capi_manufacturer_cmd;
---- code end ------

after that capi4k-utils will compile with linux26-headers-2.6.8.1

Please note: currently I'm having problems to get my fcdsl working - my problem is _not_ related to this header problem, but you should know that because of this I wasn't able to test if everything is 100% working again. The only thing I can say is that it compiles fine and I can connect to my isp using the latest fcdsl drivers from avm
Comment 17 Daniel Black (RETIRED) gentoo-dev 2004-09-23 17:03:33 UTC
Commited capi4k-utils-20040810.ebuild. This uses the patch from Sven. Thankyou. If this one works I'll remove the old version.

I'm hoping the fix I put in doesn't beak 2.4 header. If it does tell me.
Comment 18 Daniel Black (RETIRED) gentoo-dev 2004-09-23 23:12:31 UTC
kernel bug (ref URL) should fix this later.