This has already been discussed, you need to upgrade your GCC to 3 or higher.

 

Joshua Colp

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rafael R. GV
Sent: Friday, November 04, 2005 11:47 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] Can´t compile asterisk1.2beta2

 

Hi

...
..
.
gcc -shared -Xlinker -x -o chan_modem_bestdata.so chan_modem_bestdata.o
gcc  -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS         -fomit-frame-pointer  -Wno-missing-prototypes -Wno-missing-declarations -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC    -c -o chan_agent.o chan_agent.c
chan_agent.c: In function `__login_exec':
chan_agent.c:1684: parse error before `char'
chan_agent.c:1701: `agent_goodbye' undeclared (first use in this function)
chan_agent.c:1701: (Each undeclared identifier is reported only once
chan_agent.c:1701: for each function it appears in.)
chan_agent.c:1708: `tmpoptions' undeclared (first use in this function)
chan_agent.c:1714: `update_cdr' undeclared (first use in this function)
chan_agent.c:1732: `context' undeclared (first use in this function)
chan_agent.c:1737: `play_announcement' undeclared (first use in this function)
chan_agent.c:1864: `filename' undeclared (first use in this function)
make[1]: *** [chan_agent.o] Error 1
make[1]: Leaving directory `/var/root/astbillFiles/asterisk/channels'
make: *** [subdirs] Error 1


any idea???

thanks
Rafael

_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to