Asterisk 1.2.14 compilation error


I downloaded the asterisk 1.2.14 tar ball from When i compiled, got an error message in chan_zap.c

chan_zap.c: error: structure has no member named `call’

Can any one help me to locate proper files?


Just to give some more detail on the compilation problem in asterisk 1.2.14. I’m using Cent OS 4.2 (kernel 2.6.9-22.EL, 64 bit). Did no one face this problem?

Below is the compilation error messages,

gcc -c -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -Iinclude -I…/include -D_REENTRANT -D_GNU_SOURCE -O6 -march=k8 -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:9027: error: structure has no member namedcall’
make[1]: *** [chan_zap.o] Error 1
make[1]: Leaving directory `/usr/src/ast_svn_1.2.14/channels’
make: *** [subdirs] Error 1

After spending few hours on the problem found out the reason. It’s bcoz of the older version of libpri. Now, it’s fixed.