zaptel fails to compile with kernel 2.6.24 Reproducible: Always Actual Results: cc -march=athlon64 -O2 -pipe -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -DHOTPLUG_FIRMWARE -I. -g -Wall -m64 -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -o zttool zttool.o -lnewt cc -march=athlon64 -O2 -pipe -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -DHOTPLUG_FIRMWARE -I. -g -Wall -m64 -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -shared -Wl,-soname,libtonezone.so.1.0 -o libtonezone.so zonedata.lo tonezone.lo -lm gcc -march=athlon64 -O2 -pipe -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -DHOTPLUG_FIRMWARE -I. -g -Wall -m64 -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -o gendigits gendigits.c -lm ./gendigits > tones.h gcc -march=athlon64 -O2 -pipe -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -DHOTPLUG_FIRMWARE -I. -g -Wall -m64 -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -o makefw makefw.c ./makefw tormenta2.rbt tor2fw > tor2fw.h Loaded 69900 bytes from file ./makefw pciradio.rbt radfw > radfw.h Loaded 42096 bytes from file make -C /usr/src/linux SUBDIRS=/var/tmp/portage/net-misc/zaptel-1.2.23/work/zaptel-1.2.23 HOTPLUG_FIRMWARE=yes modules make[1]: se ingresa al directorio `/usr/src/linux-2.6.24-gentoo' scripts/Makefile.build:46: *** CFLAGS was changed in "/var/tmp/portage/net-misc/zaptel-1.2.23/work/zaptel-1.2.23/Makefile". Fix it to use EXTRA_CFLAGS. Alto. make[1]: *** [_module_/var/tmp/portage/net-misc/zaptel-1.2.23/work/zaptel-1.2.23] Error 2 make[1]: se sale del directorio `/usr/src/linux-2.6.24-gentoo' make: *** [modules] Error 2 emerge --info Portage 2.1.4 (default-linux/amd64/2007.0/desktop, gcc-4.2.2, glibc-2.7-r1, 2.6.24-gentoo x86_64) ================================================================= System uname: 2.6.24-gentoo x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ Timestamp of tree: Wed, 30 Jan 2008 11:30:07 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.4 dev-lang/python: 2.5.1-r5 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.24 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /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 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="es_AR.UTF-8" LINGUAS="es_AR es" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac acl acpi aim alsa amd64 apache2 apm arts artswrappersuid bash-completion berkdb bitmap-fonts bzip2 cairo cddb cdr cli cracklib crypt cups dbus dga dmi dri dts dv dvb dvd dvdr dvdread eds emboss emerald encode esd evo exif extensions fam ffmpeg fftw firefox flac fortran gd gdbm gif glitz gnome gphoto2 gpm graphviz gstreamer gtk gtk2 hal iconv icq imagemagick imap ipod ipv6 isdnlog jabber jpeg kde kerberos kqemu ldap lirc lm_sensors mad maildir mailwrapper midi mikmod mmap mmx mmxext mp3 mpeg mplayer mpm-worker msn mudflap musicbrainz ncurses nforce2 nls nptl nptlonly nsplugin ntfs nvidia ogg opengl openmp oss pam pcre pda pdf perl php pmu png pppd python qt3 qt3support qt4 quicktime rdesktop readline reflection samba sasl scanner sdl session sharedext slang smp sms snortsam spell spl sse sse2 ssl stream subtitles svg symlink sysfs tcpd theora threads threadsafe tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vhosts vorbis x264 xcomposite xml xorg xv xvmc yahoo zaptel zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es_AR es" LIRC_DEVICES="devinput" USERLAND="GNU" VIDEO_CARDS="nv nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
patch at http://bugs.digium.com/view.php?id=11141
any news?
I guess we are waiting for zaptel-1.2.24 and -1.4.9 which include the fix.
zaptel 1.2.24 released from upstream with kernel 2.6.24 compile fix: The Asterisk.org development team has released Zaptel versions 1.2.24 and 1.4.9. Zaptel 1.2.24 Highlights * Linux kernel 2.6.24 compatibility * New module parameters for tuning VPMADT032 echo canceller modules * Improved interrupt handling in the wcte12xp driver Zaptel 1.4.9 Highlights * Linux kernel 2.6.24 compatibility * New module parameters for tuning VPMADT032 echo canceller modules * Improved interrupt handling in the wcte12xp driver * Fixed TX/RX stream naming in ztmonitor * Report battery loss on analog FXO ports as a channel alarm (only usable in Asterisk 1.6/trunk) * Added optional ring detection method to better support UK CallerID reception Thank you for your support!
Just copy the ebuild and the patch to the new version. This works for 1.2.24.
Was wondering if more users could test this ebuild: http://bugs.gentoo.org/show_bug.cgi?id=204057 before doing a simple version bump to 1.2.24 in the official tree. (in case you're interested in oslec, of course)
net-misc/zaptel-1.2.24 in cvs. x86, amd64: please stabilize as this version is needed to build on kernel 2.6.24.
Why so hurry? 2.6.24 isn't stable at all hence we don't need to stabilize zaptel so soon. Readd x86 if you think different.
*** Bug 207993 has been marked as a duplicate of this bug. ***
So we should go for it now.
x86 stable
zaptel-1.2.24 is not multilib-strict compliant: Files matching a file type that is not allowed: usr/lib/libtonezone.so.1.0
voip, please, take a look at multilib issue mentioned in comment 12.
If stabilizing zaptel-1.2.24 on amd64 is not an option at this time: Could at least a check for kernel >=2.6.24 be added to the stable version, and the user referred to this bug?
net-misc/zaptel-1.2.26-r1 in cvs. should fix the multilib issue. amd64: please test and stabilize.
amd64 finally stable =) all arches done -> closing.