[Asterisk-Dev] Problems in chan_zap.c with libr2 support.

Danilo Lotina F. dlotina at netglobalis.net
Wed Jun 30 06:45:00 MST 2004


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-decla
rations -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -march=i6
86   -DZAPTEL_OPTIMIZATIONS  -DASTERISK_VERSION=\"CVS-HEAD-06/29/04-19:08:40
\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/li
b/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\
" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -D
ASTCONFPATH=\"/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  -DZAP
ATA_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