[Freeswitch-users] Problem compiling

Steven Lam, KeenSystems B.V. s.lam at keensystems.eu
Fri Sep 23 12:23:19 MSD 2011


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/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 "#" /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


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