Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41911 - net-misc/asterisk-0.7.2 problems in chan_zap.c
Summary: net-misc/asterisk-0.7.2 problems in chan_zap.c
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Stefan Knoblich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-17 08:54 UTC by Hans-Christian Armingeon
Modified: 2004-03-15 16:45 UTC (History)
2 users (show)

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


Attachments
Zaptel 0.8.0 ebuild (zaptel-0.8.0.ebuild,1.26 KB, text/plain)
2004-03-13 13:58 UTC, Lance Albertson (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hans-Christian Armingeon 2004-02-17 08:54:46 UTC
gcc -shared -Xlinker -x -o chan_alsa.so chan_alsa.o -lasound -lm -ldl
gcc -c -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O3 -march=athlon-xp -funroll-loops -pipe -march=i686  -DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\"0.7.2\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\"     -DBUSYDETECT_MARTIN     -DNEW_PRI_HANGUP  -Wno-missing-prototypes -Wno-missing-declarations   -DZAPATA_PRI   -DIAX_TRUNKING -DCRYPTO -fPIC  -o chan_zap.o chan_zap.c
chan_zap.c: In function `zt_train_ec':
chan_zap.c:1113: error: `ZT_ECHOTRAIN' undeclared (first use in this function)
chan_zap.c:1113: error: (Each undeclared identifier is reported only once
chan_zap.c:1113: error: for each function it appears in.)
chan_zap.c: In function `do_monitor':
chan_zap.c:5038: error: `ZT_ONHOOKTRANSFER' undeclared (first use in this function)
make[1]: *** [chan_zap.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/asterisk-0.7.2/work/asterisk-0.7.2/channels'
make: *** [subdirs] Error 1

!!! ERROR: net-misc/asterisk-0.7.2 failed.
!!! Function src_compile, Line 56, Exitcode 2
!!! Make failed

Calculating dependencies  ...done!
>>> emerge (1 of 1) net-misc/asterisk-0.7.2 to /
>>> md5 src_uri ;-) asterisk-0.7.2.tar.gz

Reproducible: Always
Steps to Reproduce:
1. emerge -u asterisk
2.
3.



Expected Results:  
 

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040207-r0, 
2.4.24) 
================================================================= 
System uname: 2.4.24 i686 mobile AMD Athlon(tm) XP 2500+ 
Gentoo Base System version 1.4.3.13 
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.59-r3 
Automake: sys-devel/automake-1.8.2 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-O3 -march=athlon-xp -funroll-loops -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /lib/modules /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.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/afs/C /etc/afs/afsws /etc/gconf /etc/env.d" 
CXXFLAGS="-O3 -march=athlon-xp -funroll-loops -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo 
http://www.ibiblio.org/pub/Linux/distributions/gentoo 
http://gentoo.oregonstate.edu" 
MAKEOPTS="-j4" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X Xaw3d aalib acl acpi afs alsa apache2 apm arts avi berkdb bonobo cdr 
crypt cscope cups curl dga directfb doc dvd emacs encode esd ethereal evo 
fbcon firebird flash foomaticdb freetds gb gd gdbm ggi gif gnome gphoto2 gpm 
gps gstreamer gtk gtk2 gtkhtml guile imap imlib informix innodb ipv6 jack java 
jikes joystick jpeg kde kerberos krb4 ladcca lcm ldap leim libg++ libgda 
libwww lirc mad maildir mbox mcal memlimit mikmod mmx motif mozilla mpeg mpi 
mule mysql nas ncurses nhc98 nls oci8 odbc oggvorbis opengl oss pam pcmcia pda 
pdflib perl plotutils png pnp postgres ppds prelude python qt quicktime 
readline ruby18 samba sasl scanner sdl slang slp snmp socks5 spell ssl svga 
tcltk tcpd tetex tiff truetype usb wmf wxwindows x86 xface xinerama xml2 xmms 
xosd xv zeo zlib"
Comment 1 Lance Albertson (RETIRED) gentoo-dev 2004-02-24 08:40:10 UTC
Looks like this version of asterisk requires >=zaptel-0.8 to compile. I found this searching groups.

http://lists.digium.com/pipermail/asterisk-dev/2003-December/002525.html

The current zaptel in portage is only 0.7.0, while asterisk has a 0.8.1 version. I'm going to try and get this working with 0.8.1. Hopefully Stefan (stkn) can get us a new 0.8.1 ebuild soon :)
Comment 2 Hans-Christian Armingeon 2004-03-13 12:07:42 UTC
Is anyone still working on that issue?

Johnny
Comment 3 Lance Albertson (RETIRED) gentoo-dev 2004-03-13 13:58:07 UTC
Created attachment 27313 [details]
Zaptel 0.8.0 ebuild

Suggested ebuild for zaptel 0.8.0
Comment 4 Lance Albertson (RETIRED) gentoo-dev 2004-03-13 13:59:25 UTC
I just created that ebuild. All I did was rename the 0.7.0 version and changed the url the where the tar was found. It worked for me and asterisk compiled finally. Hopefully the voip team can get this submitted soon.
Comment 5 Stefan Knoblich (RETIRED) gentoo-dev 2004-03-15 16:45:23 UTC
Bumped the ebuilds, and corrected the asterisk(-0.7.2) depends