more than likely a bug, looks like something that would show up on a 32 bit machine.On Mon, May 14, 2012 at 3:32 AM, Chris Mylonas <chris@opencsta.org> wrote:
I removed -Werror from the Makefile options line "SWITCH_AM_CFLAGS" and it build successfully.On 14/05/2012, at 3:03 PM, Chris Mylonas wrote:Hi FS Users,I was building FS on a box to test out the mod_gsmopen stuff that has been mentioned on the list recently.Updated CentOS 5 this morning, checked out a new git head.Getting this message that says "warnings being treated as errors"Not sure if that is what is killing the build or if there genuinely is an error.Any help would be great,CheersChrismaking all mod_xml_scgiCompiling ../../../../libs/libscgi/src/scgi.c...cc1: warnings being treated as errors../../../../libs/libscgi/src/scgi.c: In function ‘scgi_build_message’:../../../../libs/libscgi/src/scgi.c:94: warning: format ‘%ld’ expects type ‘long int’, but argument 4 has type ‘size_t’../../../../libs/libscgi/src/scgi.c:94: warning: format ‘%ld’ expects type ‘long int’, but argument 4 has type ‘size_t’../../../../libs/libscgi/src/scgi.c:103: warning: format ‘%ld’ expects type ‘long int’, but argument 4 has type ‘size_t’../../../../libs/libscgi/src/scgi.c:103: warning: format ‘%ld’ expects type ‘long int’, but argument 4 has type ‘size_t’../../../../libs/libscgi/src/scgi.c:110: warning: format ‘%ld’ expects type ‘long int’, but argument 4 has type ‘size_t’../../../../libs/libscgi/src/scgi.c:110: warning: format ‘%ld’ expects type ‘long int’, but argument 4 has type ‘size_t’make[5]: *** [../../../../libs/libscgi/src/scgi.o] Error 1make[4]: *** [all] Error 1make[3]: *** [mod_xml_scgi-all] Error 1make[2]: *** [all-recursive] Error 1make[1]: *** [all-recursive] Error 1make: *** [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
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
--
Brian D. Foster
Endigo Computer LLC
Email: bdfoster@endigotech.com
Phone: 317-800-7876
Indianapolis, Indiana, USA
This message contains confidential information and is intended for those listed in the "To:", "CC:", and/or "BCC:" fields of the message header. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.
_________________________________________________________________________
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
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