Summary: | ASTERISK-05390: Compile-Error in chan_agent.c (latest CVS) | ||
Reporter: | Holger Hornung (netview) | Labels: | |
Date Opened: | 2005-10-29 05:19:34 | Date Closed: | 2011-06-07 14:10:11 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | I receive the following compile-error on a i686-system: 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 `/home/share/asterisk/channels' make: *** [subdirs] Error 1 | ||
Comments: | By: Mark Spencer (markster) 2005-10-29 13:24:37 It's compiling fine here. Are you sure you're on latest CVS head? What compiler are you running (gcc -v)? By: Holger Hornung (netview) 2005-10-29 13:53:34 I am running gcc version 2.95.3 20010315 (SuSE). By: Mark Spencer (markster) 2005-10-29 14:00:29 The README for Asterisk documents that Asterisk requires GCC 3.0 or later. |