Hi,<br><br>I got the below error while &quot;make current&quot;, 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&#39;<br>make[6]: Entering directory `/usr/src/freeswitch.git/libs/openzap/mod_openzap&#39;<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&#39;<br> gcc -DPACKAGE_NAME=\&quot;openzap\&quot; -DPACKAGE_TARNAME=\&quot;openzap\&quot; -DPACKAGE_VERSION=\&quot;pre-alpha\&quot; &quot;-DPACKAGE_STRING=\&quot;openzap pre-alpha\&quot;&quot; -DPACKAGE_BUGREPORT=\&quot;<a href="mailto:bugs@freeswitch.org">bugs@freeswitch.org</a>\&quot;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 &#39;=&#39;, &#39;,&#39;, &#39;;&#39;, &#39;asm&#39; or &#39;__attribute__&#39; before &#39;tdmv_api_open_span_chan&#39;<br>
cc1: warnings being treated as errors<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c: In function &#39;wp_open_range&#39;:<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:227: warning: implicit declaration of function &#39;tdmv_api_open_span_chan&#39;<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:236: error: &#39;wanpipe_tdm_api_t&#39; 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 &#39;;&#39; before &#39;tdm_api&#39;<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:237: error: &#39;tdm_api&#39; undeclared (first use in this function)<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:257: warning: implicit declaration of function &#39;sangoma_tdm_get_hw_coding&#39;<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:265: warning: implicit declaration of function &#39;sangoma_tdm_get_hw_dtmf&#39;<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:313: warning: implicit declaration of function &#39;sangoma_tdm_enable_rbs_events&#39;<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:317: warning: implicit declaration of function &#39;sangoma_tdm_flush_bufs&#39;<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:318: warning: implicit declaration of function &#39;sangoma_tdm_write_rbs&#39;<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c: In function &#39;wanpipe_open&#39;:<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:481: error: &#39;wanpipe_tdm_api_t&#39; undeclared (first use in this function)<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:481: error: expected &#39;;&#39; before &#39;tdm_api&#39;<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:483: error: &#39;tdm_api&#39; undeclared (first use in this function)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:494: warning: implicit declaration of function &#39;sangoma_tdm_set_usr_period&#39;<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c: In function &#39;wanpipe_command&#39;:<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:523: error: &#39;wanpipe_tdm_api_t&#39; undeclared (first use in this function)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:523: error: expected &#39;;&#39; before &#39;tdm_api&#39;<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:526: error: &#39;tdm_api&#39; undeclared (first use in this function)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:531: warning: implicit declaration of function &#39;sangoma_tdm_txsig_offhook&#39;<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:541: warning: implicit declaration of function &#39;sangoma_tdm_txsig_onhook&#39;<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:551: warning: implicit declaration of function &#39;sangoma_tdm_txsig_start&#39;<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:574: warning: implicit declaration of function &#39;sangoma_tdm_get_usr_period&#39;<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:583: warning: implicit declaration of function &#39;sangoma_tdm_enable_hwec&#39;<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:592: warning: implicit declaration of function &#39;sangoma_tdm_disable_hwec&#39;<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c: In function &#39;wanpipe_read&#39;:<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:703: error: &#39;wp_tdm_api_rx_hdr_t&#39; undeclared (first use in this function)<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:703: error: expected &#39;;&#39; before &#39;hdrframe&#39;<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:705: error: &#39;hdrframe&#39; undeclared (first use in this function)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:707: warning: implicit declaration of function &#39;sangoma_readmsg_tdm&#39;<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c: In function &#39;wanpipe_write&#39;:<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:733: error: &#39;wp_tdm_api_tx_hdr_t&#39; undeclared (first use in this function)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:733: error: expected &#39;;&#39; before &#39;hdrframe&#39;<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:736: error: &#39;hdrframe&#39; undeclared (first use in this function)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:740: warning: implicit declaration of function &#39;sangoma_writemsg_tdm&#39;<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c: In function &#39;wanpipe_poll_event&#39;:<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:856: error: &#39;wanpipe_tdm_api_t&#39; undeclared (first use in this function)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:856: error: expected &#39;;&#39; before &#39;tdm_api&#39;<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:858: error: &#39;tdm_api&#39; undeclared (first use in this function)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c: In function &#39;wanpipe_get_alarms&#39;:<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:927: error: &#39;wanpipe_tdm_api_t&#39; undeclared (first use in this function)<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:927: error: expected &#39;;&#39; before &#39;tdm_api&#39;<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:931: error: &#39;tdm_api&#39; undeclared (first use in this function)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:940: warning: implicit declaration of function &#39;sangoma_tdm_get_fe_alarms&#39;<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:949: error: &#39;WAN_TE_BIT_ALARM_RED&#39; undeclared (first use in this function)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:954: error: &#39;WAN_TE_BIT_ALARM_AIS&#39; undeclared (first use in this function)<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:960: error: &#39;WAN_TE_BIT_ALARM_RAI&#39; undeclared (first use in this function)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c: In function &#39;wanpipe_next_event&#39;:<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1014: error: &#39;wanpipe_tdm_api_t&#39; undeclared (first use in this function)<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1014: error: expected &#39;;&#39; before &#39;tdm_api&#39;<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1015: error: &#39;tdm_api&#39; undeclared (first use in this function)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1025: error: expected &#39;;&#39; before &#39;tdm_api&#39;<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1030: warning: implicit declaration of function &#39;sangoma_tdm_read_event&#39;<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1039: error: &#39;WP_TDMAPI_EVENT_LINK_STATUS&#39; undeclared (first use in this function)<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1044: error: &#39;WP_TDMAPI_EVENT_LINK_STATUS_CONNECTED&#39; undeclared (first use in this function)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1059: error: &#39;WP_TDMAPI_EVENT_RXHOOK&#39; undeclared (first use in this function)<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1064: error: &#39;WP_TDMAPI_EVENT_RXHOOK_OFF&#39; undeclared (first use in this function)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1097: error: &#39;WP_TDMAPI_EVENT_RING_DETECT&#39; undeclared (first use in this function)<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1099: error: &#39;WP_TDMAPI_EVENT_RING_PRESENT&#39; undeclared (first use in this function)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1110: error: &#39;WP_TDMAPI_EVENT_RBS&#39; undeclared (first use in this function)<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1116: error: &#39;WP_TDMAPI_EVENT_DTMF&#39; undeclared (first use in this function)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1123: error: &#39;WAN_EC_TONE_PRESENT&#39; undeclared (first use in this function)<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1127: error: &#39;WAN_EC_TONE_STOP&#39; undeclared (first use in this function)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1135: error: &#39;WP_TDMAPI_EVENT_ALARM&#39; undeclared (first use in this function)<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c: In function &#39;wanpipe_channel_destroy&#39;:<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1192: error: &#39;wanpipe_tdm_api_t&#39; undeclared (first use in this function)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1192: error: expected &#39;;&#39; before &#39;tdm_api&#39;<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1194: error: &#39;tdm_api&#39; undeclared (first use in this function)<br>src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1195: warning: implicit declaration of function &#39;sangoma_tdm_enable_dtmf_events&#39;<br>
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1201: warning: implicit declaration of function &#39;sangoma_close&#39;<br>make[7]: *** [ozmod_wanpipe_la-ozmod_wanpipe.lo] Error 1<br>make[7]: Leaving directory `/usr/src/freeswitch.git/libs/openzap&#39;<br>
make[6]: *** [local_install] Error 2<br>make[6]: Leaving directory `/usr/src/freeswitch.git/libs/openzap/mod_openzap&#39;<br>make[5]: *** [install] Error 1<br>make[5]: Leaving directory `/usr/src/freeswitch.git/libs/openzap/mod_openzap&#39;<br>
make[4]: *** [mod_openzap-install] Error 1<br>make[4]: Leaving directory `/usr/src/freeswitch.git/src/mod&#39;<br>make[4]: Entering directory `/usr/src/freeswitch.git/src&#39;<br>make[4]: Leaving directory `/usr/src/freeswitch.git/src&#39;<br>
make[3]: *** [install-recursive] Error 1<br>make[3]: Leaving directory `/usr/src/freeswitch.git/src&#39;<br>make[2]: Leaving directory `/usr/src/freeswitch.git&#39;<br>make[1]: Leaving directory `/usr/src/freeswitch.git&#39;<br>
[root@ivrs freeswitch.git]#<br><br><br>=========================================  end of error message ==========================================<br>