[Freeswitch-dev] Compilation Errors

Ian Bonham ian.bonham at gmail.com
Tue Jul 10 20:05:56 MSD 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20120710/c3171604/attachment-0001.html 


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