I got the error below while compiling asterisk. Please offer me some help. hubert for x in res channels pbx apps codecs formats agi cdr astman stdtime; do make -C $x depend || exit 1 ; done make[1]: Entering directory `/etc/asterisk/asterisk-0.7.2/res' make[1]: Nothing to be done for `depend'. make[1]: Leaving directory `/etc/asterisk/asterisk-0.7.2/res' make[1]: Entering directory `/etc/asterisk/asterisk-0.7.2/channels' make[1]: Nothing to be done for `depend'. make[1]: Leaving directory `/etc/asterisk/asterisk-0.7.2/channels' make[1]: Entering directory `/etc/asterisk/asterisk-0.7.2/pbx' make[1]: Nothing to be done for `depend'. make[1]: Leaving directory `/etc/asterisk/asterisk-0.7.2/pbx' make[1]: Entering directory `/etc/asterisk/asterisk-0.7.2/apps' make[1]: Nothing to be done for `depend'. make[1]: Leaving directory `/etc/asterisk/asterisk-0.7.2/apps' make[1]: Entering directory `/etc/asterisk/asterisk-0.7.2/codecs' make[1]: Nothing to be done for `depend'. make[1]: Leaving directory `/etc/asterisk/asterisk-0.7.2/codecs' make[1]: Entering directory `/etc/asterisk/asterisk-0.7.2/formats' make[1]: Nothing to be done for `depend'. make[1]: Leaving directory `/etc/asterisk/asterisk-0.7.2/formats' make[1]: Entering directory `/etc/asterisk/asterisk-0.7.2/agi' make[1]: Nothing to be done for `depend'. make[1]: Leaving directory `/etc/asterisk/asterisk-0.7.2/agi' make[1]: Entering directory `/etc/asterisk/asterisk-0.7.2/cdr' make[1]: Nothing to be done for `depend'. make[1]: Leaving directory `/etc/asterisk/asterisk-0.7.2/cdr' make[1]: Entering directory `/etc/asterisk/asterisk-0.7.2/astman' make[1]: Nothing to be done for `depend'. make[1]: Leaving directory `/etc/asterisk/asterisk-0.7.2/astman' make[1]: Entering directory `/etc/asterisk/asterisk-0.7.2/stdtime' make[1]: Nothing to be done for `depend'. make[1]: Leaving directory `/etc/asterisk/asterisk-0.7.2/stdtime' cd editline && unset CFLAGS LIBS && test -f config.h || ./configure make -C editline libedit.a make[1]: Entering directory `/etc/asterisk/asterisk-0.7.2/editline' make[1]: `libedit.a' is up to date. make[1]: Leaving directory `/etc/asterisk/asterisk-0.7.2/editline' make[1]: Entering directory `/etc/asterisk/asterisk-0.7.2/db1-ast' make[1]: `libdb1.a' is up to date. make[1]: Leaving directory `/etc/asterisk/asterisk-0.7.2/db1-ast' make[1]: Entering directory `/etc/asterisk/asterisk-0.7.2/stdtime' make[1]: `libtime.a' is up to date. make[1]: Leaving directory `/etc/asterisk/asterisk-0.7.2/stdtime' if [ -d CVS ] && ! [ -f .version ]; then echo 0.7.2 > .version; fi for x in res channels pbx apps codecs formats agi cdr astman stdtime; do make -C $x || exit 1 ; done make[1]: Entering directory `/etc/asterisk/asterisk-0.7.2/res' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/etc/asterisk/asterisk-0.7.2/res' make[1]: Entering directory `/etc/asterisk/asterisk-0.7.2/channels' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/etc/asterisk/asterisk-0.7.2/channels' make[1]: Entering directory `/etc/asterisk/asterisk-0.7.2/pbx' gcc -shared -Xlinker -x -o pbx_gtkconsole.so pbx_gtkconsole.o `gtk-config --libs gthread` /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../../i486-suse-linux/bin/ld: cannot find -lXi collect2: ld returned 1 exit status make[1]: *** [pbx_gtkconsole.so] Error 1 make[1]: Leaving directory `/etc/asterisk/asterisk-0.7.2/pbx' make: *** [subdirs] Error 1 "The secret of a person's success is discovered in their daily agenda. "
While trying to compile asterisk, I get the following errors - -------------------------------------------------- bison ast_expr.y --name-prefix=ast_yy -o ast_expr.c ast_expr.y:118: unrecognized: %locations ast_expr.y:118: Skipping to next % ast_expr.y:149: invalid @-construct ast_expr.y:149: $. is invalid ... ... ... ----------------------------------------------------- Any help in solving this would be greatly appreciated. thanks BK
I am getting an error compiling latest stable version from CVS, but compiling CVS-HEAD on the same machine compile ok. I have installed TE110P the error is chan_zap.c: In function `zt_handle_event': chan_zap.c:2772: error: `ZT_EVENT_DTMFDIGIT' undeclared (first use in this function) chan_zap.c:2772: error: (Each undeclared identifier is reported only once chan_zap.c:2772: error: for each function it appears in.) chan_zap.c: In function `load_module': chan_zap.c:7700: warning: passing arg 1 of `pri_set_error' from incompatible pointer type chan_zap.c:7701: warning: passing arg 1 of `pri_set_message' from incompatible pointer type make[1]: *** [chan_zap.o] Error 1 make[1]: Leaving directory `/usr/src/asterisk/channels' make: *** [subdirs] Error 1
Anyone can help with this? cli.c:49:30: asterisk/version.h: No such file or directory cli.c: In function `handle_version': cli.c:414: error: `ASTERISK_VERSION' undeclared (first use in this function) cli.c:414: error: (Each undeclared identifier is reported only once cli.c:414: error: for each function it appears in.) make: *** [cli.o] Error 1 **************************************************** ASTERISK installed. Installation finished. **************************************************** I'm compiling bristuff-0.3.0-PRE-1q (asterisk-1.2.9.1) Libpri, zaptel and zaphfc compiled witout problem. Thanks Giordano Giordano Grandis e-mail : g.grandis@invidea.it VoIP: sip:g.grandis@vivo.invidea.it <mailto:g.disimone@vivo.invidea.it> <outbind://57/invidea_3.jpg> _________________________________________________________www.invidea.it <http://%5c%5cwww.invidea.it/> TecnoJest Srl Verrotti c/o Centro attivit? "Espansione II, int 4", 65016 Montesilvano (PE) Tel [+39] 085 4450011- Fax [+39] 085 4459477 - PI 01635460684 Le informazioni contenute nella presente e-mail e nei documenti eventualmente allegati possono essere confidenziali e sono comunque riservate al destinatario della stessa. La loro diffusione, distribuzione e/o copiatura da parte di terzi ? proibita. Se avete ricevuto questa comunicazione per errore, Vi preghiamo di informare immediatamente il mittente del messaggio e di distruggere questa e-mail. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060621/197619a7/attachment.htm