----- Original Message ----- From: "Ryan V. Howerton" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 13, 2003 3:23 PM Subject: [Asterisk-Users] Errors in build.
> I am getting the following error when I try to build asterisk. > > gcc -c -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes > -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT > -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS > -DASTERISK_VERSION=\"CVS-11/13/03-12:48:12\" -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:1081: `ZT_ECHOTRAIN' undeclared (first use in this function) > chan_zap.c:1081: (Each undeclared identifier is reported only once > chan_zap.c:1081: for each function it appears in.) > make[1]: *** [chan_zap.o] Error 1 > make[1]: Leaving directory `/usr/src/asterisk/channels' > make: *** [subdirs] Error 1 > > Here is the script I use to conduct the build. > > #!/bin/sh > > echo "Now moving old directories." > mv zapata zapata-`date "+%Y%m%d"` > mv zaptel zaptel-`date "+%Y%m%d"` > mv libpri libpri-`date "+%Y%m%d"` > mv asterisk asterisk-`date "+%Y%m%d"` > > export CVSROOT=:pserver:[EMAIL PROTECTED]:/usr/cvsroot > echo "CVS password is anoncvs" > cvs login > cvs checkout zapata zaptel libpri asterisk > > cd zapata > make clean ; make install > cd zaptel Am I way off, or should the above line have been: cd ../zaptel > make clean ; make install > cd ../libpri > make clean ; make install > cd ../asterisk > make clean ; make install > > Can anyone clue me in as to what I am doing wrong? > > Thank you, > -Ryan > > -- > > > _______________________________________________ > Asterisk-Users mailing list > [EMAIL PROTECTED] > http://lists.digium.com/mailman/listinfo/asterisk-users > ----- Andrew Thompson ,���E,z�&j)b� b��,���E,z�%��lv("�g(�m����lv("�g(����Y���b�ا~�ڲ��.���
