Hi, I hope I'm posting to the right list, I'm new to these parts! I have been running a test of FreeSwitch on Ubuntu 12.04, retrieved using Git, and it compiled and installed fine, and I've enjoyed learning about it. I needed to switch on avmd, so set the flag in modules.conf and went to recompile. Now, whenever I try to compile, I get the failure copied onto the end of this email. I've pulled down a fresh copy and still it won't play ball. Is something in avmd stopping mod_sofia compiling? If anyone can throw any light on this I would really appreciate it, as I'm using Freeswitch in a predictive dialler I'm building so need some form of voicemail detection. Many thanks, Ian Bonham ---------------------------------------------------------------------------------------------------------------------------- making all mod_sofia Creating mod_sofia_la-sofia.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. -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/bnf -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/bnf -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/http -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/http -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/iptsec -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/iptsec -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/nea -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/nea -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/nth -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/nth -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/sdp -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/sdp -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/soa -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/soa -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/stun -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/stun -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/tport -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/tport -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/features -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/features -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/ipt -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/ipt -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/msg -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/msg -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/nta -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/nta -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/nua -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/nua -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/sip -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/sip -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/sresolv -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/sresolv -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/su -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/su -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/url -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/url -g -O2 -MT mod_sofia_la-sofia.lo -MD -MP -MF .deps/mod_sofia_la-sofia.Tpo -c sofia.c -fPIC -DPIC -o .libs/mod_sofia_la-sofia.o cc1: warnings being treated as errors sofia.c: In function ‘sofia_handle_sip_i_refer’: sofia.c:7323: error: format not a string literal and no format arguments sofia.c:7324: error: format not a string literal and no format arguments make[5]: *** [mod_sofia_la-sofia.lo] Error 1 make[4]: *** [all] Error 2 make[3]: *** [mod_sofia-all] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
On 10.07.2012 18:05, Ian Bonham wrote:
cc1: warnings being treated as errors sofia.c: In function ‘sofia_handle_sip_i_refer’: sofia.c:7323: error: format not a string literal and no format arguments sofia.c:7324: error: format not a string literal and no format arguments
that has been fixed 4 hours ago -- ------------------------------------------------------------------------------- Stefan Knoblich | Web: http://www.axsentis.de/ axsentis GmbH | http://oss.axsentis.de/ Eupener Str. 74, 50933 Koeln, Germany | Amtsgericht Koeln: HR B 56238 | Email: s.knoblich@axsentis.de UST-ID: DE244977565 | JID: s.knoblich@jabber.axsentis.de ------------------------------------------------------------------------------- Web: http://stkn.techmage.de/ Email: stkn@freeswitch.org IRC: #freeswitch-de @ irc.freenode.net
This was fixed in the latest git 5 hours ago. On Tue, Jul 10, 2012 at 12:05 PM, Ian Bonham <ian.bonham@gmail.com> wrote:
Hi, I hope I'm posting to the right list, I'm new to these parts!
I have been running a test of FreeSwitch on Ubuntu 12.04, retrieved using Git, and it compiled and installed fine, and I've enjoyed learning about it. I needed to switch on avmd, so set the flag in modules.conf and went to recompile. Now, whenever I try to compile, I get the failure copied onto the end of this email. I've pulled down a fresh copy and still it won't play ball. Is something in avmd stopping mod_sofia compiling?
If anyone can throw any light on this I would really appreciate it, as I'm using Freeswitch in a predictive dialler I'm building so need some form of voicemail detection.
Many thanks,
Ian Bonham
---------------------------------------------------------------------------------------------------------------------------- making all mod_sofia Creating mod_sofia_la-sofia.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. -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/bnf -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/bnf -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/http -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/http -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/iptsec -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/iptsec -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/nea -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/nea -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/nth -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/nth -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/sdp -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/sdp -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/soa -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/soa -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/stun -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/stun -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/tport -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/tport -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/features -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/features -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/ipt -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/ipt -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/msg -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/msg -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/nta -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/nta -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/nua -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/nua -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/sip -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/sip -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/sresolv -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/sresolv -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/su -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/su -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/url -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/url -g -O2 -MT mod_sofia_la-sofia.lo -MD -MP -MF .deps/mod_sofia_la-sofia.Tpo -c sofia.c -fPIC -DPIC -o .libs/mod_sofia_la-sofia.o cc1: warnings being treated as errors sofia.c: In function ‘sofia_handle_sip_i_refer’: sofia.c:7323: error: format not a string literal and no format arguments sofia.c:7324: error: format not a string literal and no format arguments make[5]: *** [mod_sofia_la-sofia.lo] Error 1 make[4]: *** [all] Error 2 make[3]: *** [mod_sofia-all] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
_________________________________________________________________________ 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-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
That's great, thanks guys. I must have missed the update as I'd finished in the office for the day. Thanks for all the work on FreeSwitch, I'm really looking forward to seeing how it performs against our existing Asterisk set up, and I hope I can contribute to the project as I get up to speed on it, but thank you for your work so far and giving me a tool to work with. Have a good day, Thanks again, Ian On 10 July 2012 19:41, Christopher Rienzo <cmrienzo@gmail.com> wrote:
This was fixed in the latest git 5 hours ago.
On Tue, Jul 10, 2012 at 12:05 PM, Ian Bonham <ian.bonham@gmail.com> wrote:
Hi, I hope I'm posting to the right list, I'm new to these parts!
I have been running a test of FreeSwitch on Ubuntu 12.04, retrieved using Git, and it compiled and installed fine, and I've enjoyed learning about it. I needed to switch on avmd, so set the flag in modules.conf and went to recompile. Now, whenever I try to compile, I get the failure copied onto the end of this email. I've pulled down a fresh copy and still it won't play ball. Is something in avmd stopping mod_sofia compiling?
If anyone can throw any light on this I would really appreciate it, as I'm using Freeswitch in a predictive dialler I'm building so need some form of voicemail detection.
Many thanks,
Ian Bonham
---------------------------------------------------------------------------------------------------------------------------- making all mod_sofia Creating mod_sofia_la-sofia.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. -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/bnf -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/bnf -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/http -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/http -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/iptsec -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/iptsec -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/nea -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/nea -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/nth -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/nth -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/sdp -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/sdp -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/soa -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/soa -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/stun -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/stun -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/tport -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/tport -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/features -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/features -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/ipt -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/ipt -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/msg -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/msg -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/nta -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/nta -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/nua -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/nua -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/sip -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/sip -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/sresolv -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/sresolv -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/su -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/su -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/url -I/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/url -g -O2 -MT mod_sofia_la-sofia.lo -MD -MP -MF .deps/mod_sofia_la-sofia.Tpo -c sofia.c -fPIC -DPIC -o .libs/mod_sofia_la-sofia.o cc1: warnings being treated as errors sofia.c: In function ‘sofia_handle_sip_i_refer’: sofia.c:7323: error: format not a string literal and no format arguments sofia.c:7324: error: format not a string literal and no format arguments make[5]: *** [mod_sofia_la-sofia.lo] Error 1 make[4]: *** [all] Error 2 make[3]: *** [mod_sofia-all] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
_________________________________________________________________________ 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-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_________________________________________________________________________ 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-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
participants (3)
-
Christopher Rienzo
-
Ian Bonham
-
Stefan Knoblich