Ubuntu 10.4lts AMD Platform Tried to update Freeswitch using make current and I get the following error: How can I correct this. Do I need to update to Ubuntu 12.04lts? Compiling /usr/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c... quiet_libtool: compile: gcc -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 -g -O2 -Wall -std=c99 -pedantic -Wdeclaration-after-statement -D_GNU_SOURCE -DHAVE_CONFIG_H -c /usr/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c -fPIC -DPIC -o .libs/mod_conference.o cc1: warnings being treated as errors /usr/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c: In function 'send_rfc_event': /usr/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c:125 1: error: format not a string literal and no format arguments /usr/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c:125 2: error: format not a string literal and no format arguments /usr/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c:125 5: error: format not a string literal and no format arguments /usr/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c: In function 'call_setup_event_handler': /usr/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c:805 6: error: format not a string literal and no format arguments /usr/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c: In function 'conf_data_event_handler': /usr/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c:809 1: error: format not a string literal and no format arguments make[6]: *** [mod_conference.lo] Error 1 make[6]: Leaving directory `/usr/src/freeswitch/src/mod/applications/mod_conference' make[5]: *** [all] Error 1 make[5]: Leaving directory `/usr/src/freeswitch/src/mod/applications/mod_conference' make[4]: *** [mod_conference-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 Thanks cjb
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/12/12 01:00, Charles Bujold wrote:
/usr/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c: In function ?send_rfc_event?: /usr/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c:1251: error: format not a string literal and no format arguments /usr/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c:1252: error: format not a string literal and no format arguments /usr/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c:1255: error: format not a string literal and no format arguments /usr/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c: In function ?call_setup_event_handler?: /usr/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c:8056: error: format not a string literal and no format arguments /usr/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c: In function ?conf_data_event_handler?: /usr/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c:8091: error: format not a string literal and no format arguments
That's fixed now, please update. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/+EF0ACgkQjiIIAK4rYUrDggCgrmfq5vcthCyjohqTqW19B2Nz 1csAn0uywNmmluuarIOR8Ky81lUx8ttS =o4GJ -----END PGP SIGNATURE-----
I just tried and I get: cc1: warnings being treated as errors src/switch_core.c: In function 'send_heartbeat': src/switch_core.c:86: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'switch_time_t' make[2]: *** [libfreeswitch_la-switch_core.lo] Error 1 make[1]: *** [all] Error 2 make: *** [current] Error 2 On Jul 11, 2012, at 4:46 PM, Stefan Knoblich wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 07/12/12 01:00, Charles Bujold wrote:
/usr/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c: In function ?send_rfc_event?: /usr/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c:1251: error: format not a string literal and no format arguments /usr/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c:1252: error: format not a string literal and no format arguments /usr/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c:1255: error: format not a string literal and no format arguments /usr/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c: In function ?call_setup_event_handler?: /usr/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c:8056: error: format not a string literal and no format arguments /usr/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c: In function ?conf_data_event_handler?: /usr/src/freeswitch/src/mod/applications/mod_conference/mod_conference.c:8091: error: format not a string literal and no format arguments
That's fixed now, please update. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk/+EF0ACgkQjiIIAK4rYUrDggCgrmfq5vcthCyjohqTqW19B2Nz 1csAn0uywNmmluuarIOR8Ky81lUx8ttS =o4GJ -----END PGP SIGNATURE-----
_________________________________________________________________________ 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
participants (3)
-
Charles Bujold
-
Mario G
-
Stefan Knoblich