[Asterisk-Users] chan_agent.c fails to compile

BJ Weschke bweschke at gmail.com
Thu Nov 3 12:26:46 MST 2005


 gcc 3.0 and up is now a minimum requirement to build Asterisk.

 This is most likely your problem.

On 11/3/05, Matt Hess <mhess at livewirenet.com> wrote:
> gcc version 2.95.3 20010125 (prerelease, propolice)
> on OpenBSD 3.6.
>
>
> BJ Weschke wrote:
> >  Compiled fine here. What version of GCC are you using?
> >
> > On 11/3/05, Matt Hess <mhess at livewirenet.com> wrote:
> >
> >>Using cvs head downloaded as of just a few minutes ago..
> >>
> >>chan_agent.c: In function `action_agents':
> >>chan_agent.c:1446: warning: long int format, time_t arg (arg 7)
> >>chan_agent.c: In function `__login_exec':
> >>chan_agent.c:1684: syntax 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)
> >>gmake[1]: *** [chan_agent.o] Error 1
> >>gmake[1]: Leaving directory `/usr/local/src/asterisk/channels'
> >>gmake: *** [subdirs] Error 1
> >>
> >>I am feeling rather blind as I cannot see the issue.. can some kind
> >>person take a look?
> >>
> >>
> >>
> >>_______________________________________________
> >>--Bandwidth and Colocation sponsored by Easynews.com --
> >>
> >>Asterisk-Users mailing list
> >>Asterisk-Users at 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
> >>
> >>
> >>
> >
> > _______________________________________________
> > --Bandwidth and Colocation sponsored by Easynews.com --
> >
> > Asterisk-Users mailing list
> > Asterisk-Users at 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
> >
> >
>
>
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
>
> Asterisk-Users mailing list
> Asterisk-Users at 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
>
>
>



More information about the asterisk-users mailing list