1 / 18

Porting Linphone

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

gafna
Download Presentation

Porting Linphone

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. PortingLinphone Speaker: Yi-Ji Jheng Date: 2007.12.19

  2. Outline • Porting Linphone • Make linphone for x86 • Make linphone for mips

  3. Porting Linphone

  4. 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

  5. Make Linphone for x86

  6. Make libosip • #tar zxvf libosip2-3.0.3-2.tar.gz • #cd ./libosip2-3.0.3-2 • #./configure \ --prefix=/usr/local • #make • #make install

  7. Make libeXosip • #tar zxvf libeXosip2-3.0.3-3.tar.gz • #cd ./libeXosip2-3.0.3-3 • #./configure \ --prefix=/usr/local • #make • #make install

  8. Make libogg • #tar zxvf libogg-1.1.3.tar.gz • #cd ./libogg-1.1.3 • #./configure \ --prefix=/usr/local • #make • #make install

  9. Make speex • #tar zxvf speex-1.2beta2.tar.gz • #cd ./speex-1.2beta2 • #./configure \ --prefix=/usr/local \ --disable-oggtest • #make • #make install

  10. 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

  11. MAKE LINPHONE FOR MIPS

  12. Install Toolchain • #tar zxvf toolchain.tar.gz • #PATH=$PATH:/usr/local/toolchain/bin

  13. 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

  14. 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

  15. 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

  16. 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

  17. 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

  18. 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

More Related