[Asterisk-Users] Zaptel Compile Problems with 1.0 Stable
Scott Stingel
scott at evtmedia.com
Tue Nov 16 10:09:35 MST 2004
Matthew:
Not sure if this is the problem, but I usually compile in this order,
different from yours:
zaptel
libpri
asterisk
asterisk-addons
regards,
Scott M. Stingel
President,
Emerging Voice Technology, Inc.
Palo Alto California & London England
www.evtmedia.com
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Matthew Boehm
Sent: Tuesday, November 16, 2004 9:04 AM
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] Zaptel Compile Problems with 1.0 Stable
Just recieved our T100P for testing PRI connectivity to Asterisk. I am using
Asterisk 1.0 and libpri 1.0 and zaptel 1.0.
I compiled/installed libpri first and had no errors.
I compiled/installed zaptel second and had no errors.
I compiled asterisk third and got the following warning:
if [ -d CVS ] && ! [ -f .version ]; then echo CVS-v1-0-10/06/04-19:07:31 >
.version; fi for x in res channels pbx apps codecs formats agi cdr astman
stdtime; do make -C $x || exit 1 ; done
make[1]: Entering directory `/usr/src/asterisk/res'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/asterisk/res'
make[1]: Entering directory `/usr/src/asterisk/channels'
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-v1-0-10/06/04-19:07:31
\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/li
b/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run/
asterisk\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/aste
risk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/
asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -DBUSYDETEC
T_MARTIN -Wno-missing-prototypes -Wno-missing-declarations -DZAPATA_P
RI -DIAX_TRUNKING -DCRYPTO -fPIC -o chan_zap.o chan_zap.c
chan_zap.c: In function `handle_pri_show_span':
chan_zap.c:8267: warning: implicit declaration of function `pri_dump_info'
gcc -shared -Xlinker -x -o chan_zap.so chan_zap.o -lpri -ltonezone
This warning is causing a crash when I attempt to start asterisk with
chan_zap.so loaded.
Any ideas on why I'm getting this?
[root at asterisk src]# grep -ir pri_dump_info asterisk/* zaptel/* libpri/*
asterisk/channels/chan_zap.c:
pri_dump_info(pris[span-1].pri);
libpri/libpri.h:#define PRI_DUMP_INFO_STR libpri/libpri.h:extern char
*pri_dump_info_str(struct pri *pri); libpri/pri.c:char
*pri_dump_info_str(struct pri *pri)
Is this possibly just a typo and that in chan_zap it should be
pri_dump_info_str?
Thanks,
Matthew
_______________________________________________
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