getting error when install pjsua

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I can't say about the specific thing that you'll need to fix this in
pjsua, but I can tell you this: in normal x86 when you want to make a
shared lib only the "top-level" code needs to be compiled PIC. One of
the many differences in the x86_64 ABI is that *all* code that compiles
into a library must be built as PIC. The short of it is that you should
be able to get it to compile by making sure that -fPIC is part of CFLAGS
in each Makefile.

On 5/18/11 2:00 AM, Triatmoko wrote:
> Dear All,
>
> I am getting stress to install python pjsua on Ubuntu x64. I have
> tried 6 hours but no luck.
> I am also trying install pjsua on Ubuntu x86 it work fine and easy.
> I got this error when trying to "make" on pjsip-app/src/python
>
> /usr/bin/ld:
> /home/triatmoko/pjproject2/pjsip/lib/libpjsua-x86_64-unknown-linux-gnu.a(pjsua_acc.o):
> relocation R_X86_64_32S against `.rodata' can not be used when making
> a shared object; recompile with -fPIC
> /home/triatmoko/pjproject2/pjsip/lib/libpjsua-x86_64-unknown-linux-gnu.a:
> could not read symbols: Bad value
> collect2: ld returned 1 exit status
> error: command 'gcc' failed with exit status 1
> make: *** [all] Error 1
>
> could somebody help me solve this problem??
> thank in advance
>
> Tri
> tr_mbil at yahoo.com
>
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


-- 
Jens B. Jorgensen
jbj1 at ultraemail.net

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20110518/127cbc63/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux