chan_zap.c:62:2: #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 "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: structure has no member named `cid_ani'
chan_zap.c:8452: error: structure has no member named `callingplanrdnis'
chan_zap.c:8538: error: structure has no member named `redirectingreason'
chan_zap.c:8539: error: structure has no member named `redirectingreason'
chan_zap.c:8575: error: structure has no member named `redirectingreason'
chan_zap.c:8576: error: structure has no member named `redirectingreason'
chan_zap.c:8631: error: structure has no member named `progress'
chan_zap.c:8658: error: structure has no member named `progress'
chan_zap.c:8662: error: structure has no member named `cause'
chan_zap.c:8664: error: structure has no member named `cause'
chan_zap.c:8667: error: structure has no member named `cause'
chan_zap.c:8672: error: structure has no member named `cause'
chan_zap.c:8685: error: structure has no member named `progress'
chan_zap.c:8711: error: structure has no member named `progress'
chan_zap.c:8861: error: structure has no member named `aoc_units'
chan_zap.c:8864: error: structure has no member named `aoc_units'
chan_zap.c:8864: error: structure has no member named `aoc_units'
chan_zap.c:8914: error: structure has no member named `aoc_units'
chan_zap.c:8917: error: structure has no member named `aoc_units'
chan_zap.c:8917: error: structure 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:9378: warning: implicit declaration of function `pri_get_debug'
chan_zap.c: In function `setup_zap':
chan_zap.c:10662: error: `PRI_SWITCH_QSIG' undeclared (first use in this function)
chan_zap.c: In function `load_module':
chan_zap.c:10930: warning: passing arg 1 of `pri_set_error' from incompatible pointer type
chan_zap.c:10931: warning: passing arg 1 of `pri_set_message' from incompatible pointer type
make[1]: *** [chan_zap.o] Error 1
make[1]: Leaving directory `/root/asterisk-1.2.4/channels'
make: *** [subdirs] Error 1