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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051104/200776a4/attachment.htm
Joshua Colp - Asterlink
2005-Nov-04 08:50 UTC
RE: [Asterisk-Users] Can´t compile asterisk1.2beta2
This has already been discussed, you need to upgrade your GCC to 3 or higher. Joshua Colp _____ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051104/1ac98121/attachment.htm