您的位置:首页 > 其它

Linphone编译移植arm920t语音版

2013-03-26 09:42 351 查看
支持语音通话的Linphone-3.4.3成功移植过程如下:
准备需要如下版本安装包:
ncurses-5.5

readline-5.1

libosip2-3.0.3

libogg-1.3.0

speex-1.2rc1

libeXosip2-3.0.3

linphone-3.4.3

编译过程请按如下顺序进行:

mkdir ~/Desktop/workspace/armbuild -p

export ARM_INSTALL_TREE=~/Desktop/workspace/armbuild

cd ncurses-5.5/

./configure --prefix=$ARM_INSTALL_TREE/usr \

--host=arm-none-linux-gnueabi \

--with-gnu-ld --with-shared

make

make install

cd readline-5.1/

./configure --prefix=$ARM_INSTALL_TREE/usr \

--host=arm-none-linux-gnueabi --disable-static

make

make install

cd libosip2-3.0.3/

./configure --prefix=$ARM_INSTALL_TREE/usr \

--host=arm-none-linux-gnueabi \

--with-gnu-ld --disable-static

make

make install

cd libogg-1.3.0/

./configure --prefix=$ARM_INSTALL_TREE/usr \

--host=arm-none-linux-gnueabi \

--with-gnu-ld --disable-static

make

make install

cd speex-1.2rc1/

./configure --prefix=$ARM_INSTALL_TREE/usr \

--host=arm-none-linux-gnueabi \

--with-gnu-ld --disable-static \

--enable-fixed-point --enable-arm-asm

make

make install

cd libeXosip2-3.0.3/

./configure --prefix=$ARM_INSTALL_TREE/usr \

--host=arm-none-linux-gnueabi \

--with-gnu-ld --disable-static \

OSIP_LIBS="-L$ARM_INSTALL_TREE/usr/lib -losip2 -losipparser2" \

OSIP_CFLAGS="-$ARM_INSTALL_TREE/usr/include"

make

make install

cd linphone-3.4.3/

./configure --prefix=$ARM_INSTALL_TREE/usr \

--host=arm-none-linux-gnueabi \

--with-gnu-ld --disable-static --disable-glib --disable-gtk_ui --disable-video \

--with-readline=$ARM_INSTALL_TREE/usr \

SPEEX_CFLAGS="-I$ARM_INSTALL_TREE/usr/include" \

SPEEX_LIBS="-L$ARM_INSTALL_TREE/usr/lib -lspeex -lspeexdsp" \

OSIP_LIBS="-L$ARM_INSTALL_TREE/usr/lib -losip2 -losipparser2" \

OSIP_CFLAGS="-I$ARM_INSTALL_TREE/usr/include" \

--disable-pulseaudio

make

make install
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: