- 博客(0)
- 资源 (7)
- 收藏
- 关注
pjproject-2.1.0文件和移植步骤
1.拷贝pjproject-2.1.tar.bz2到linux 系统中。
2.tar xvf pjproject-2.1.tar.bz2 解压文件
3. 进入pjproject-2.1.0文件创建编译库存放文件openwrtlib
4.运行./configure --prefix=/home/openwrt/softwore/pjproject-2.1.0/openwrtlib --host=mipsel-openwrt-linux CC=mipsel-openwrt-linux-gcc CXX=mipsel-openwrt-linux-g++ 配置
5.配置完成后,运行make dep和make
6.编译完成后,运行make install会把库文件和头文件拷贝到刚才创建的openwrtlib文件中。
7.在你需要引用工程中的makefile中添加引用编译出来的库:
Libs: -L${libdir} -lpjsua-mipsel-openwrt-linux-gnu -lpjsip-ua-mipsel-openwrt-linux-gnu -lpjsip-simple-mipsel-openwrt-linux-gnu -lpjsip-mipsel-openwrt-linux-gnu -lpjmedia-codec-mipsel-openwrt-linux-gnu -lpjmedia-videodev-mipsel-openwrt-linux-gnu -lpjmedia-mipsel-openwrt-linux-gnu -lpjmedia-audiodev-mipsel-openwrt-linux-gnu -lpjnath-mipsel-openwrt-linux-gnu -lpjlib-util-mipsel-openwrt-linux-gnu -lresample-mipsel-openwrt-linux-gnu -lmilenage-mipsel-openwrt-linux-gnu -lsrtp-mipsel-openwrt-linux-gnu -lgsmcodec-mipsel-openwrt-linux-gnu -lspeex-mipsel-openwrt-linux-gnu -lilbccodec-mipsel-openwrt-linux-gnu -lg7221codec-mipsel-openwrt-linux-gnu -lportaudio-mipsel-openwrt-linux-gnu -lpj-mipsel-openwrt-linux-gnu -lm -lnsl -lrt -lpthread
Cflags: -I${includedir} -I/home/openwrt/softwore/pjproject-2.1.0/openwrtlib/include -DPJ_AUTOCONF=1 -O2 -DPJ_IS_BIG_ENDIAN=0 -DPJ_IS_LITTLE_ENDIAN=1
2017-12-20
mtd-utils安装包
里面包含安装mtd-utils所有涉及到的安装包,给具有同样需求的人方便:
mtd-utils-1.5.0.tar.bz2
lzo-2.06.tar.gz
zlib-1.2.8.tar.gz
2016-11-03
wget如何移植
最近我在cx92755上需要用到wget功能,但是sdk中的wget功能很简单,不能满足需求,后来在网上下载了wget-1.16.2.tar.gz,终于可以满足需求,所以分享出来
2015-05-26
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人