Hi Andrew,

----- Original Message -----
> From: "Andrew Myers" <[email protected]>
> To: "Tristan Matthews" <[email protected]>
> Cc: "SFLphone" <[email protected]>
> Sent: Monday, September 3, 2012 3:56:45 AM
> Subject: sflphoned does not compile
> 
> The nightly build does not compile here. The error is:
> 
> /usr/bin/ld:
> ../../../libs/pjproject/third_party/lib/libilbccodec-x86_64-unknown-linux-gnu.a(iLBC_decode.o):
> relocation R_X86_64_32S against `ULP_20msTbl' can not be used when
> making a shared object; recompile with -fPIC

How are you building the nightly build? We just added iLBC support, which 
requires that the iLBC module
in PJSIP be compiled with -fPIC in the CFLAGS options. So when you build PJSIP, 
you have to do

CFLAGS=-fPIC ./configure && make dep && make

You'll see this in the debian/rules file of the sflphone-common package:

https://projects.savoirfairelinux.com/projects/sflphone/repository/revisions/32ce5123d31237dd870a1afde85d8c9fc241aa6d/diff/tools/build-system/launchpad/sflphone-common/debian/rules

Best,
Tristan
_______________________________________________
SFLphone mailing list
[email protected]
http://lists.savoirfairelinux.net/mailman/listinfo/sflphone

Reply via email to