I got follwing error when tried to compile asterisk 1.2.11 on redhat linux 9: make[1]: Entering directory `/home/voipuser/asterisk-1.2.11/db1-ast' make[1]: `libdb1.a' is up to date. make[1]: Leaving directory `/home/voipuser/asterisk-1.2.11/db1-ast' make[1]: Entering directory `/home/voipuser/asterisk-1.2.11/stdtime' make[1]: `libtime.a' is up to date. make[1]: Leaving directory `/home/voipuser/asterisk-1.2.11/stdtime' for x in res channels pbx apps codecs formats agi cdr funcs utils stdtime; do make -C $x || exit 1 ; done make[1]: Entering directory `/home/voipuser/asterisk-1.2.11/res' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/voipuser/asterisk-1.2.11/res' make[1]: Entering directory `/home/voipuser/asterisk-1.2.11/channels' gcc -c -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -Wno-missing-prototypes -Wno-missing-declarations -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC -o chan_zap.o chan_zap.c chan_zap.c: In function `pri_dchannel': chan_zap.c:9025: structure has no member named `call' make[1]: *** [chan_zap.o] Error 1 make[1]: Leaving directory `/home/voipuser/asterisk-1.2.11/channels' make: *** [subdirs] Error 1 How can I fix it? gc -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060831/68d1b92a/attachment.htm
Joshua Colp
2006-Aug-31 07:31 UTC
[asterisk-users] Got error when compiling asterisk 1.2.11
You need to update your version of libpri to the latest as well. gc wrote:> I got follwing error when tried to compile asterisk 1.2.11 on redhat > linux 9: > gcc -c -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes > -Wmissing-declarations -g3 -Iinclude -I../include -D_REENTRANT > -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS > -fomit-frame-pointer -Wno-missing-prototypes -Wno-missing-declarations > -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC -o chan_zap.o chan_zap.c > chan_zap.c: In function `pri_dchannel': > chan_zap.c:9025: structure has no member named `call' > make[1]: *** [chan_zap.o] Error 1 > make[1]: Leaving directory `/home/voipuser/asterisk-1.2.11/channels' > make: *** [subdirs] Error 1 > How can I fix it? > > gc-- Joshua Colp Software Developer Digium, Inc.