Hi, <div>I hope I'm posting to the right list, I'm new to these parts!</div><div><br></div><div>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. </div>
<div>Now, whenever I try to compile, I get the failure copied onto the end of this email. </div><div>I've pulled down a fresh copy and still it won't play ball. Is something in avmd stopping mod_sofia compiling?</div>
<div><br></div><div>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.</div><div><br></div><div>
Many thanks,</div><div><br></div><div>Ian Bonham</div><div>----------------------------------------------------------------------------------------------------------------------------</div><div><div>making all mod_sofia</div>
<div>Creating mod_sofia_la-sofia.lo</div><div>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</div>
<div>cc1: warnings being treated as errors</div><div>sofia.c: In function ‘sofia_handle_sip_i_refer’:</div><div>sofia.c:7323: error: format not a string literal and no format arguments</div><div>sofia.c:7324: error: format not a string literal and no format arguments</div>
<div>make[5]: *** [mod_sofia_la-sofia.lo] Error 1</div><div>make[4]: *** [all] Error 2</div><div>make[3]: *** [mod_sofia-all] Error 1</div><div>make[2]: *** [all-recursive] Error 1</div><div>make[1]: *** [all-recursive] Error 1</div>
<div>make: *** [all] Error 2</div></div><div><br></div>