190 likes | 493 Views
Porting Linphone. Speaker: Yi-Ji Jheng Date: 2007.12.19. Outline. Porting Linphone Make linphone for x86 Make linphone for mips. Porting Linphone. Source Environment. linphone/ |-x86 |-libeXosip2-3.0.3-3.tar.gz |-libosip2-3.0.3-2.tar.gz |-linphone-2.0.0.tar.gz
E N D
PortingLinphone Speaker: Yi-Ji Jheng Date: 2007.12.19
Outline • Porting Linphone • Make linphone for x86 • Make linphone for mips
Source Environment • linphone/ |-x86 |-libeXosip2-3.0.3-3.tar.gz |-libosip2-3.0.3-2.tar.gz |-linphone-2.0.0.tar.gz |-libogg-1.1.3.tar.gz |-speex-1.2beta2.tar.gz |-linphone_del_XML.diff |-mips |-libeXosip2-3.0.3-3.tar.gz |-libosip2-3.0.3-2.tar.gz |-linphone-2.0.0.tar.gz |-readline-5.2.tar.gz |-ncurses-5.6.tar.gz |-linphone.diff
Make libosip • #tar zxvf libosip2-3.0.3-2.tar.gz • #cd ./libosip2-3.0.3-2 • #./configure \ --prefix=/usr/local • #make • #make install
Make libeXosip • #tar zxvf libeXosip2-3.0.3-3.tar.gz • #cd ./libeXosip2-3.0.3-3 • #./configure \ --prefix=/usr/local • #make • #make install
Make libogg • #tar zxvf libogg-1.1.3.tar.gz • #cd ./libogg-1.1.3 • #./configure \ --prefix=/usr/local • #make • #make install
Make speex • #tar zxvf speex-1.2beta2.tar.gz • #cd ./speex-1.2beta2 • #./configure \ --prefix=/usr/local \ --disable-oggtest • #make • #make install
Make linphone • #tar zxvf linphone-2.0.0.tar.gz • #cd ./linphone-2.0.0 • #patch < ../linphone_del_XML.diff • # ./configure \ --prefix=/usr/local --with-osip=/usr/local \ --disable-ipv6 --disable-video \ --enable-console_ui=yes --enable-gtk_ui=no \ PKG_CONFIG_PATH=/usr/local/lib/pkgconfig • #make • #make install
Install Toolchain • #tar zxvf toolchain.tar.gz • #PATH=$PATH:/usr/local/toolchain/bin
Make libosip • #tar zxvf libosip2-3.0.3-2.tar.gz • #cd ./libosip2-3.0.3-2 • #./configure \ --prefix=/usr/local \ --host=mips-linux \ --disable-shared \ --enable-static \ --disable-test • #make • #make install
Make libeXosip • #tar zxvf libeXosip2-3.0.3-3.tar.gz • #cd ./libeXosip2-3.0.3-3 • #./configure \ --prefix=/usr/local \ --host=mips-linux \ --disable-shared \ --enable-static \ --disable-tools • #make • #make install
Make readline • #tar zxvf readline-5.2.tar.gz • #cd ./readline-5.2 • #./configure \ --prefix=/usr/local \ --host=mips-linux \ --disable-shared \ --enable-static • #make • #make install
Make ncurse • #tar zxvf ncurses-5.6.tar.gz • #cd ./ncurses-5.6 • #./configure \ --prefix=/usr/local --host=mips-linux \ --disable-shared --enable-static \ --without-cxx \ --without-cxx-binding --without-ada \ --without-progs --disable-database \ --without-hashed-db --disable-big-core \ --enable-termcap --with-build-cc=gcc • #make • #make install
Make linphone • #tar zxvf linphone-2.0.0.tar.gz • #cd ./linphone-2.0.0 • #patch -p1 < ../linphone.diff • #./configure \ --prefix=/usr/local --host=mips-linux \ --disable-shared --enable-static \ --disable-ipv6 --disable-video --with-readline=/usr/local \ --with-osip=/usr/local --enable-console_ui=yes \ --enable-gtk_ui=no \ PKG_CONFIG_PATH=/usr/local/lib/pkgconfig \ CFLAGS=-I/usr/local/include • #make • #make install
Make linphonec • #cd ./console • #vi Makefile • Modify : CFLAGS = -I/usr/local/include -fno-strict-aliasing --static • #make clean • #make • #mips-linux-strip linphonec • Download on Target Board