chan_zap.c: In function 'zt_call': chan_zap.c:2224: error: 'BRI_NETWORK_PTMP' undeclared (first use in this function) chan_zap.c:2224: error: (Each undeclared identifier is reported only once chan_zap.c:2224: error: for each function it appears in.) chan_zap.c:2224: error: 'BRI_NETWORK' undeclared (first use in this function) chan_zap.c:2302: error: too many arguments to function 'pri_sr_set_bearer' chan_zap.c: In function 'pri_find_dchan': chan_zap.c:2503: error: 'BRI_CPE_PTMP' undeclared (first use in this function) chan_zap.c: In function 'zt_hangup': chan_zap.c:2723: error: too many arguments to function 'pri_hangup' chan_zap.c:2765: error: too many arguments to function 'pri_hangup' chan_zap.c:2777: error: 'BRI_NETWORK_PTMP' undeclared (first use in this function) chan_zap.c: In function 'zt_handle_event': chan_zap.c:3947: error: too many arguments to function 'pri_hangup' chan_zap.c: In function 'ss_thread': chan_zap.c:5570: error: 'BRI_NETWORK' undeclared (first use in this function) chan_zap.c:5570: error: 'BRI_NETWORK_PTMP' undeclared (first use in this function) chan_zap.c: In function 'handle_init_event': chan_zap.c:6674: error: 'BRI_CPE_PTMP' undeclared (first use in this function) chan_zap.c: In function 'mkintf': chan_zap.c:7359: error: 'BRI_NETWORK_PTMP' undeclared (first use in this function) chan_zap.c: In function 'pri_fixup_principle': chan_zap.c:8398: error: 'BRI_CPE_PTMP' undeclared (first use in this function) chan_zap.c:8398: error: 'BRI_CPE' undeclared (first use in this function) chan_zap.c:8460: error: 'BRI_NETWORK_PTMP' undeclared (first use in this function) chan_zap.c:8460: error: 'BRI_NETWORK' undeclared (first use in this function) chan_zap.c: In function 'pri_dchannel': chan_zap.c:8836: error: 'BRI_CPE' undeclared (first use in this function) chan_zap.c:8836: error: 'BRI_CPE_PTMP' undeclared (first use in this function) chan_zap.c:8863: warning: implicit declaration of function 'pri_shutdown' chan_zap.c:8893: error: 'BRI_NETWORK_PTMP' undeclared (first use in this function) chan_zap.c:8895: error: 'pri_event_generic' has no member named 'tei' chan_zap.c:8953: error: 'pri_event_generic' has no member named 'tei' chan_zap.c:8955: error: 'pri_event_generic' has no member named 'tei' chan_zap.c:8961: error: 'pri_event_generic' has no member named 'tei' chan_zap.c:9138: error: too many arguments to function 'pri_hangup' chan_zap.c:9178: error: 'pri_event_ring' has no member named 'tei' chan_zap.c:9192: error: too many arguments to function 'pri_hangup' chan_zap.c:9245: error: 'BRI_NETWORK' undeclared (first use in this function) chan_zap.c:9353: error: 'pri_event_ring' has no member named 'lowlayercompat' chan_zap.c:9354: error: 'pri_event_ring' has no member named 'lowlayercompat' chan_zap.c:9360: error: 'pri_event_ring' has no member named 'lowlayercompat' chan_zap.c:9361: error: 'pri_event_ring' has no member named 'lowlayercompat' chan_zap.c:9375: error: 'pri_event_ring' has no member named 'callingplanuser' chan_zap.c:9375: error: 'pri_event_ring' has no member named 'callingpresuser' chan_zap.c:9406: error: too many arguments to function 'pri_hangup' chan_zap.c:9415: error: 'pri_event_ring' has no member named 'lowlayercompat' chan_zap.c:9416: error: 'pri_event_ring' has no member named 'lowlayercompat' chan_zap.c:9452: error: 'pri_event_ring' has no member named 'callingplanuser' chan_zap.c:9452: error: 'pri_event_ring' has no member named 'callingpresuser' chan_zap.c:9461: error: too many arguments to function 'pri_hangup' chan_zap.c:9471: error: too many arguments to function 'pri_hangup' chan_zap.c:9479: error: too many arguments to function 'pri_hangup' chan_zap.c:9638: error: 'PRI_EVENT_SUSPEND_REQ' undeclared (first use in this function) chan_zap.c:9640: warning: implicit declaration of function 'pri_suspend_reject' chan_zap.c:9640: error: 'pri_event' has no member named 'suspend_req' chan_zap.c:9643: error: 'pri_event' has no member named 'suspend_req' chan_zap.c:9661: error: 'pri_event' has no member named 'suspend_req' chan_zap.c:9666: warning: implicit declaration of function 'pri_suspend_acknowledge' chan_zap.c:9666: error: 'pri_event' has no member named 'suspend_req' chan_zap.c:9671: error: 'pri_event' has no member named 'suspend_req' chan_zap.c:9676: error: 'pri_event' has no member named 'suspend_req' chan_zap.c:9681: error: 'PRI_EVENT_RESUME_REQ' undeclared (first use in this function) chan_zap.c:9687: warning: implicit declaration of function 'pri_resume_reject' chan_zap.c:9687: error: 'pri_event' has no member named 'resume_req' chan_zap.c:9691: error: 'pri_event' has no member named 'resume_req' chan_zap.c:9705: error: 'pri_event' has no member named 'resume_req' chan_zap.c:9705: error: 'pri_event' has no member named 'resume_req' chan_zap.c:9711: error: 'pri_event' has no member named 'resume_req' chan_zap.c:9731: error: 'pri_event' has no member named 'resume_req' chan_zap.c:9751: warning: implicit declaration of function 'pri_resume_acknowledge' chan_zap.c:9751: error: 'pri_event' has no member named 'resume_req' chan_zap.c:9758: error: 'pri_event' has no member named 'resume_req' chan_zap.c:9760: error: 'pri_event' has no member named 'resume_req' chan_zap.c:9765: error: 'PRI_EVENT_HOLD_REQ' undeclared (first use in this function) chan_zap.c:9767: warning: implicit declaration of function 'pri_hold_reject' chan_zap.c:9767: error: 'pri_event' has no member named 'hold_req' chan_zap.c:9770: error: 'pri_event' has no member named 'hold_req' chan_zap.c:9793: error: 'pri_event' has no member named 'hold_req' chan_zap.c:9794: error: 'pri_event' has no member named 'hold_req' chan_zap.c:9795: error: 'pri_event' has no member named 'hold_req' chan_zap.c:9805: warning: implicit declaration of function 'pri_hold_acknowledge' chan_zap.c:9805: error: 'pri_event' has no member named 'hold_req' chan_zap.c:9817: error: 'pri_event' has no member named 'hold_req' chan_zap.c:9820: error: 'pri_event' has no member named 'hold_req' chan_zap.c:9824: error: 'pri_event' has no member named 'hold_req' chan_zap.c:9827: error: 'PRI_EVENT_RETRIEVE_REQ' undeclared (first use in this function) chan_zap.c:9829: warning: implicit declaration of function 'pri_retrieve_reject' chan_zap.c:9829: error: 'pri_event' has no member named 'retrieve_req' chan_zap.c:9834: error: 'pri_event' has no member named 'retrieve_req' chan_zap.c:9840: error: 'pri_event' has no member named 'retrieve_req' chan_zap.c:9852: error: 'pri_event' has no member named 'retrieve_req' chan_zap.c:9852: error: 'pri_event' has no member named 'retrieve_req' chan_zap.c:9855: error: 'pri_event' has no member named 'retrieve_req' chan_zap.c:9876: error: 'pri_event' has no member named 'retrieve_req' chan_zap.c:9877: error: 'pri_event' has no member named 'retrieve_req' chan_zap.c:9886: warning: implicit declaration of function 'pri_retrieve_acknowledge' chan_zap.c:9886: error: 'pri_event' has no member named 'retrieve_req' chan_zap.c:9910: error: 'pri_event' has no member named 'retrieve_req' chan_zap.c:9914: error: 'PRI_EVENT_DISPLAY_RECEIVED' undeclared (first use in this function) chan_zap.c:9915: error: 'pri_event' has no member named 'display' chan_zap.c:9916: error: 'pri_event' has no member named 'display' chan_zap.c:9942: error: 'pri_event_ringing' has no member named 'tei' chan_zap.c:10033: error: too many arguments to function 'pri_hangup' chan_zap.c:10067: error: 'pri_event_hangup' has no member named 'tei' chan_zap.c:10071: error: too many arguments to function 'pri_hangup' chan_zap.c:10075: error: 'pri_event_hangup' has no member named 'tei' chan_zap.c:10089: error: too many arguments to function 'pri_hangup' chan_zap.c:10097: error: 'pri_event_hangup' has no member named 'inband_progress' chan_zap.c:10143: error: 'pri_event_hangup' has no member named 'tei' chan_zap.c:10180: error: too many arguments to function 'pri_hangup' chan_zap.c:10186: error: too many arguments to function 'pri_hangup' chan_zap.c:10193: error: too many arguments to function 'pri_hangup' chan_zap.c:10222: error: 'pri_event_hangup' has no member named 'tei' chan_zap.c:10225: error: too many arguments to function 'pri_hangup' chan_zap.c:10235: error: 'pri_event_hangup' has no member named 'inband_progress' chan_zap.c:10391: error: 'PRI_EVENT_FACILITY' undeclared (first use in this function) chan_zap.c:10392: error: 'pri_event' has no member named 'facility' chan_zap.c:10396: error: 'pri_event' has no member named 'facility' chan_zap.c:10396: error: 'pri_event' has no member named 'facility' chan_zap.c:10399: error: 'pri_event' has no member named 'facility' chan_zap.c:10399: error: 'pri_event' has no member named 'facility' chan_zap.c:10406: error: 'pri_event' has no member named 'facility' chan_zap.c:10406: error: too many arguments to function 'pri_hangup' chan_zap.c:10411: error: 'pri_event' has no member named 'facility' chan_zap.c:10411: error: 'pri_event' has no member named 'facility' chan_zap.c:10413: error: 'pri_event' has no member named 'facility' chan_zap.c:10413: error: too many arguments to function 'pri_hangup' chan_zap.c:10418: error: 'pri_event' has no member named 'facility' chan_zap.c:10418: error: 'pri_event' has no member named 'facility' chan_zap.c:10430: error: 'pri_event' has no member named 'facility' chan_zap.c:10449: error: 'pri_event' has no member named 'facility' chan_zap.c:10449: error: too many arguments to function 'pri_hangup' chan_zap.c:10450: error: 'pri_event' has no member named 'facility' chan_zap.c:10451: error: 'pri_event' has no member named 'facility' chan_zap.c:10455: error: 'pri_event' has no member named 'facility' chan_zap.c:10459: error: 'pri_event' has no member named 'facility' chan_zap.c: In function 'start_pri': chan_zap.c:10523: error: too many arguments to function 'pri_new' chan_zap.c: In function 'handle_pri_set_debug_file': chan_zap.c:10631: warning: implicit declaration of function 'pri_set_debug_fd' chan_zap.c: In function 'app_zapCD': chan_zap.c:10862: warning: implicit declaration of function 'pri_deflect' chan_zap.c: In function 'setup_zap': chan_zap.c:12291: error: 'BRI_NETWORK_PTMP' undeclared (first use in this function) chan_zap.c:12295: error: 'BRI_CPE_PTMP' undeclared (first use in this function) chan_zap.c:12299: error: 'BRI_NETWORK' undeclared (first use in this function) chan_zap.c:12303: error: 'BRI_CPE' undeclared (first use in this function) chan_zap.c: In function 'load_module': chan_zap.c:12665: warning: passing argument 1 of 'pri_set_error' from incompatible pointer type chan_zap.c:12666: warning: passing argument 1 of 'pri_set_message' from incompatible pointer type chan_zap.c: In function 'zt_pri_sendtext': chan_zap.c:12722: warning: implicit declaration of function 'pri_information_display' make[1]: *** [chan_zap.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/asterisk-1.2.13/work/asterisk-1.2.13/channels' make: *** [subdirs] Error 1 !!! ERROR: net-misc/asterisk-1.2.13 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile asterisk-1.2.13.ebuild, line 287: Called die !!! Make failed !!! If you need support, post the topmost build error, and the call stack if relevant.