[Freeswitch-users] Build Error
info at shishir.com.np
info at shishir.com.np
Tue Apr 2 01:20:18 MSD 2013
Hi
I Came across the following error while performing make current this
morning. Please suggest.
quiet_libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src/include
-I./libs/xmlrpc-c -I/usr/src/freeswitch/libs/curl/include
-I/usr/src/freeswitch/src/include -I/usr/src/freeswitch/src/include
-I/usr/src/freeswitch/libs/libteletone/src
-I/usr/src/freeswitch/libs/stfu -fPIC -fvisibility=hidden
-DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1
-Ilibs/sofia-sip/libsofia-sip-ua/sdp -Ilibs/sofia-sip/libsofia-sip-ua/su
-g -O2 -pthread -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE -I/usr/src/freeswitch/libs/apr/include
-I/usr/src/freeswitch/libs/apr-util/include
-I/usr/src/freeswitch/libs/apr-util/xml/expat/lib
-I/usr/src/freeswitch/libs/libtpl-1.5/src
-I/usr/src/freeswitch/libs/stfu -I/usr/src/freeswitch/libs/sqlite
-I/usr/src/freeswitch/libs/pcre -I/usr/src/freeswitch/libs/speex/include
-Ilibs/speex/include -I/usr/src/freeswitch/libs/srtp/include
-I/usr/src/freeswitch/libs/srtp/crypto/include
-Ilibs/srtp/crypto/include -I/usr/src/freeswitch/libs/spandsp/src
-I/usr/src/freeswitch/libs/tiff-4.0.2/libtiff -DENABLE_SRTP
-I/usr/src/freeswitch/libs/libedit/src -DSWITCH_HAVE_LIBEDIT
-I/usr/src/freeswitch/libs/curl/include
-I/usr/src/freeswitch/src/include -I/usr/src/freeswitch/src/include
-I/usr/src/freeswitch/libs/libteletone/src
-I/usr/src/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_rtp.lo -MD -MP -MF
.deps/libfreeswitch_la-switch_rtp.Tpo -c src/switch_rtp.c -fPIC -DPIC
-o .libs/libfreeswitch_la-switch_rtp.o
cc1: warnings being treated as errors
src/switch_rtp.c: In function ‘handle_ice’:
src/switch_rtp.c:797: error: format ‘%ld’ expects type ‘long int’, but
argument 8 has type ‘switch_size_t’
src/switch_rtp.c: In function ‘read_rtp_packet’:
src/switch_rtp.c:3734: error: format ‘%ld’ expects type ‘long int’, but
argument 9 has type ‘switch_size_t’
src/switch_rtp.c:3906: error: format ‘%ld’ expects type ‘long int’, but
argument 11 has type ‘switch_size_t’
src/switch_rtp.c: In function ‘rtp_common_write’:
src/switch_rtp.c:5289: error: format ‘%ld’ expects type ‘long int’, but
argument 9 has type ‘switch_size_t’
src/switch_rtp.c:5293: error: format ‘%ld’ expects type ‘long int’, but
argument 9 has type ‘switch_size_t’
make[2]: *** [libfreeswitch_la-switch_rtp.lo] Error 1
make[2]: Leaving directory `/usr/src/freeswitch'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/freeswitch'
make: *** [current] Error 2
Thanks
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list