[asterisk-dev] 11.0.1 build issue
Phil Daws
uxbod at splatnix.net
Thu Nov 8 12:57:59 CST 2012
Hello:
am attempting to build the latest LTS version and receiving the following error:
/usr/bin/ld: /home/build/asterisk/res/pjproject/pjnath/lib/libpjnath-x86_64-unknown-linux-gnu.a(errno.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/home/build/asterisk/res/pjproject/pjnath/lib/libpjnath-x86_64-unknown-linux-gnu.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
I tried passing in -fPIC using:
./configure CFLAGS=-fPIC --with-imap=/home/build/imap --with-srtp=/home/build/srtp --with-netsnmp --with-ldap --libdir=/usr/lib64
though that still fails.
Any help would be appreciated.
Thank you.
--
Phil
More information about the asterisk-dev
mailing list