[Freeswitch-users] mod_xml_scgi compilation error

Chris Mylonas chris at opencsta.org
Mon May 14 20:07:20 MSD 2012


Already reported earlier today, which I had read... - http://jira.freeswitch.org/browse/FS-4218
I just switched the compile flag for -Werror off by removing it

/hacky

On 15/05/2012, at 1:19 AM, Ken Rice wrote:

> Yes we should hear about 32bit issues on Jira also...
> 
> 
> On 5/14/12 10:17 AM, "Chris Mylonas" <chris at opencsta.org> wrote:
> 
>> Are 32 bit machines JIRA-worthy for something like this?
>> 
>> 
>> On 15/05/2012, at 1:03 AM, Brian Foster wrote:
>> 
>>> 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 at 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,
>>>>> Cheers
>>>>> Chris
>>>>> 
>>>>> 
>>>>> making all mod_xml_scgi
>>>>> Compiling ../../../../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 1
>>>>> make[4]: *** [all] Error 1
>>>>> make[3]: *** [mod_xml_scgi-all] Error 1
>>>>> make[2]: *** [all-recursive] Error 1
>>>>> make[1]: *** [all-recursive] Error 1
>>>>> make: *** [all] Error 2
>>>>> 
>>>> 
>>>> 
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org
>>>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/> 
>>>> 
>>>> 
>>>>  </> 
>>>> 
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org <http://www.freeswitch.org/> 
>>>> http://wiki.freeswitch.org <http://wiki.freeswitch.org/> 
>>>> http://www.cluecon.com <http://www.cluecon.com/> 
>>>> 
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at lists.freeswitch.org
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>> http://www.freeswitch.org <http://www.freeswitch.org/> 
>>>> 
>>> 
>>> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120515/a3426407/attachment.html 


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