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:62:2: error: #error "You need newer libpri" chan_zap.c: In function 'zt_call': chan_zap.c:2090: warning: implicit declaration of function 'pri_facility_enable' chan_zap.c:2125: warning: implicit declaration of function 'pri_sr_set_redirecting' chan_zap.c:7852:2: error: #error "Upgrade your libpri" chan_zap.c: In function 'pri_dchannel': chan_zap.c:8210: warning: implicit declaration of function 'pri_restart' chan_zap.c:8319: error: 'PRI_EVENT_KEYPAD_DIGIT' undeclared (first use in this function) chan_zap.c:8319: error: (Each undeclared identifier is reported only once chan_zap.c:8319: error: for each function it appears in.) chan_zap.c:8320: error: 'union ' has no member named 'digit' chan_zap.c:8323: error: 'union ' has no member named 'digit' chan_zap.c:8323: error: 'union ' has no member named 'digit' chan_zap.c:8325: error: 'union ' has no member named 'digit' chan_zap.c:8329: error: 'union ' has no member named 'digit' chan_zap.c:8331: error: 'union ' has no member named 'digit' chan_zap.c:8335: error: 'union ' has no member named 'digit' chan_zap.c:8447: error: 'struct zt_pvt' has no member named 'cid_ani' chan_zap.c:8452: error: 'pri_event_ring' has no member named 'callingplanrdnis' chan_zap.c:8538: error: 'pri_event_ring' has no member named 'redirectingreason' chan_zap.c:8539: error: 'pri_event_ring' has no member named 'redirectingreason' chan_zap.c:8575: error: 'pri_event_ring' has no member named 'redirectingreason' chan_zap.c:8576: error: 'pri_event_ring' has no member named 'redirectingreason' chan_zap.c:8631: error: 'pri_event_ringing' has no member named 'progress' chan_zap.c:8658: error: 'pri_event_proceeding' has no member named 'progress' chan_zap.c:8662: error: 'pri_event_proceeding' has no member named 'cause' chan_zap.c:8664: error: 'pri_event_proceeding' has no member named 'cause' chan_zap.c:8667: error: 'pri_event_proceeding' has no member named 'cause' chan_zap.c:8672: error: 'pri_event_proceeding' has no member named 'cause' chan_zap.c:8685: error: 'pri_event_proceeding' has no member named 'progress' chan_zap.c:8711: error: 'pri_event_proceeding' has no member named 'progress' chan_zap.c:8861: error: 'pri_event_hangup' has no member named 'aoc_units' chan_zap.c:8864: error: 'pri_event_hangup' has no member named 'aoc_units' chan_zap.c:8864: error: 'pri_event_hangup' has no member named 'aoc_units' chan_zap.c:8914: error: 'pri_event_hangup' has no member named 'aoc_units' chan_zap.c:8917: error: 'pri_event_hangup' has no member named 'aoc_units' chan_zap.c:8917: error: 'pri_event_hangup' has no member named 'aoc_units' chan_zap.c:8044: warning: unused variable 'plancallingani' chan_zap.c: In function 'handle_pri_show_debug': chan_zap.c:9382: warning: implicit declaration of function 'pri_get_debug' chan_zap.c: In function 'setup_zap': chan_zap.c:10666: error: 'PRI_SWITCH_QSIG' undeclared (first use in this function) chan_zap.c: In function 'load_module': chan_zap.c:10934: warning: passing argument 1 of 'pri_set_error' from incompatible pointer type chan_zap.c:10935: warning: passing argument 1 of 'pri_set_message' from incompatible pointer type make[1]: *** [chan_zap.o] Error 1 make[1]: Leaving directory `/usr/src/asterisk-1.2.6/channels' make: *** [subdirs] Error 1