Patch for building pjproject 1.8.10 for Android

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

 



Thanks,

i followed dan tutorial cause after steps 7, 
i get pjsip libraries is in *.a format


i not sure i can link them up cause the ndk read lib*.so format only.

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


Regards,
Date: Mon, 3 Oct 2011 11:45:35 +0200
Subject: Re: Patch for building pjproject 1.8.10 for Android
From: fbernhard@xxxxxxxxx
To: gminghon at hotmail.com

I have never compiled PJSIP for Android since I work with a different SIP stack. But have you followed the NDK documentation?
http://developer.android.com/sdk/ndk/index.html

If you compile your JNI code according to the documentation above you should get these folders. I would assume that you can link your PJSIP libs into your JNI code. Take a look at the "two-libs" sample described here:

http://developer.android.com/sdk/ndk/overview.html#samples
Best regards
Fabian


On Mon, Oct 3, 2011 at 11:37 AM, ming hon <gminghon at hotmail.com> wrote:






Hello, 		 	   		  

Thanks but did i miss something? because after make, 

i dont get any folders call "armeabi" and "armeabi-v7a" 




Regards,

 		 	   		  

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20111003/259d4049/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