<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On Sep 22, 2014, at 3:47 PM, Joshua Colp <<a href="mailto:jcolp@digium.com">jcolp@digium.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Paul Albrecht wrote:<br><blockquote type="cite"><br>Asterisk 13 beta2 compile fails:<br><br>.<br>.<br>.<br>[CC] chan_pjsip.c -> chan_pjsip.o<br>[CC] pjsip/dialplan_functions.c -> pjsip/dialplan_functions.o<br>[LD] chan_pjsip.o pjsip/dialplan_functions.o -> chan_pjsip.so<br>/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld:<br>/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/libpjsip-ua-x86_64-pc-linux-gnu.a(sip_inv.o):<br>relocation R_X86_64_32S against `.rodata' can not be used when making a<br>shared object; recompile with -fPIC<br>/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/libpjsip-ua-x86_64-pc-linux-gnu.a:<br>could not read symbols: Bad value<br>collect2: ld returned 1 exit status<br>make[1]: *** [chan_pjsip.so] Error 1<br>make: *** [channels] Error 2<br></blockquote><br>Your environment does not seem have a suitable pjproject. It should not<span class="Apple-converted-space"> </span><br>be trying to link in any static. Did you follow the wiki to build<span class="Apple-converted-space"> </span><br>pjproject? Do you have an old install as well as a new?<br></div></blockquote><div><br></div><div>Oops, my bad, I didn’t setup pjproject. However, the configure script didn’t complain so I assumed I was good to go and proceeded to make asterisk. Shouldn’t the configure script catch this and not allow someone to proceed to make? Thought that was a function of the configure script, that is, it verifies software dependancies before the build step.</div><div><br></div><div>Another thing … the README int the top level directory doesn’t seem to have been updated in a while and doesn’t mention pjproject. If there’s an external requirement like pjproject shouldn’t that go in the README? </div><br><blockquote type="cite"><div style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br>--<span class="Apple-converted-space"> </span><br>Joshua Colp<br>Digium, Inc. | Senior Software Developer<br>445 Jan Davis Drive NW - Huntsville, AL 35806 - US<br>Check us out at:<span class="Apple-converted-space"> </span><a href="http://www.digium.com/">www.digium.com</a><span class="Apple-converted-space"> </span>&<span class="Apple-converted-space"> </span><a href="http://www.asterisk.org/">www.asterisk.org</a><br><br>--<span class="Apple-converted-space"> </span><br>_____________________________________________________________________<br>-- Bandwidth and Colocation Provided by<span class="Apple-converted-space"> </span><a href="http://www.api-digital.com/">http://www.api-digital.com</a><span class="Apple-converted-space"> </span>--<br><br>asterisk-dev mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev">http://lists.digium.com/mailman/listinfo/asterisk-dev</a></div></blockquote></div><br></body></html>