[Asterisk-Users] Errors in build.
Ryan V. Howerton
asterisk at thehowertons.net
Thu Nov 13 14:42:40 MST 2003
Good catch Andrew. Boy do I have egg on my face. Another case of not
seeing the forest because of all the trees in the way. Thanks.
Ryan
--
> ----- Original Message -----
> From: "Ryan V. Howerton" <asterisk at thehowertons.net>
> To: <asterisk-users at lists.digium.com>
> 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:anoncvs at cvs.digium.com:/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
>> Asterisk-Users at lists.digium.com
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>
> -----
> Andrew
> ThompsonÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÀ²×«ÉÿRÇ«²f¢)à+-Ë^®+$ýK
®ÏåËlýØ éÿr¡¶Úÿÿùb²Ûÿv("ºoÜ¢oæj)fjåËbú?jË^®+$þë
More information about the asterisk-users
mailing list