[asterisk-r2] Problem Compile R2

Moises Silva moises.silva at gmail.com
Thu Nov 13 12:08:35 CST 2008


you need to update openr2. (svn update && make install)

It seem you have an old openr2 installation headers and a new Asterisk
branch. OR2_LOG_EX_DEBUG was recently defined in openr2.

Moy

On Thu, Nov 13, 2008 at 11:58 AM, martin rodriguez <gmartinr82 at gmail.com> wrote:
> Hi:
>
> I'm trying to implement R2 for Asterisk 1.4 and I'm having this problem at
> the time of compilation. There are problems with the definition of some
> function
>
> Anyone has any idea that can happen?
>
> chan_dahdi.c -> chan_dahdi.o
> chan_dahdi.c: In function 'dahdi_r2_write_log':
> chan_dahdi.c:1224: error: 'OR2_LOG_EX_DEBUG' undeclared (first use in this
> function)
> chan_dahdi.c:1224: error: (Each undeclared identifier is reported only once
> chan_dahdi.c:1224: error: for each function it appears in.)
> chan_dahdi.c: In function 'handle_mfcr2_show_variants':
> chan_dahdi.c:10794: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before '*' token
> chan_dahdi.c:10794: error: 'variants' undeclared (first use in this
> function)
> chan_dahdi.c:10795: warning: implicit declaration of function
> 'openr2_proto_get_variant_list'
> make[1]: *** [chan_dahdi.o] Error 1
>
> Thk, Bye
> Martin Rodriguez
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-r2 mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-r2
>



-- 
"I do not agree with what you have to say, but I'll defend to the
death your right to say it." Voltaire



More information about the asterisk-r2 mailing list