[Freeswitch-users] Build Error

Ken Rice krice at freeswitch.org
Tue Apr 2 01:54:41 MSD 2013


Update those should be fixed already...

Major updates were rolled in this morning...


On 4/1/13 4:20 PM, "info at shishir.com.np" <info at shishir.com.np> wrote:

> 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


__________________________________________________________________
> _______
Professional FreeSWITCH Consulting
> Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com

FreeSW
> ITCH-powered IP PBX: The CudaTel Communication
> Server


Official FreeSWITCH
> Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.
> com

FreeSWITCH-users mailing
> list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman
> /listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/opt
> ions/freeswitch-users
http://www.freeswitch.org


-- 
Ken
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
irc.freenode.net #freeswitch





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