Hi<br>
<br>
...<br>
..<br>
.<br>
gcc -shared -Xlinker -x -o chan_modem_bestdata.so chan_modem_bestdata.o<br>
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<br>
chan_agent.c: In function `__login_exec':<br>
chan_agent.c:1684: parse error before `char'<br>
chan_agent.c:1701: `agent_goodbye' undeclared (first use in this function)<br>
chan_agent.c:1701: (Each undeclared identifier is reported only once<br>
chan_agent.c:1701: for each function it appears in.)<br>
chan_agent.c:1708: `tmpoptions' undeclared (first use in this function)<br>
chan_agent.c:1714: `update_cdr' undeclared (first use in this function)<br>
chan_agent.c:1732: `context' undeclared (first use in this function)<br>
chan_agent.c:1737: `play_announcement' undeclared (first use in this function)<br>
chan_agent.c:1864: `filename' undeclared (first use in this function)<br>
make[1]: *** [chan_agent.o] Error 1<br>
make[1]: Leaving directory `/var/root/astbillFiles/asterisk/channels'<br>
make: *** [subdirs] Error 1<br>
<br>
<br>
any idea???<br>
<br>
thanks <br>
Rafael<br>
<br>