Ok that did it after I did the steps to completely remove everything and do a new install. Thanks!
> -----Original Message----- > From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users- > boun...@lists.digium.com] On Behalf Of Joshua Colp > Sent: Wednesday, September 23, 2015 10:12 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [asterisk-users] problems with PJSIP install on UBUNTU > 14.04 > > Ryan, Travis wrote: > > Ok so now I'm getting this when doing a make in asterisk... > > > > travis@pcimphone1:~/downloads/asterisk-13.5.0$ make > > [LD] chan_pjsip.o pjsip/dialplan_functions.o -> chan_pjsip.so > > /usr/bin/ld: > > /usr/local/lib/libpjsip-ua-x86_64-unknown-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/local/lib/libpjsip-ua-x86_64-unknown-linux-gnu.a: error adding > > symbols: Bad value > > collect2: error: ld returned 1 exit status > > make[1]: *** [chan_pjsip.so] Error 1 > > make: *** [channels] Error 2 > > It has picked up an install of pjproject which was not built with "-- > enable-shared". You need to remove all instances on your system to > return it to a known state and then rebuild pjproject and install it. > > ./configure CFLAGS="-DNDEBUG -DPJ_HAS_IPV6=1" --enable-shared --with- > external-speex --with-external-gsm --with-external-srtp --disable-sound > --disable-resample --prefix=/usr > > Those are the options I use normally on Ubuntu 14.04. > > -- > Joshua Colp > Digium, Inc. | Senior Software Developer > 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: > www.digium.com & www.asterisk.org > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users