python API build error

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

 



Hi again,

answering to myself, it seems that nobody has this problem or cares
enough about it.

Jakob Hirsch, 2011-01-27 16:41:
>> /usr/bin/ld: /home/jh/build/pjproject/pjproject-1.8.10/pjsip/lib/libpjsua-x86_64-unknown-linux-gnu.a(pjsua_acc.o): relocation R_X86_64_32 against `pjsua_var' can not be used when making a shared object; recompile with -fPIC
>> /home/jh/build/pjproject/pjproject-1.8.10/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

The simple solution is to put this into /path/to/pjproject-x.y/user.mak:
export CFLAGS += -fPIC

I think the build system should detect that by itself, though.



[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