I just checked out asterisk 1.2b2 for zaptel, libpri, asterisk and asterisk-sounds. Zaptel and libpri compile fine with a 'make clean' and 'make install'. However even after a make clean, the asterisk 'make install' does not finish on my redhat 7.3 system. CVS-D2005.09.12.05.00.00-09/14/05-02:05:11 is currently running. Here are the last few lines before erroring out. 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 `/usr/src/asterisk/channels' make: *** [subdirs] Error 1 Any ideas? Don Pobanz
Don Pobanz wrote:> I just checked out asterisk 1.2b2 for zaptel, libpri, asterisk and > asterisk-sounds. Zaptel and libpri compile fine with a 'make clean' > and 'make install'. However even after a make clean, the asterisk > 'make install' does not finish on my redhat 7.3 system. > CVS-D2005.09.12.05.00.00-09/14/05-02:05:11 is currently running. > > Here are the last few lines before erroring out. > > 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 `/usr/src/asterisk/channels' > make: *** [subdirs] Error 1 > > Any ideas? >What version of gcc are you using ? Robert