Patch for building pjproject 1.8.10 for Android

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey List,
may i know what is the next step after make dep && make..?
Thanks && Regards,

Hi all!

I've made a new patch for building pjproject v1.8.10 for Android(ARM). I've tested the 
pjsua reference application on a Nexus S running Android 2.3 and on a LG GW620 running 
OpenEtna(Android 2.2).
Audio is only supported on Android 2.3 (and higher versions).

A short instruction on compiling pjproject on Linux:

1) Download and install Android NDK version r5b.

2) Install a standalone toolchain as described in 
android-ndk-r5b/docs/STANDALONE-TOOLCHAIN.html

3) Download and install pjproject version 1.8.10

4) Apply the attached patch to pjproject.

5) Run autoconf (important since the patch only patches aconfigure.ac and not aconfigure):
     cd pjproject-1-8-10
     autoconf aconfigure.ac >aconfigure

6) Run configure:
     CC=<path_to_installed_android_toolchain>/bin/arm-linux-androideabi-gcc ./configure 
--host=arm-linux-androideabi --disable-floating-point --disable-large-filter

7) Run make dep and make:
      make dep && make

8) Done.

NOTE!
Audio in only supported for Android 2.3 (API level 9) and higher versions.
When building for API level 8 and lower only null_audio will be supported.

Regards,
Dan


-------------- next part --------------
A non-text attachment was scrubbed...
Name: pjproject-1.8.10_android.patch
Type: text/x-patch
Size: 43670 bytes
Desc: not available
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20110324/186c9954/attachment-0001.patch> 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20111003/b7594608/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux