[Freeswitch-users] Problem compiling

Steven Lam, KeenSystems B.V. s.lam at keensystems.eu
Sun Sep 25 12:13:41 MSD 2011


I was using git master.
After some testing i discovered going back to git a78ec2588a solves the problem.

Can it be there is a problem in libs/esl/fs_cli.c atm?

Steven

On 24 sep 2011, at 20:57, Anthony Minessale wrote:

> There were a round of patches to make FS build on newer compilers, are
> you running an older checkout ?
> 
> 
> On Fri, Sep 23, 2011 at 3:50 PM,  <covici at ccs.covici.com> wrote:
>> I am not seeing this here -- I am running gentoo unstable amd64.  You
>> might try running bootstrap -- save your modules.conf somewhere and put
>> it back and try again..
>> 
>> Steven Lam, KeenSystems B.V. <s.lam at keensystems.eu> wrote:
>> 
>>> Hi,
>>> 
>>> I'm having problems compiling FreeSWITCH on a Gentoo x86_64 machine..
>>> I did a git checkout and still have the same problem, the error i see whem compiling is:
>>> 
>>> make "OUR_MODULES=$(if test -z "" ; then tmp_mods="$(grep -v "#" /source/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 "#" /source/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 "#" /source/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 "#" /source/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 "#" /source/fre!
>>  es!
>>>  witch/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 "#" /source/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 "#" /source/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 "#" /source/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
>>> Making all in ..
>>> cc1: warnings being treated as errors
>>> libs/esl/fs_cli.c: In function 'clear_cli':
>>> libs/esl/fs_cli.c:109: error: ignoring return value of 'write', declared with attribute warn_unused_result
>>> libs/esl/fs_cli.c: In function 'clear_line':
>>> libs/esl/fs_cli.c:578: error: ignoring return value of 'write', declared with attribute warn_unused_result
>>> libs/esl/fs_cli.c:580: error: ignoring return value of 'write', declared with attribute warn_unused_result
>>> libs/esl/fs_cli.c:581: error: ignoring return value of 'write', declared with attribute warn_unused_result
>>> libs/esl/fs_cli.c: In function 'redisplay':
>>> libs/esl/fs_cli.c:588: error: ignoring return value of 'write', declared with attribute warn_unused_result
>>> libs/esl/fs_cli.c:589: error: ignoring return value of 'write', declared with attribute warn_unused_result
>>> make[2]: *** [fs_cli-fs_cli.o] Error 1
>>> 
>>> Is there someone who can help me on this?
>>> 
>>> Thanks!
>>> 
>>> Steven
>>> 
>>> 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
>> 
>> --
>> Your life is like a penny.  You're going to lose it.  The question is:
>> How do
>> you spend it?
>> 
>>         John Covici
>>         covici at ccs.covici.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
>> 
> 
> 
> 
> -- 
> Anthony Minessale II
> 
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
> 
> AIM: anthm
> MSN:anthony_minessale at hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
> 
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> googletalk:conf+888 at conference.freeswitch.org
> pstn:+19193869900
> 
> 
> 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