[Asterisk-Users] Latest CVS causes compile time error

Mark Spencer markster at digium.com
Tue Mar 25 15:06:24 MST 2003


Update your libpri

On Tue, 25 Mar 2003, Lenny Tropiano / asterisk.org Mailing list wrote:

> gcc -shared -Xlinker -x -o chan_phone.so chan_phone.o
> gcc -c -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -march=i586  -DASTERISK_VERSION=\"CVS-03/25/03-10:49:30\" -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\"    -Wno-missing-prototypes -Wno-missing-declarations     -DIAX_TRUNKING -DCRYPTO  -o chan_zap.o chan_zap.c
> chan_zap.c: In function `zt_digit':
> chan_zap.c:677: warning: implicit declaration of function `pri_information'
> chan_zap.c:677: structure has no member named `pri'
> chan_zap.c:677: structure has no member named `call'
> chan_zap.c: In function `zt_call':
> chan_zap.c:1144: warning: unused variable `s'
> make[1]: *** [chan_zap.o] Error 1
>
> Yes, I have the latest "zaptel" too.  Any ideas?
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
>




More information about the asterisk-users mailing list