[Freeswitch-users] Compilation error on debian
Michael Jerris
mike at jerris.com
Fri Aug 24 18:53:06 MSD 2012
This is a bug, could you please file it at http://jira.freeswitch.org
Thanks
Mike
On Aug 24, 2012, at 10:29 AM, Saugort Dario Garcia Tovar <dgarcia at anew.com.ve> wrote:
> Hi guys,
>
>
> I have got a error trying to compile FS in debian.
>
> I have configured a small virtual machine, installed debian 6.2. I pull FS from git. I did bootstrap and compile. When I invoke make I got this:
>
> 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
> quiet_libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src/include -I./libs/xmlrpc-c -I/usr/local/src/freeswitch/libs/curl/include -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -pthread -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/local/src/freeswitch/libs/apr/include -I/usr/local/src/freeswitch/libs/apr-util/include -I/usr/local/src/freeswitch/libs/apr-util/xml/expat/lib -I/usr/local/src/freeswitch/libs/stfu -I/usr/local/src/freeswitch/libs/sqlite -I/usr/local/src/freeswitch/libs/pcre -I/usr/local/src/freeswitch/libs/speex/include -Ilibs/speex/include -I/usr/local/src/freeswitch/libs/srtp/include -I/usr/local/src/freeswitch/libs/srtp/crypto/include -Ilibs/srtp/crypto/include -I/usr/local/src/freeswitch/libs/spandsp/src -I/usr/local/src/freeswitch/libs/tiff-3.8.2/libtiff -DENABLE_SRTP -DSWITCH_HAVE_ODBC -I/usr/include -I/usr/local/src/freeswitch/libs/libedit/src -DSWITCH_HAVE_LIBEDIT -I/usr/local/src/freeswitch/libs/curl/include -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/libs/libteletone/src -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_core_session.lo -MD -MP -MF .deps/libfreeswitch_la-switch_core_session.Tpo -c src/switch_core_session.c -fPIC -DPIC -o .libs/libfreeswitch_la-switch_core_session.o
> cc1: warnings being treated as errors
> src/switch_core_session.c: In function ‘switch_core_session_thread_pool_worker’:
> src/switch_core_session.c:1478: error: format ‘%ld’ expects type ‘long int’, but argument 9 has type ‘switch_size_t’
> src/switch_core_session.c:1483: error: format ‘%ld’ expects type ‘long int’, but argument 9 has type ‘switch_size_t’
> make[1]: *** [libfreeswitch_la-switch_core_session.lo] Error 1
> make: *** [all] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120824/6954d39f/attachment-0001.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list