[Asterisk-Dev] RE: Problems in chan_zap.c with libr2 support.
Danilo Lotina F.
dlotina at netglobalis.net
Wed Jun 30 06:52:23 MST 2004
Hi,
I just change the line 5135 to
chan = zt_new(i, AST_STATE_RING, 0, SUB_REAL, 0, 0);
And it compile fine
Regards
> -----Mensaje original-----
> De: Danilo Lotina F. [mailto:dlotina at netglobalis.net]
> Enviado el: Miércoles, 30 de Junio de 2004 9:45
> Para: asterisk-dev at lists.digium.com
> Asunto: Problems in chan_zap.c with libr2 support.
>
>
> Hi,
>
> I have problems compiling asterisk (latest cvs) with libr2
> (latest cvs) support. (zaptel latest cvs)
>
> I got the following in chan_zap.c:
>
> gcc -c -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT
> -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS
> -DASTERISK_VERSION=\"CVS-HEAD-06/29/04-19:08:40\"
> -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\"
> -DASTLIBDIR=\"/usr/lib/asterisk\"
> -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\"
> -DASTSPOOLDIR=\"/var/spool/asterisk\"
> -DASTLOGDIR=\"/var/log/asterisk\"
> -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\"
> -DASTMODDIR=\"/usr/lib/asterisk/modules\"
> -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -DBUSYDETECT_MARTIN
> -Wno-missing-prototypes -Wno-missing-declarations
> -DZAPATA_PRI -DZAPATA_R2 -DIAX_TRUNKING -DCRYPTO -fPIC -o
> chan_zap.o chan_zap.c
> chan_zap.c: In function `handle_init_r2_event':
> chan_zap.c:5135: too few arguments to function `zt_new'
> make[1]: *** [chan_zap.o] Error 1
> make[1]: Leaving directory `/usr/src/asterisk/channels'
> make: *** [subdirs] Error 1
>
> Thanks for your help.
>
>
> Danilo Lotina F.
> Gerente Técnico
> NetGlobalis S.A
> <dlotina at netglobalis.net>
>
More information about the asterisk-dev
mailing list