[Freeswitch-users] compile error

peter ness ptness at gmx.co.uk
Wed Jan 16 11:51:00 MSK 2013


Can anybody advise why I am getting this error in compiling.

This is a fresh download fron git and default modules.conf and ./configure

Systen is amd x86_64-pc-linux-gnu


make[2]: Leaving directory `/root/Desktop/freeswitch/libs/curl'
make[1]: Leaving directory `/root/Desktop/freeswitch/libs/curl'
which: no git in (/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib64/kde4/libexec:/usr/lib64/qt/bin)
cat /root/Desktop/freeswitch/src/include/switch_cpp.h | perl /root/Desktop/freeswitch/build/strip.pl > /root/Desktop/freeswitch/src/include/switch_swigable_cpp.h
make "OUR_MODULES=$(if test -z "" ; then tmp_mods="$(grep -v "#" /root/Desktop/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 "#" /root/Desktop/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 "#" /root/Desktop/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 "#" /root/Desktop/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 "#" /root/Desktop/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 "#" /root/Desktop/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 "#" /root/Desktop/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 "#" /root/Desktop/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
quiet_libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./src/include -I./libs/xmlrpc-c -I/root/Desktop/freeswitch/libs/curl/include -I/root/Desktop/freeswitch/src/include -I/root/Desktop/freeswitch/src/include -I/root/Desktop/freeswitch/libs/libteletone/src -I/root/Desktop/freeswitch/libs/stfu -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -Ilibs/sofia-sip/libsofia-sip-ua/sdp/sofia-sip -Ilibs/sofia-sip/libsofia-sip-ua/su -g -O2 -pthread -D_REENTRANT -D_GNU_SOURCE -I/root/Desktop/freeswitch/libs/apr/include -I/root/Desktop/freeswitch/libs/apr-util/include -I/root/Desktop/freeswitch/libs/apr-util/xml/expat/lib -I/root/Desktop/freeswitch/libs/libtpl-1.5/src -I/root/Desktop/freeswitch/libs/stfu -I/root/Desktop/freeswitch/libs/sqlite -I/root/Desktop/freeswitch/libs/pcre -I/root/Desktop/freeswitch/libs/speex/include -Ilibs/speex/include -I/root/Desktop/freeswitch/libs/srtp/include -I/root/Desktop/freeswitch/libs/srtp/crypto/include -Ilibs/srtp/crypto/include -I/root/Desktop/freeswitch/libs/spandsp/src -I/root/Desktop/freeswitch/libs/tiff-4.0.2/libtiff -DENABLE_SRTP -DSWITCH_HAVE_ODBC -I/usr/local/include -I/root/Desktop/freeswitch/libs/libedit/src -DSWITCH_HAVE_LIBEDIT -I/root/Desktop/freeswitch/libs/curl/include -I/root/Desktop/freeswitch/src/include -I/root/Desktop/freeswitch/src/include -I/root/Desktop/freeswitch/libs/libteletone/src -I/root/Desktop/freeswitch/libs/stfu -fPIC -Werror -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb -DHAVE_OPENSSL -Wall -std=c99 -pedantic -Wdeclaration-after-statement -g -O2 -MT libfreeswitch_la-switch_apr.lo -MD -MP -MF .deps/libfreeswitch_la-switch_apr.Tpo -c src/switch_apr.c  -fPIC -DPIC -o .libs/libfreeswitch_la-switch_apr.o
In file included from /root/Desktop/freeswitch/libs/spandsp/src/spandsp.h:66:0,
                 from ./src/include/private/switch_core_pvt.h:35,
                 from src/switch_apr.c:37:
/root/Desktop/freeswitch/libs/spandsp/src/spandsp/fir.h: In function 'fir16_create':
/root/Desktop/freeswitch/libs/spandsp/src/spandsp/fir.h:94:5: error: implicit declaration of function 'rpl_malloc' [-Werror=implicit-function-declaration]
/root/Desktop/freeswitch/libs/spandsp/src/spandsp/fir.h:94:25: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
/root/Desktop/freeswitch/libs/spandsp/src/spandsp/fir.h: In function 'fir32_create':
/root/Desktop/freeswitch/libs/spandsp/src/spandsp/fir.h:213:20: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
/root/Desktop/freeswitch/libs/spandsp/src/spandsp/fir.h: In function 'fir_float_create':
/root/Desktop/freeswitch/libs/spandsp/src/spandsp/fir.h:261:20: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
src/switch_apr.c: In function 'switch_dir_open':
src/switch_apr.c:558:22: error: initialization makes pointer from integer without a cast [-Werror]
cc1: all warnings being treated as errors
make[1]: *** [libfreeswitch_la-switch_apr.lo] Error 1
make: *** [all] Error 2



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