构建PJSIP:在ubuntu上给Make命令错误 [英] Building PJSIP: giving error for Make command on ubuntu

查看:479
本文介绍了构建PJSIP:在ubuntu上给Make命令错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在ubuntu 13.10中使用pjsip库,并尝试了pjsip.org入门页面中给出的步骤

I want to use the pjsip library in ubuntu 13.10 and tried the steps given in getting started page of pjsip.org

我试图通过使用以下命令序列来构建pjsip库,并且我编辑了config_site.h以在其中包含#define PJMEDIA_HAS_VIDEO行.在运行这些命令之前,我还安装了video4linux2和ffmpeg

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?

推荐答案

只需使用终端/命令行界面在PJSIP目录路径上运行以下命令.

Just run following commands on your PJSIP directory path using Terminal/Command line Interface.

make distclean

make clean

make realclean

最后要运行的重要

find . -name "*.depend" -exec rm {} \;

之后,您要使用以下命令配置和构建PJSIP项目,

After that you want to configure and build your PJSIP Project using,

./configure-iphone或./configure-android

./configure-iphone OR ./configure-android

制作dep&&清洁&&做

make dep && make clean && make

我认为,这将帮助您解决此问题!

I thought, this will help you to solve this problem!

这篇关于构建PJSIP:在ubuntu上给Make命令错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆