Hi,<br><br>I got the below error while "make current", anyone has any idea how to fix it, thanks.<br><br>Regards,<br>Tony<br><br><br>===================================== begin of error message ====================================<br>
<br>making install mod_openzap<br>make[5]: Entering directory `/usr/src/freeswitch.git/libs/openzap/mod_openzap'<br>make[6]: Entering directory `/usr/src/freeswitch.git/libs/openzap/mod_openzap'<br>Compiling /usr/src/freeswitch.git/src/mod/../../libs/openzap/mod_openzap/mod_openzap.c...<br>
/usr/src/freeswitch.git/libtool --mode=compile --tag=CC gcc -I../src/include -I../src/isdn/include -g -O2 -ffast-math -Wall -Werror -Wunused-variable -Wwrite-strings -Wstrict-proc<br>mkdir .libs<br> gcc -I../src/include -I../src/isdn/include -g -O2 -ffast-math -Wall -Werror -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -O0 -g -ggdb -DPACKAGE_NAMo<br>
gcc -I../src/include -I../src/isdn/include -g -O2 -ffast-math -Wall -Werror -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -O0 -g -ggdb -DPACKAGE_NAM1<br>Creating mod_openzap.so...<br>gcc -I../src/include -I../src/isdn/include -g -O2 -ffast-math -Wall -Werror -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -O0 -g -ggdb -DPACKAGE_NAMEd<br>
creating mod_openzap.so<br>make[7]: Entering directory `/usr/src/freeswitch.git/libs/openzap'<br> gcc -DPACKAGE_NAME=\"openzap\" -DPACKAGE_TARNAME=\"openzap\" -DPACKAGE_VERSION=\"pre-alpha\" "-DPACKAGE_STRING=\"openzap pre-alpha\"" -DPACKAGE_BUGREPORT=\"<a href="mailto:bugs@freeswitch.org">bugs@freeswitch.org</a>\"o<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:43:24: error: libsangoma.h: No such file or directory<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:156: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tdmv_api_open_span_chan'<br>
cc1: warnings being treated as errors<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c: In function 'wp_open_range':<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:227: warning: implicit declaration of function 'tdmv_api_open_span_chan'<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:236: error: 'wanpipe_tdm_api_t' undeclared (first use in this function)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:236: error: (Each undeclared identifier is reported only once<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:236: error: for each function it appears in.)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:236: error: expected ';' before 'tdm_api'<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:237: error: 'tdm_api' undeclared (first use in this function)<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:257: warning: implicit declaration of function 'sangoma_tdm_get_hw_coding'<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:265: warning: implicit declaration of function 'sangoma_tdm_get_hw_dtmf'<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:313: warning: implicit declaration of function 'sangoma_tdm_enable_rbs_events'<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:317: warning: implicit declaration of function 'sangoma_tdm_flush_bufs'<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:318: warning: implicit declaration of function 'sangoma_tdm_write_rbs'<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c: In function 'wanpipe_open':<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:481: error: 'wanpipe_tdm_api_t' undeclared (first use in this function)<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:481: error: expected ';' before 'tdm_api'<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:483: error: 'tdm_api' undeclared (first use in this function)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:494: warning: implicit declaration of function 'sangoma_tdm_set_usr_period'<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c: In function 'wanpipe_command':<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:523: error: 'wanpipe_tdm_api_t' undeclared (first use in this function)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:523: error: expected ';' before 'tdm_api'<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:526: error: 'tdm_api' undeclared (first use in this function)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:531: warning: implicit declaration of function 'sangoma_tdm_txsig_offhook'<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:541: warning: implicit declaration of function 'sangoma_tdm_txsig_onhook'<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:551: warning: implicit declaration of function 'sangoma_tdm_txsig_start'<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:574: warning: implicit declaration of function 'sangoma_tdm_get_usr_period'<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:583: warning: implicit declaration of function 'sangoma_tdm_enable_hwec'<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:592: warning: implicit declaration of function 'sangoma_tdm_disable_hwec'<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c: In function 'wanpipe_read':<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:703: error: 'wp_tdm_api_rx_hdr_t' undeclared (first use in this function)<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:703: error: expected ';' before 'hdrframe'<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:705: error: 'hdrframe' undeclared (first use in this function)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:707: warning: implicit declaration of function 'sangoma_readmsg_tdm'<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c: In function 'wanpipe_write':<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:733: error: 'wp_tdm_api_tx_hdr_t' undeclared (first use in this function)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:733: error: expected ';' before 'hdrframe'<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:736: error: 'hdrframe' undeclared (first use in this function)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:740: warning: implicit declaration of function 'sangoma_writemsg_tdm'<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c: In function 'wanpipe_poll_event':<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:856: error: 'wanpipe_tdm_api_t' undeclared (first use in this function)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:856: error: expected ';' before 'tdm_api'<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:858: error: 'tdm_api' undeclared (first use in this function)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c: In function 'wanpipe_get_alarms':<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:927: error: 'wanpipe_tdm_api_t' undeclared (first use in this function)<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:927: error: expected ';' before 'tdm_api'<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:931: error: 'tdm_api' undeclared (first use in this function)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:940: warning: implicit declaration of function 'sangoma_tdm_get_fe_alarms'<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:949: error: 'WAN_TE_BIT_ALARM_RED' undeclared (first use in this function)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:954: error: 'WAN_TE_BIT_ALARM_AIS' undeclared (first use in this function)<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:960: error: 'WAN_TE_BIT_ALARM_RAI' undeclared (first use in this function)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c: In function 'wanpipe_next_event':<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1014: error: 'wanpipe_tdm_api_t' undeclared (first use in this function)<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1014: error: expected ';' before 'tdm_api'<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1015: error: 'tdm_api' undeclared (first use in this function)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1025: error: expected ';' before 'tdm_api'<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1030: warning: implicit declaration of function 'sangoma_tdm_read_event'<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1039: error: 'WP_TDMAPI_EVENT_LINK_STATUS' undeclared (first use in this function)<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1044: error: 'WP_TDMAPI_EVENT_LINK_STATUS_CONNECTED' undeclared (first use in this function)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1059: error: 'WP_TDMAPI_EVENT_RXHOOK' undeclared (first use in this function)<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1064: error: 'WP_TDMAPI_EVENT_RXHOOK_OFF' undeclared (first use in this function)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1097: error: 'WP_TDMAPI_EVENT_RING_DETECT' undeclared (first use in this function)<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1099: error: 'WP_TDMAPI_EVENT_RING_PRESENT' undeclared (first use in this function)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1110: error: 'WP_TDMAPI_EVENT_RBS' undeclared (first use in this function)<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1116: error: 'WP_TDMAPI_EVENT_DTMF' undeclared (first use in this function)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1123: error: 'WAN_EC_TONE_PRESENT' undeclared (first use in this function)<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1127: error: 'WAN_EC_TONE_STOP' undeclared (first use in this function)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1135: error: 'WP_TDMAPI_EVENT_ALARM' undeclared (first use in this function)<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c: In function 'wanpipe_channel_destroy':<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1192: error: 'wanpipe_tdm_api_t' undeclared (first use in this function)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1192: error: expected ';' before 'tdm_api'<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1194: error: 'tdm_api' undeclared (first use in this function)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1195: warning: implicit declaration of function 'sangoma_tdm_enable_dtmf_events'<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1201: warning: implicit declaration of function 'sangoma_close'<br>make[7]: *** [ozmod_wanpipe_la-ozmod_wanpipe.lo] Error 1<br>make[7]: Leaving directory `/usr/src/freeswitch.git/libs/openzap'<br>
make[6]: *** [local_install] Error 2<br>make[6]: Leaving directory `/usr/src/freeswitch.git/libs/openzap/mod_openzap'<br>make[5]: *** [install] Error 1<br>make[5]: Leaving directory `/usr/src/freeswitch.git/libs/openzap/mod_openzap'<br>
make[4]: *** [mod_openzap-install] Error 1<br>make[4]: Leaving directory `/usr/src/freeswitch.git/src/mod'<br>make[4]: Entering directory `/usr/src/freeswitch.git/src'<br>make[4]: Leaving directory `/usr/src/freeswitch.git/src'<br>
make[3]: *** [install-recursive] Error 1<br>make[3]: Leaving directory `/usr/src/freeswitch.git/src'<br>make[2]: Leaving directory `/usr/src/freeswitch.git'<br>make[1]: Leaving directory `/usr/src/freeswitch.git'<br>
[root@ivrs freeswitch.git]#<br><br><br>========================================= end of error message ==========================================<br>