0

按照说明编译 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
4

1 回答 1

0

清理干净后,一切正常。

于 2013-09-28T08:12:19.013 回答