給錯誤的Make命令我想使用的PJSIP庫在Ubuntu 13.10,並試圖在入門pjsip.org的頁面給出的步驟大廈PJSIP:在Ubuntu
我試圖建立PJSIP LIB使用按照命令的順序,並且我編輯了config_site.h以在其中包含#define PJMEDIA_HAS_VIDEO
行。此外,我安裝video4linux2和ffmpeg的運行這些命令
cd pjproject
./configure
make dep
make
之前之後我跑的最後一個命令我得到了以下錯誤:
make[2]: Entering directory `/home/vk/pjproject/pjsip/build'
make[2]: `../lib/libpjsua-x86_64-unknown-linux-gnu.a' is up to date.
make[2]: Leaving directory `/home/vk/pjproject/pjsip/build'
make -f /home/vk/pjproject/build/rules.mak APP=PJSUA2_LIB app=pjsua2-lib ../lib/libpjsua2-x86_64-unknown-linux-gnu.a
make[2]: Entering directory `/home/vk/pjproject/pjsip/build'
.pjsua2-lib-x86_64-unknown-linux-gnu.depend:1: *** missing separator. Stop.
make[2]: Leaving directory `/home/vk/pjproject/pjsip/build'
make[1]: *** [libpjsua2-x86_64-unknown-linux-gnu.a] Error 2
make[1]: Leaving directory `/home/vk/pjproject/pjsip/build'
make: *** [all] Error 1
所以,任何人都可以請幫我解決這個問題?
同樣在這裏...... –
sudo apt-get install g ++,然後刪除pjproject文件夾,下載它,最後運行configure和make命令爲我做了竅門 – spicyramen