I want to use the pjsip library in ubuntu 13.10 and tried the steps given in getting started page of pjsip.org
I tried to build the pjsip lib by using the following sequence of commands and also I edited the config_site.h to have the #define PJMEDIA_HAS_VIDEO
line in it. Also I installed video4linux2 and ffmpeg before running these commands
cd pjproject
./configure
make dep
make
After I ran the last command I got following error:
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
So could anyone please help me in resolving this error?
Just run following commands on your PJSIP directory path using Terminal/Command line Interface.
make distclean
make clean
make realclean
Important one to run at last,
find . -name "*.depend" -exec rm {} \;
After that you want to configure and build your PJSIP Project using,
./configure-iphone OR ./configure-android
make dep && make clean && make
I thought, this will help you to solve this problem!
Try to install gcc-c++, it fixed trouble for me in the same case
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With