[Freeswitch-users] Problem compiling

covici at ccs.covici.com covici at ccs.covici.com
Sat Sep 24 00:50:11 MSD 2011


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



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