Ubuntu下安装linphone.1.2.0
来源:互联网 发布:arm linux 开发板 编辑:程序博客网 时间:2024/05/16 08:34
1、libosip2-2.2.2
./configure --prefix=/home/linux/linphone/install --disable-static
make; make install
2、libogg-1.1.0
./configure --prefix=/home/linux/linphone/install --disable-static --enable-fixed-point
make; make install
3、libspeex编译
./configure --prefix=/home/linux/linphone/install --disable-static --enable-fixed-point --enable-arm-asm --with-ogg=/home/linux/linphone/install --with-ogg-libraries=/home/linux/linphone/install/lib --with-ogg-headers=/home/linux/linphone/install/include/ogg
make; make install
4、ORTP
./configure --prefix=/home/linux/linphone/install --disable-static --enable-fixed-point --disable-glib
make; make install
用make编译的时候可能会提示这样的错误:
1、write没有检测返回值--找到相关代码,加上err = write,
2、printf(help);这一句会报错,可以改为puts(help);
5、编译linphone
./configure --prefix=/home/linux/linphone/install --disable-static --disable-glib --enable-gnome_ui=no --disable-manual --enable-ipv6 --enable-alsa --with-osip=/home/linux/linphone/install --with-speex=/home/linux/linphone/install --enable-video=no --enable-gtk_ui=no
这时可能会提示找不到osip2的相关文件,这时可以将libosip2-2.2.2/src/osip2 这个目录复制过来,重新configure
make; make install
make的时候可能会提示:
configure.in:265: error: AC_SUBST: `${NAME}_CFLAGS' is not a valid shell variable name
这时可以先把configure.in文件的第265行的变量注释掉
直接make的时候会提示:
cc: @VIDEO_CFLAGS@: No such file or directory
解决办法是:
make -j2 VIDEO_CFLAGS=
中间还会提示某个函数的返回值没有验证,那么你进去找到那一行代码,自己定义一个返回值类型的变量,让其接收返回值:
int err = 0;
err = write(...);
configure参数说明:
// --prefix=/... :指定文件编译安装目录
//--host=..... :指定编译工具,默认的为gcc,此处为arm-linux(编译到arm上用的)
//--disable-static :禁止静态库(.a)链接,编译生成动态库(.so)
//--with-ogg : 指定ogg生成的库的目录
// --with-ogg-libraries : ogg库,若没有,把生成的文件copy目录下面
//--with-ogg-headers :指定ogg头文件
//--enable-alsa :使能alsa语音编解码方式,语音传输的另种方式为oss
//--enable-ipv6 :使能ipv6
//--enable-video=no --enable-gtk_ui=no 去掉视频模块
源码包在:
http://download.csdn.net/detail/wuquan_1230/4062812
- Ubuntu下安装linphone.1.2.0
- linphone Ubuntu下运行
- [linphone]ubuntu下,编译linphone-android
- 交叉编译Linphone 1.2.0
- Linphone 3.7.0 for mingw 编译安装
- Linphone 编译安装
- 交叉编译Linphone 1.2.0(zz)
- Ubuntu下安装sourcenav6.0
- ubuntu下安装OpenCV2.0
- Ubuntu下安装jdk6.0
- ubuntu下安装mariadb10.0
- mingw下linphone-android编译
- mac 下编译linphone-android
- linphone安装和使用教程
- Ubuntu10.04.4 安装 linphone-android
- linphone安装和使用教程
- Linphone 3.7.0编译
- linphone
- QT数据库编程--定制TableView列
- 修改win2003远程桌面端口3389端口
- 什么是AXIS
- Linux中/proc目录下文件详解(三)
- 如何使用javadoc
- Ubuntu下安装linphone.1.2.0
- Java ClassLoader机制
- SYBASE数据库迁移到AS 400 db2的FAQ
- Error: ale: cvs server: sticky tag
- python easy_install工具安装
- struts2乱码问题(Tomcat服务器)
- 计算机专业常去十大网站
- Servlet 乱码问题
- Dependency Walker使用说明