Python module compilation problem

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

 



Hi,

yesterday I succeeded compiling Python module on Ubuntu 12.04 64bit. The 
point is that if you link libraries into a single shared object, they 
must be compiled as Position Independent Code:

./configure CFLAGS=-fPIC CPPFLAGS=-fPIC

Good luck,
- Vali

PS. There is a regression in Python module 2.0.1; see my post few days ago.


Dne 27.2.2013 12:36, Jan Kal?b napsal(a):
> I wanted to compile Python module on Ubuntu 12.10 64bit, but I get the following error:
>
> /usr/bin/ld: /tmp/pjproject-2.0.1/pjsip/lib/libpjsua-x86_64-unknown-linux-gnu.a(pjsua_acc.o): relocation R_X86_64_32S against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
>
> Any idea what might be wrong and how to fix it?
>
> ________________________________
>
> Prohl??en?: k tomuto e-mailu je p?ipojeno prohl??en?, jeho?
> pln? zn?n? naleznete na str?nce http://www.ipex.cz/prohlaseni
>
> _______________________________________________
> 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
>
>




[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