Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Incomplete
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: mod_spandsp
-
Labels:None
-
Environment:FreeBSD 9.0-STABLE (FreeSWITCH Version 1.0.head (git-1aa9103 2012-03-01 15-58-48 -0600)
-
Platform:FreeBSD/gcc
-
Uname:FreeBSD datdude.uniquestrength.net 9.0-STABLE FreeBSD 9.0-STABLE #0: Fri Mar 2 00:01:34 EST 2012 root@datdude.uniquestrength.net:/usr/obj/usr/src/sys/DATDUDE amd64 FreeBSD datdude.uniquestrength.net 9.0-STABLE FreeBSD 9.0-STABLE #0: Fri Mar 2 00:
-
CPU Info:
-
GCC Version:gcc46
-
FreeSWITCH GIT Revision:FreeSWITCH Version 1.0.head (git-1aa9103 2012-03-01 15-58-48 -0600)
-
Reproduced with GIT HEAD?:YES
Description
When attempting to build mod_spandsp, the following error occurs. I followed wiki directions for building mod_spandsp on FreeBSD
Creating mod_spandsp_la-mod_spandsp_fax.lo
quiet_libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../src/include -I../../../../libs/xmlrpc-c -I/usr/phone/freeswitch/freeswitch/libs/curl/include -I/usr/phone/freeswitch/freeswitch/src/include -I/usr/phone/freeswitch/freeswitch/src/include -I/usr/phone/freeswitch/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -I/usr/phone/freeswitch/freeswitch/libs/curl/include -I/usr/phone/freeswitch/freeswitch/src/include -I/usr/phone/freeswitch/freeswitch/src/include -I/usr/phone/freeswitch/freeswitch/libs/libteletone/src -fPIC -Werror -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb -I/usr/local/include -DHAVE_OPENSSL -Wall -std=c99 -pedantic -Wdeclaration-after-statement -I/usr/phone/freeswitch/freeswitch/libs/spandsp/src -I/usr/phone/freeswitch/freeswitch/libs/tiff-3.8.2/libtiff -I/usr/phone/freeswitch/freeswitch/libs/spandsp/src -I/usr/phone/freeswitch/freeswitch/libs/tiff-3.8.2/libtiff -I. -g -O2 -MT mod_spandsp_la-mod_spandsp_fax.lo -MD -MP -MF .deps/mod_spandsp_la-mod_spandsp_fax.Tpo -c mod_spandsp_fax.c -fPIC -DPIC -o .libs/mod_spandsp_la-mod_spandsp_fax.o
cc1: warnings being treated as errors
mod_spandsp_fax.c: In function 'phase_d_handler':
mod_spandsp_fax.c:383: warning: implicit declaration of function 't4_tx_get_transfer_statistics'
mod_spandsp_fax.c:383: error: 't4_state_t' has no member named 'tx'
mod_spandsp_fax.c:385: warning: implicit declaration of function 't4_rx_get_transfer_statistics'
mod_spandsp_fax.c: In function 'spanfax_init':
mod_spandsp_fax.c:849: warning: implicit declaration of function 't30_set_tx_page_header_tz'
mod_spandsp_fax.c: In function 't38_gateway_on_consume_media':
mod_spandsp_fax.c:1817: warning: implicit declaration of function 't38_gateway_rx_fillin'
gmake: *** [mod_spandsp_la-mod_spandsp_fax.lo] Error 1
Creating mod_spandsp_la-mod_spandsp_fax.lo
quiet_libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../src/include -I../../../../libs/xmlrpc-c -I/usr/phone/freeswitch/freeswitch/libs/curl/include -I/usr/phone/freeswitch/freeswitch/src/include -I/usr/phone/freeswitch/freeswitch/src/include -I/usr/phone/freeswitch/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -I/usr/phone/freeswitch/freeswitch/libs/curl/include -I/usr/phone/freeswitch/freeswitch/src/include -I/usr/phone/freeswitch/freeswitch/src/include -I/usr/phone/freeswitch/freeswitch/libs/libteletone/src -fPIC -Werror -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb -I/usr/local/include -DHAVE_OPENSSL -Wall -std=c99 -pedantic -Wdeclaration-after-statement -I/usr/phone/freeswitch/freeswitch/libs/spandsp/src -I/usr/phone/freeswitch/freeswitch/libs/tiff-3.8.2/libtiff -I/usr/phone/freeswitch/freeswitch/libs/spandsp/src -I/usr/phone/freeswitch/freeswitch/libs/tiff-3.8.2/libtiff -I. -g -O2 -MT mod_spandsp_la-mod_spandsp_fax.lo -MD -MP -MF .deps/mod_spandsp_la-mod_spandsp_fax.Tpo -c mod_spandsp_fax.c -fPIC -DPIC -o .libs/mod_spandsp_la-mod_spandsp_fax.o
cc1: warnings being treated as errors
mod_spandsp_fax.c: In function 'phase_d_handler':
mod_spandsp_fax.c:383: warning: implicit declaration of function 't4_tx_get_transfer_statistics'
mod_spandsp_fax.c:383: error: 't4_state_t' has no member named 'tx'
mod_spandsp_fax.c:385: warning: implicit declaration of function 't4_rx_get_transfer_statistics'
mod_spandsp_fax.c: In function 'spanfax_init':
mod_spandsp_fax.c:849: warning: implicit declaration of function 't30_set_tx_page_header_tz'
mod_spandsp_fax.c: In function 't38_gateway_on_consume_media':
mod_spandsp_fax.c:1817: warning: implicit declaration of function 't38_gateway_rx_fillin'
gmake: *** [mod_spandsp_la-mod_spandsp_fax.lo] Error 1