2013-09-28 132 views
0

按照編譯Python和PJSIP http://trac.pjsip.org/repos/wiki/Python_SIP/Build_Install 在做最後一個步驟: 使Ubuntu的PJSIP蟒蛇編譯

我得到

/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 

回答

0

一個化妝清潔後,都能正常運作。