mod_spandsp compilation error
Hi to all, i made make current command today, and got this: making all mod_spandsp make[5]: Entering directory `/usr/local/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/local/src/freeswitch/libs/curl/include -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -I/usr/local/src/freeswitch/libs/curl/include -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/src/include -I/usr/local/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/local/src/freeswitch/libs/spandsp/src -I/usr/local/src/freeswitch/libs/tiff-3.8.2/libtiff -I/usr/local/src/freeswitch/libs/spandsp/src -I/usr/local/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/local/src/freeswitch/libs/spandsp/src/spandsp/expose.h:83, from /usr/local/src/freeswitch/libs/spandsp/src/spandsp.h:141, from mod_spandsp.h:50, from mod_spandsp.c:39: /usr/local/src/freeswitch/libs/spandsp/src/spandsp/private/t42.h:54: error: expected specifier-qualifier-list before ‘lab_params_t’ /usr/local/src/freeswitch/libs/spandsp/src/spandsp/private/t42.h:72: error: expected specifier-qualifier-list before ‘lab_params_t’ make[5]: *** [mod_spandsp_la-mod_spandsp.lo] Error 1 make[5]: Leaving directory `/usr/local/src/freeswitch/src/mod/applications/mod_spandsp' make[4]: *** [mod_spandsp-all] Error 1 make[4]: Leaving directory `/usr/local/src/freeswitch/src/mod' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/local/src/freeswitch/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/freeswitch' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/local/src/freeswitch' make: *** [current] Error 2 Any ideas? -- Evgeniy Movlyan, BestNet Ltd.
I got the same problem. Solved after git pull && ./bootstrap.sh && ./configure && make -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Evgeniy Movlyan Sent: Wednesday, July 25, 2012 11:12 AM To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] mod_spandsp compilation error Hi to all, i made make current command today, and got this: making all mod_spandsp make[5]: Entering directory `/usr/local/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/local/src/freeswitch/libs/curl/include -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -I/usr/local/src/freeswitch/libs/curl/include -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/src/include -I/usr/local/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/local/src/freeswitch/libs/spandsp/src -I/usr/local/src/freeswitch/libs/tiff-3.8.2/libtiff -I/usr/local/src/freeswitch/libs/spandsp/src -I/usr/local/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/local/src/freeswitch/libs/spandsp/src/spandsp/expose.h:83, from /usr/local/src/freeswitch/libs/spandsp/src/spandsp.h:141, from mod_spandsp.h:50, from mod_spandsp.c:39: /usr/local/src/freeswitch/libs/spandsp/src/spandsp/private/t42.h:54: error: expected specifier-qualifier-list before 'lab_params_t' /usr/local/src/freeswitch/libs/spandsp/src/spandsp/private/t42.h:72: error: expected specifier-qualifier-list before 'lab_params_t' make[5]: *** [mod_spandsp_la-mod_spandsp.lo] Error 1 make[5]: Leaving directory `/usr/local/src/freeswitch/src/mod/applications/mod_spandsp' make[4]: *** [mod_spandsp-all] Error 1 make[4]: Leaving directory `/usr/local/src/freeswitch/src/mod' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/local/src/freeswitch/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/freeswitch' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/local/src/freeswitch' make: *** [current] Error 2 Any ideas? -- Evgeniy Movlyan, BestNet Ltd. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com Join Us At ClueCon - Aug 7-9, 2012 FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Is there a neat way within a dialplan script to strip all non-digits from a string? The obvious (non-neat) way is to write a lua function for it...
From what I can tell, the PCRE interface does pattern matching but not all the fancy modifiers, like /g to continually repeat an operation. (Please correct me if I'm wrong and I will wikify the specifics.)
The good news is that a simple Lua script to do something like this isn't very resource intensive. -MC On Wed, Jul 25, 2012 at 4:13 AM, Alex <alex@thewinelake.com> wrote:
Is there a neat way within a dialplan script to strip all non-digits from a string? The obvious (non-neat) way is to write a lua function for it...
'make spandsp-reconf'. If it doesn't help, file a Jira. /Peter 25 jul 2012 kl. 09:19 skrev "Evgeniy Movlyan" <evgeniy@bestnet.kharkov.ua>:
Hi to all, i made make current command today, and got this:
making all mod_spandsp make[5]: Entering directory `/usr/local/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/local/src/freeswitch/libs/curl/include -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -I/usr/local/src/freeswitch/libs/curl/include -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/src/include -I/usr/local/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/local/src/freeswitch/libs/spandsp/src -I/usr/local/src/freeswitch/libs/tiff-3.8.2/libtiff -I/usr/local/src/freeswitch/libs/spandsp/src -I/usr/local/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/local/src/freeswitch/libs/spandsp/src/spandsp/expose.h:83, from /usr/local/src/freeswitch/libs/spandsp/src/spandsp.h:141, from mod_spandsp.h:50, from mod_spandsp.c:39: /usr/local/src/freeswitch/libs/spandsp/src/spandsp/private/t42.h:54: error: expected specifier-qualifier-list before ‘lab_params_t’ /usr/local/src/freeswitch/libs/spandsp/src/spandsp/private/t42.h:72: error: expected specifier-qualifier-list before ‘lab_params_t’ make[5]: *** [mod_spandsp_la-mod_spandsp.lo] Error 1 make[5]: Leaving directory `/usr/local/src/freeswitch/src/mod/applications/mod_spandsp' make[4]: *** [mod_spandsp-all] Error 1 make[4]: Leaving directory `/usr/local/src/freeswitch/src/mod' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/local/src/freeswitch/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/freeswitch' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/local/src/freeswitch' make: *** [current] Error 2
Any ideas?
-- Evgeniy Movlyan, BestNet Ltd.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
!DSPAM:500f9ab132761590495690!
Thanks, Peter. My problem is solved. 25.07.2012 10:42, Peter Olsson пишет:
'make spandsp-reconf'. If it doesn't help, file a Jira.
/Peter
25 jul 2012 kl. 09:19 skrev "Evgeniy Movlyan"<evgeniy@bestnet.kharkov.ua>:
Hi to all, i made make current command today, and got this:
making all mod_spandsp make[5]: Entering directory `/usr/local/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/local/src/freeswitch/libs/curl/include -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -I/usr/local/src/freeswitch/libs/curl/include -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/src/include -I/usr/local/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/local/src/freeswitch/libs/spandsp/src -I/usr/local/src/freeswitch/libs/tiff-3.8.2/libtiff -I/usr/local/src/freeswitch/libs/spandsp/src -I/usr/local/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/local/src/freeswitch/libs/spandsp/src/spandsp/expose.h:83, from /usr/local/src/freeswitch/libs/spandsp/src/spandsp.h:141, from mod_spandsp.h:50, from mod_spandsp.c:39: /usr/local/src/freeswitch/libs/spandsp/src/spandsp/private/t42.h:54: error: expected specifier-qualifier-list before ‘lab_params_t’ /usr/local/src/freeswitch/libs/spandsp/src/spandsp/private/t42.h:72: error: expected specifier-qualifier-list before ‘lab_params_t’ make[5]: *** [mod_spandsp_la-mod_spandsp.lo] Error 1 make[5]: Leaving directory `/usr/local/src/freeswitch/src/mod/applications/mod_spandsp' make[4]: *** [mod_spandsp-all] Error 1 make[4]: Leaving directory `/usr/local/src/freeswitch/src/mod' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/local/src/freeswitch/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/freeswitch' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/local/src/freeswitch' make: *** [current] Error 2
Any ideas?
-- Evgeniy Movlyan, BestNet Ltd.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
!DSPAM:500f9ab132761590495690!
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Evgeniy Movlyan, BestNet Ltd.
participants (5)
-
Alex
-
Dmitry R
-
Evgeniy Movlyan
-
Michael Collins
-
Peter Olsson