[asterisk-dev] beta2 compile failure

Paul Albrecht palbrecht at glccom.com
Mon Sep 22 10:07:43 CDT 2014


Asterisk 13 beta2 compile fails:

.
.
.
[CC] chan_pjsip.c -> chan_pjsip.o
[CC] pjsip/dialplan_functions.c -> pjsip/dialplan_functions.o
[LD] chan_pjsip.o pjsip/dialplan_functions.o -> chan_pjsip.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/libpjsip-ua-x86_64-pc-linux-gnu.a(sip_inv.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/libpjsip-ua-x86_64-pc-linux-gnu.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [chan_pjsip.so] Error 1
make: *** [channels] Error 2

Any ideas?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140922/f161b9a0/attachment.html>


More information about the asterisk-dev mailing list