<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi guys,<br>
<br>
<br>
I have got a error trying to compile FS in debian.<br>
<br>
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:<br>
<br>
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<br>
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<br>
<b><font color="#cc0000">cc1: warnings being treated as errors<br>
src/switch_core_session.c: In function
‘switch_core_session_thread_pool_worker’:<br>
src/switch_core_session.c:1478: error: format ‘%ld’ expects type
‘long int’, but argument 9 has type ‘switch_size_t’<br>
src/switch_core_session.c:1483: error: format ‘%ld’ expects type
‘long int’, but argument 9 has type ‘switch_size_t’<br>
make[1]: *** [libfreeswitch_la-switch_core_session.lo] Error 1<br>
make: *** [all] Error 2<br>
</font></b><br>
What is wrong?<br>
<br>
Thanks in advance<br>
<br>
</body>
</html>