按照说明编译 python 和 PjSIP http://trac.pjsip.org/repos/wiki/Python_SIP/Build_Install 做最后一步时:make
我明白了
/home/<user>/Downloads/pjproject-2.1.0/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
我尝试重新编译: ./configure CFLAGS='-fPIC'
或使用 user.make
export CFLAGS += -O2 -fPIC
#export LDFLAGS +=
但同样的问题
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.2 LTS
Release: 12.04
Codename: precise