[Freeswitch-users] FS 1.2 make problems

Steve Underwood steveu at coppice.org
Thu Aug 9 18:03:12 MSD 2012


When this error was first reported in IRC it appeared to be because mu 
enum included a definition of 0x80000000 which is a negative number when 
considered as an integer. I thought that might be the issues, and 
changed to using 0x20000000. This was reported as fixing the issue. 
0x20000000 is most certainly a perfectly good positive integer value, 
and should be fine in an enum.

I just built the latest FreeSwitch on a 64 bit Centos 5.8 and a 64 bit 
Centos 6.3 machine. Both build OK. In fact, if I put the enum back to 
saying 0x80000000 it still builds OK. So, what is going on here?

Steve

On 08/09/2012 08:12 PM, Miha wrote:
> Steve, I tried to assigned ticket to you as Peter suggested but I guess
> it did not work right.
>
> I have new installation of centos ready, so if you need any help I can
> do testing.
>
> Regards,
> Miha
>
> On 8/9/2012 1:58 PM, Peter Olsson wrote:
>> Steve, it's reported at: FS-4509
>>
>> The original change (commit 3818cae) mentioned that this problem was on CentOS. I haven't tried myself though.
>>
>> /Peter
>>
>>
>> -----Ursprungligt meddelande-----
>> Från: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] För Steve Underwood
>> Skickat: den 9 augusti 2012 13:42
>> Till: freeswitch-users at lists.freeswitch.org
>> Ämne: Re: [Freeswitch-users] FS 1.2 make problems
>>
>> If 65ffaa8 causes the reported failure to compile, someone is using a
>> broken compiler. Which platform is this?
>>
>> Steve
>>
>> On 08/09/2012 04:55 PM, Peter Olsson wrote:
>>> Add to Jira please...
>>>
>>> FYI: It was fixed in commit  3818cae, but then reverted again in commit  65ffaa8.
>>>
>>> Submit the issue to Jira, and set Steve Underwood as the assignee, he's the author of libspandsp.
>>>
>>> /Peter
>>>
>>>
>>> -----Ursprungligt meddelande-----
>>> Från: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] För Miha
>>> Skickat: den 9 augusti 2012 10:39
>>> Till: FreeSWITCH Users Help
>>> Ämne: [Freeswitch-users] FS 1.2 make problems
>>>
>>> HI,
>>>
>>> today I tried to install FS 1.2 on test server but after make I get this:
>>>
>>> make  all-am
>>> make[3]: Entering directory `/usr/local/src/freeswitch/libs/curl/src'
>>> make[3]: Leaving directory `/usr/local/src/freeswitch/libs/curl/src'
>>> make[2]: Leaving directory `/usr/local/src/freeswitch/libs/curl/src'
>>> make[2]: Entering directory `/usr/local/src/freeswitch/libs/curl'
>>> make[2]: Nothing to be done for `all-am'.
>>> make[2]: Leaving directory `/usr/local/src/freeswitch/libs/curl'
>>> make[1]: Leaving directory `/usr/local/src/freeswitch/libs/curl'
>>> cat /usr/local/src/freeswitch/src/include/switch_cpp.h | perl /usr/local/src/freeswitch/build/strip.pl > /usr/local/src/freeswitch/src/include/switch_swigable_cpp.h
>>> make "OUR_MODULES=$(if test -z "" ; then tmp_mods="$(grep -v "#" /usr/local/src/freeswitch/modules.conf | sed -e "s|^.*/||" | sort | uniq )"; else tmp_mods="" ; fi ; mods="$(for i in $tmp_mods ; do echo $i-all ; done )"; echo $mods )" "OUR_CLEAN_MODULES=$(if test -z "" ; then tmp_mods="$(grep -v "#" /usr/local/src/freeswitch/modules.conf | sed -e "s|^.*/||" | sort | uniq )"; else tmp_mods="" ; fi ; mods="$(for i in $tmp_mods ; do echo $i-clean ; done )"; echo $mods )" "OUR_INSTALL_MODULES=$(if test -z "" ; then tmp_mods="$(grep -v "#" /usr/local/src/freeswitch/modules.conf | sed -e "s|^.*/||" | sort | uniq )"; else tmp_mods="" ; fi ; mods="$(for i in $tmp_mods ; do echo $i-install ; done)"; echo $mods )" "OUR_UNINSTALL_MODULES=$(if test -z "" ; then tmp_mods="$(grep -v "#" /usr/local/src/freeswitch/modules.conf | sed -e "s|^.*/||" | sort | uniq )"; else tmp_mods="" ; fi ; mods="$(for i in $tmp_mods ; do echo $i-uninstall ; done)"; echo $mods )" "OUR_DISABLED_MODULES=$(tmp_mods="$(grep "#" /usr/local/src/freeswitch/modules.conf | grep -v "##" | sed -e "s|^.*/||" | sort | uniq )"; mods="$(for i in $tmp_mods ; do echo $i-all ; done )"; echo $mods )" "OUR_DISABLED_CLEAN_MODULES=$(tmp_mods="$(grep "#" /usr/local/src/freeswitch/modules.conf | grep -v "##" | sed -e "s|^.*/||" | sort | uniq )";  mods="$(for i in $tmp_mods ; do echo $i-clean ; done )"; echo $mods )" "OUR_DISABLED_INSTALL_MODULES=$(tmp_mods="$(grep "#" /usr/local/src/freeswitch/modules.conf | grep -v "##" | sed -e "s|^.*/||" | sort | uniq )"; mods="$(for i in $tmp_mods ; do echo $i-install ; done)"; echo $mods )" "OUR_DISABLED_UNINSTALL_MODULES=$(tmp_mods="$(grep "#" /usr/local/src/freeswitch/modules.conf | grep -v "##" | sed -e "s|^.*/||" | sort | uniq )"; mods="$(for i in $tmp_mods ; do echo $i-uninstall ; done)"; echo $mods )" `test -n "" || echo -s` all-recursive
>>> cc1: warnings being treated as errors
>>> In file included from /usr/local/src/freeswitch/libs/spandsp/src/spandsp.h:114,
>>>                      from ./src/include/private/switch_core_pvt.h:35,
>>>                      from src/switch.c:48:
>>> /usr/local/src/freeswitch/libs/spandsp/src/spandsp/t30.h:381: warning: ISO C restricts enumerator values to range of ‘int’
>>> make[1]: *** [freeswitch-switch.o] Error 1
>>> make: *** [all] Error 2
>>> You have mail in /var/spool/mail/root
>>>
>>> Thanks!
>>>
>>> Miha
>>>
>>>
>>>
>>>
>>> _________________________________________________________________________
>>> 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
>>>
>>> Join Us At ClueCon - Aug 7-9, 2012
>>>
>>> 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
>>>
>>>
>>>
>>> _________________________________________________________________________
>>> 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
>>>
>>> Join Us At ClueCon - Aug 7-9, 2012
>>>
>>> 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
>>>
>>
>> _________________________________________________________________________
>> 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
>>
>> Join Us At ClueCon - Aug 7-9, 2012
>>
>> 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
>>
>> !DSPAM:5023a00532762097718087!
>>
>> _________________________________________________________________________
>> 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
>>
>> Join Us At ClueCon - Aug 7-9, 2012
>>
>> 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
>
>
> _________________________________________________________________________
> 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
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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
>





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