交叉编译josua
来源:互联网 发布:怎么做软件程序 编辑:程序博客网 时间:2024/05/16 08:43
arm-linux编译osip,ortp-0.7.0,exosip2:
1)osip2-2.2.1
2)ortp-0.7.0
3)exosip2-1.9.1-pre16
准备:
在/root下新建文件夹josua
1)交叉编译osip:
在/home/libosip2-2.2.1文件夹下编译:
$CC=arm-linux-gcc CFLAGS=-O2 ./configure --prefix=/root/josua --disable-trace --disable-debug --disable-josua --host=arm-linux
$make
$make install
2)交叉编译ortp:
#cd /home/ortp-0.7.0
##./configure --prefix=/root/josua --host=arm-linux --target=arm-linux --disable-static --enable-fixed-point --disable-glib
//需要加上 --disable-glib(禁止glib库),否则会应为缺少gthread 等库而无法编译。 change by Myth Wu
#make clean
#make
#make install
3)交叉编译exosip:
#cd /home/libeXosip2-1.9.1-pre16
#./configure --prefix=/root/josua --host=arm-linux --target=arm-linux --disable-static --disable-glib --enable-gnome_ui=no --disable-manual
--enable-ipv6 --enable-alsa --with-osip=/root/josua --disable-josua
#make
#make install
//--enable-alsa :使能alsa语音编解码方式,语音传输的另种方式为oss(一般为oss) change by Myth Wu
//--enable-ipv6 :使能ipv6
至此交叉编译osip成功,生成可执行文件在/root/josua/bin中,链接库文件在/root/josua/lib中,下载可执行文件及相应的库文件到开发板即可以运行。
design by Myth Wu
- 交叉编译josua
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 测测你的记忆力
- 史记
- 交叉编译Linphone 1.2.0
- javascript实现trim()方法来源:IT传媒网(www.cniter.com)
- vs2005 Crystal Report制作使用详细
- 交叉编译josua
- sybase 分页
- 常用数学公式
- IT职业人生
- 通过JS实现文本框获得输入焦点时的状态
- 世界上最漂亮的超级计算机
- js控制div得vidible属性。
- gcc使用的方法【转】
- web services 中 传递 对象 数组