[Freeswitch-users] Error with MAKE CURRENT on SPANDSP

Guillermo Ruiz Camauer grcamauer at gmail.com
Fri Aug 10 18:28:21 MSD 2012


On CentOS 6.3, fully updated.  Was on FreeSWITCH Version
1.2.0-rc2+git~20120621T145213Z~2091f4f0d3+unclean~20120622T125056Z Started.
Just tried to "make current" and it choked when it got to SPANDSP:
...
making all mod_spandsp
make[5]: Entering directory
`/usr/src/freeswitch/src/mod/applications/mod_spandsp'
Creating mod_spandsp_la-mod_spandsp.lo
quiet_libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../src/include
-I../../../../libs/xmlrpc-c -I/usr/src/freeswitch/libs/curl/include
-I/usr/src/freeswitch/src/include -I/usr/src/freeswitch/src/include
-I/usr/src/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden
-DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1
-I/usr/src/freeswitch/libs/curl/include -I/usr/src/freeswitch/src/include
-I/usr/src/freeswitch/src/include
-I/usr/src/freeswitch/libs/libteletone/src -fPIC -Werror
-fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb
-DHAVE_OPENSSL -Wall -std=c99 -pedantic -Wdeclaration-after-statement
-I/usr/src/freeswitch/libs/spandsp/src
-I/usr/src/freeswitch/libs/tiff-3.8.2/libtiff
-I/usr/src/freeswitch/libs/spandsp/src
-I/usr/src/freeswitch/libs/tiff-3.8.2/libtiff -I. -g -O2 -MT
mod_spandsp_la-mod_spandsp.lo -MD -MP -MF
.deps/mod_spandsp_la-mod_spandsp.Tpo -c mod_spandsp.c  -fPIC -DPIC -o
.libs/mod_spandsp_la-mod_spandsp.o
In file included from
/usr/src/freeswitch/libs/spandsp/src/spandsp/expose.h:82,
                 from /usr/src/freeswitch/libs/spandsp/src/spandsp.h:135,
                 from mod_spandsp.h:50,
                 from mod_spandsp.c:39:
/usr/src/freeswitch/libs/spandsp/src/spandsp/private/t85.h:109: error:
expected specifier-qualifier-list before ‘t81_t82_arith_encode_state_t’
/usr/src/freeswitch/libs/spandsp/src/spandsp/private/t85.h:202: error:
expected specifier-qualifier-list before ‘t81_t82_arith_decode_state_t’
In file included from
/usr/src/freeswitch/libs/spandsp/src/spandsp/expose.h:83,
                 from /usr/src/freeswitch/libs/spandsp/src/spandsp.h:135,
                 from mod_spandsp.h:50,
                 from mod_spandsp.c:39:
/usr/src/freeswitch/libs/spandsp/src/spandsp/private/t42.h:54: error:
expected specifier-qualifier-list before ‘lab_params_t’
/usr/src/freeswitch/libs/spandsp/src/spandsp/private/t42.h:77: error:
expected specifier-qualifier-list before ‘lab_params_t’
In file included from
/usr/src/freeswitch/libs/spandsp/src/spandsp/expose.h:85,
                 from /usr/src/freeswitch/libs/spandsp/src/spandsp.h:135,
                 from mod_spandsp.h:50,
                 from mod_spandsp.c:39:
/usr/src/freeswitch/libs/spandsp/src/spandsp/private/t4_rx.h:112: error:
expected specifier-qualifier-list before ‘t42_decode_state_t’
In file included from
/usr/src/freeswitch/libs/spandsp/src/spandsp/expose.h:86,
                 from /usr/src/freeswitch/libs/spandsp/src/spandsp.h:135,
                 from mod_spandsp.h:50,
                 from mod_spandsp.c:39:
/usr/src/freeswitch/libs/spandsp/src/spandsp/private/t4_tx.h:136: error:
expected specifier-qualifier-list before ‘t42_encode_state_t’
/usr/src/freeswitch/libs/spandsp/src/spandsp/private/t4_tx.h:146: error:
expected specifier-qualifier-list before ‘lab_params_t’
In file included from
/usr/src/freeswitch/libs/spandsp/src/spandsp/expose.h:96,
                 from /usr/src/freeswitch/libs/spandsp/src/spandsp.h:135,
                 from mod_spandsp.h:50,
                 from mod_spandsp.c:39:
/usr/src/freeswitch/libs/spandsp/src/spandsp/private/ademco_contactid.h:33:
error: expected specifier-qualifier-list before
‘ademco_contactid_report_func_t’
cc1: warnings being treated as errors
/usr/src/freeswitch/libs/spandsp/src/spandsp/private/ademco_contactid.h:48:
error: struct has no members
make[5]: *** [mod_spandsp_la-mod_spandsp.lo] Error 1
make[5]: Leaving directory
`/usr/src/freeswitch/src/mod/applications/mod_spandsp'
make[4]: *** [mod_spandsp-all] Error 1
make[4]: Leaving directory `/usr/src/freeswitch/src/mod'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/freeswitch/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/freeswitch'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/freeswitch'
make: *** [current] Error 2
[root at Freeswitch freeswitch]#


Any ideas?  Anybody else having this problem?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120810/f3be731c/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list