[Freeswitch-users] error while "make currrent"
Tony Tin
tony.tin at noahmedia.com.hk
Wed Jul 28 21:34:03 PDT 2010
Hi,
I got the below error while "make current", anyone has any idea how to fix
it, thanks.
Regards,
Tony
===================================== begin of error message
====================================
making install mod_openzap
make[5]: Entering directory
`/usr/src/freeswitch.git/libs/openzap/mod_openzap'
make[6]: Entering directory
`/usr/src/freeswitch.git/libs/openzap/mod_openzap'
Compiling
/usr/src/freeswitch.git/src/mod/../../libs/openzap/mod_openzap/mod_openzap.c...
/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
mkdir .libs
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
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
Creating mod_openzap.so...
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
creating mod_openzap.so
make[7]: Entering directory `/usr/src/freeswitch.git/libs/openzap'
gcc -DPACKAGE_NAME=\"openzap\" -DPACKAGE_TARNAME=\"openzap\"
-DPACKAGE_VERSION=\"pre-alpha\" "-DPACKAGE_STRING=\"openzap pre-alpha\""
-DPACKAGE_BUGREPORT=\"bugs at freeswitch.org\"o
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:43:24: error: libsangoma.h: No such
file or directory
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:156: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'tdmv_api_open_span_chan'
cc1: warnings being treated as errors
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c: In function 'wp_open_range':
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:227: warning: implicit declaration
of function 'tdmv_api_open_span_chan'
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:236: error: 'wanpipe_tdm_api_t'
undeclared (first use in this function)
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:236: error: (Each undeclared
identifier is reported only once
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:236: error: for each function it
appears in.)
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:236: error: expected ';' before
'tdm_api'
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:237: error: 'tdm_api' undeclared
(first use in this function)
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:257: warning: implicit declaration
of function 'sangoma_tdm_get_hw_coding'
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:265: warning: implicit declaration
of function 'sangoma_tdm_get_hw_dtmf'
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:313: warning: implicit declaration
of function 'sangoma_tdm_enable_rbs_events'
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:317: warning: implicit declaration
of function 'sangoma_tdm_flush_bufs'
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:318: warning: implicit declaration
of function 'sangoma_tdm_write_rbs'
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c: In function 'wanpipe_open':
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:481: error: 'wanpipe_tdm_api_t'
undeclared (first use in this function)
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:481: error: expected ';' before
'tdm_api'
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:483: error: 'tdm_api' undeclared
(first use in this function)
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:494: warning: implicit declaration
of function 'sangoma_tdm_set_usr_period'
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c: In function 'wanpipe_command':
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:523: error: 'wanpipe_tdm_api_t'
undeclared (first use in this function)
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:523: error: expected ';' before
'tdm_api'
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:526: error: 'tdm_api' undeclared
(first use in this function)
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:531: warning: implicit declaration
of function 'sangoma_tdm_txsig_offhook'
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:541: warning: implicit declaration
of function 'sangoma_tdm_txsig_onhook'
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:551: warning: implicit declaration
of function 'sangoma_tdm_txsig_start'
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:574: warning: implicit declaration
of function 'sangoma_tdm_get_usr_period'
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:583: warning: implicit declaration
of function 'sangoma_tdm_enable_hwec'
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:592: warning: implicit declaration
of function 'sangoma_tdm_disable_hwec'
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c: In function 'wanpipe_read':
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:703: error: 'wp_tdm_api_rx_hdr_t'
undeclared (first use in this function)
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:703: error: expected ';' before
'hdrframe'
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:705: error: 'hdrframe' undeclared
(first use in this function)
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:707: warning: implicit declaration
of function 'sangoma_readmsg_tdm'
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c: In function 'wanpipe_write':
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:733: error: 'wp_tdm_api_tx_hdr_t'
undeclared (first use in this function)
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:733: error: expected ';' before
'hdrframe'
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:736: error: 'hdrframe' undeclared
(first use in this function)
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:740: warning: implicit declaration
of function 'sangoma_writemsg_tdm'
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c: In function 'wanpipe_poll_event':
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:856: error: 'wanpipe_tdm_api_t'
undeclared (first use in this function)
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:856: error: expected ';' before
'tdm_api'
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:858: error: 'tdm_api' undeclared
(first use in this function)
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c: In function 'wanpipe_get_alarms':
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:927: error: 'wanpipe_tdm_api_t'
undeclared (first use in this function)
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:927: error: expected ';' before
'tdm_api'
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:931: error: 'tdm_api' undeclared
(first use in this function)
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:940: warning: implicit declaration
of function 'sangoma_tdm_get_fe_alarms'
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:949: error: 'WAN_TE_BIT_ALARM_RED'
undeclared (first use in this function)
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:954: error: 'WAN_TE_BIT_ALARM_AIS'
undeclared (first use in this function)
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:960: error: 'WAN_TE_BIT_ALARM_RAI'
undeclared (first use in this function)
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c: In function 'wanpipe_next_event':
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1014: error: 'wanpipe_tdm_api_t'
undeclared (first use in this function)
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1014: error: expected ';' before
'tdm_api'
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1015: error: 'tdm_api' undeclared
(first use in this function)
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1025: error: expected ';' before
'tdm_api'
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1030: warning: implicit declaration
of function 'sangoma_tdm_read_event'
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1039: error:
'WP_TDMAPI_EVENT_LINK_STATUS' undeclared (first use in this function)
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1044: error:
'WP_TDMAPI_EVENT_LINK_STATUS_CONNECTED' undeclared (first use in this
function)
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1059: error:
'WP_TDMAPI_EVENT_RXHOOK' undeclared (first use in this function)
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1064: error:
'WP_TDMAPI_EVENT_RXHOOK_OFF' undeclared (first use in this function)
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1097: error:
'WP_TDMAPI_EVENT_RING_DETECT' undeclared (first use in this function)
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1099: error:
'WP_TDMAPI_EVENT_RING_PRESENT' undeclared (first use in this function)
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1110: error: 'WP_TDMAPI_EVENT_RBS'
undeclared (first use in this function)
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1116: error: 'WP_TDMAPI_EVENT_DTMF'
undeclared (first use in this function)
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1123: error: 'WAN_EC_TONE_PRESENT'
undeclared (first use in this function)
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1127: error: 'WAN_EC_TONE_STOP'
undeclared (first use in this function)
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1135: error: 'WP_TDMAPI_EVENT_ALARM'
undeclared (first use in this function)
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c: In function
'wanpipe_channel_destroy':
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1192: error: 'wanpipe_tdm_api_t'
undeclared (first use in this function)
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1192: error: expected ';' before
'tdm_api'
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1194: error: 'tdm_api' undeclared
(first use in this function)
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1195: warning: implicit declaration
of function 'sangoma_tdm_enable_dtmf_events'
src/ozmod/ozmod_wanpipe/ozmod_wanpipe.c:1201: warning: implicit declaration
of function 'sangoma_close'
make[7]: *** [ozmod_wanpipe_la-ozmod_wanpipe.lo] Error 1
make[7]: Leaving directory `/usr/src/freeswitch.git/libs/openzap'
make[6]: *** [local_install] Error 2
make[6]: Leaving directory
`/usr/src/freeswitch.git/libs/openzap/mod_openzap'
make[5]: *** [install] Error 1
make[5]: Leaving directory
`/usr/src/freeswitch.git/libs/openzap/mod_openzap'
make[4]: *** [mod_openzap-install] Error 1
make[4]: Leaving directory `/usr/src/freeswitch.git/src/mod'
make[4]: Entering directory `/usr/src/freeswitch.git/src'
make[4]: Leaving directory `/usr/src/freeswitch.git/src'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/usr/src/freeswitch.git/src'
make[2]: Leaving directory `/usr/src/freeswitch.git'
make[1]: Leaving directory `/usr/src/freeswitch.git'
[root at ivrs freeswitch.git]#
========================================= end of error message
==========================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100729/88b9cfd1/attachment-0001.html
More information about the FreeSWITCH-users
mailing list