Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 201108 - [voip overlay] net-misc/zaptel-1.4.4 won't compile on linux-2.6.23-gentoo-r3
Summary: [voip overlay] net-misc/zaptel-1.4.4 won't compile on linux-2.6.23-gentoo-r3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: voip herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-03 14:44 UTC by Sven Schwyn (svoop)
Modified: 2008-03-23 17:18 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 Sven Schwyn (svoop) 2007-12-03 14:44:57 UTC
zaptel-1.4.4 (from voip overlay) compiled up until linux-2.6.22-gentoo-r9, yet on linux-2.6.23-gentoo-r3 it doesn't.

I'm not sure whether this is the right place to put bugs for overlays, if not, please point me to the appropriate place, thanks!


Reproducible: Always

Steps to Reproduce:
emerge zaptel
Actual Results:  
/var/tmp/portage/net-misc/zaptel-1.4.4/work/zaptel-1.4.4/wctdm24xxp.c:3522: error: implicit declaration of function 'pci_module_init'
make[3]: *** [/var/tmp/portage/net-misc/zaptel-1.4.4/work/zaptel-1.4.4/wctdm24xxp.o] Error 1
make[2]: *** [_module_/var/tmp/portage/net-misc/zaptel-1.4.4/work/zaptel-1.4.4] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.23-gentoo-r3'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/var/tmp/portage/net-misc/zaptel-1.4.4/work/zaptel-1.4.4'
make: *** [all] Error 2
 * 
 * ERROR: net-misc/zaptel-1.4.4 failed.
 * Call stack:
 *             ebuild.sh, line 1701:  Called dyn_compile
 *             ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *             ebuild.sh, line   44:  Called src_compile
 *   zaptel-1.4.4.ebuild, line  264:  Called die
 * The specific snippet of code:
 *   	make KVERS=${KV_FULL} \
 *   	     KSRC=${KV_DIR} ARCH=$(tc-arch-kernel) || die
 *  The die message:
 *   (no error message)

Expected Results:  
no error

Portage 2.1.3.19 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r3 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4000+
Timestamp of tree: Mon, 03 Dec 2007 12:16:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -msse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -msse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer sandbox sfperms unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo ftp://ftp.caliu.info/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
LINGUAS="en de es fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/voip /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="16bit X X509 aac acl alsa amd64 aotuv apache2 berkdb bigpatch bitmap-fonts bluetooth bzip2 cairo ccache cdda cddb cdparanoia chroot cli cmdsubmenu cracklib crypt css ctype cups curl curlwrappers dar64 dri dts dvb dvd dvdr dvdread encode exif expat fam fastcgi flac flatfile fortran gd gdbm gif glitz gpm gtk icecast iconv idea imagemagick imlib innodb ipv6 isdnlog jpeg jpeg2k ldap libwww lirc live lm_sensors mad maildir mbrola mhash midi mime mmx mp3 mpeg mpm-prefork mudflap mysql ncurses network nls nocd nptl nptlonly nvidia ogg opengl openmp pam pam_chroot pcntl pcre pdf perl pg-intdatetime php png postgres pppd python quicktime readline reflection rrdtool sasl sdl session setup setup-plugin sharedmem sndfile soap sockets sox speex spl sqlite3 sse sse2 ssl symlink tcpd tiff tokenizer truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd vhosts vorbis xanim xml xmlrpc xorg xpm xsl xv xvid yaepg yp zaptel zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" DVB_CARDS="tda10046" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de es fr" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sven Schwyn (svoop) 2007-12-10 16:28:07 UTC
zaptel-1.4.4 is not compatible with kernels >=2.6.23. This has been fixed in zaptel-1.4.7 (or maybe even earlier), but there are too many other changes I'm not familiar with, so I'm not able to create an ebuild for it myself.

I have however patched the zaptel-1.4.4 ebuild as a workaround. If anybody wants to use zaptel-1.4.4 on kernels >=2.6.23, check it out here:

https://svn.bitcetera.com/svn/gentoo/develop/net-misc/zaptel/

However, somebody with real skills please, please do the zaptel-1.4.7 ebuild - BIG THANKS! 
Comment 2 deKx willfrag 2008-01-03 18:26:33 UTC
I have the same problem but cannot use the patch on the SVN you provided cause there's a login screen...
Can you post the patch or the credentials to access the SVN

(In reply to comment #1)
> zaptel-1.4.4 is not compatible with kernels >=2.6.23. This has been fixed in
> zaptel-1.4.7 (or maybe even earlier), but there are too many other changes I'm
> not familiar with, so I'm not able to create an ebuild for it myself.
> I have however patched the zaptel-1.4.4 ebuild as a workaround. If anybody
> wants to use zaptel-1.4.4 on kernels >=2.6.23, check it out here:
> https://svn.bitcetera.com/svn/gentoo/develop/net-misc/zaptel/
> However, somebody with real skills please, please do the zaptel-1.4.7 ebuild -
> BIG THANKS! 

Comment 3 Sven Schwyn (svoop) 2008-01-04 18:35:49 UTC
Oops, sorry about this, the last update broke my config for external IPs. The SVN should be accessible now.
Comment 4 Ernie Rojas 2008-02-04 07:31:54 UTC
great, i had the same error and with your patch i fixed it
Comment 5 Sven Schwyn (svoop) 2008-03-23 17:18:45 UTC
On my amd64 box I could compile and load zaptel-1.4.9.2 on 2.6.24-gentoo-r3 today, so you shouldn't use the pathed 1.4.4 driver anymore.

(As a side note: Compiling the zaptel-1.4.9.2 driver on the old kernel yet with the kernel source symlink set to the new and compiled kernel 2.6.24 didn't work. I have to re-emerge zaptel once I've bootet into the 2.6.24 kernel.)