<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On Mon, Jul 29, 2013 at 4:40 PM, Daniel Pocock <span dir="ltr"><<a href="mailto:daniel@pocock.com.au" target="_blank">daniel@pocock.com.au</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im"><br>
<br>
On 29/07/13 16:35, Hans-Christoph Steiner wrote:<br>
><br>
> I've never tried to build in on MIPS. Its a fork of the official openssl<br>
> build in Android itself, and in turn there are forks of our project which<br>
> might be more up-to-date.<br>
<br>
</div>Is there any particular one you would suggest? Have you tried newer<br>
OpenSSL versions with the same set of patches and build system?<br></blockquote><div><br></div><div>As an aside, I just prepared a branch of SQLCipher for Android that will allow for statically linking libcrypto from OpenSSL. The versions of libcrypto shipping with Android vary, and sometimes are rather old. This script allows us to use the OpenSSL git repository and build from source, currently using the latest 1.0.1e tag by targeting a stand alone toolchain from the NDK. This script to assemble the static libraries is here:</div>
<div><br></div><div><a href="https://github.com/sqlcipher/android-database-sqlcipher/blob/openssl/build-openssl-libraries.sh">https://github.com/sqlcipher/android-database-sqlcipher/blob/openssl/build-openssl-libraries.sh</a><br>
</div><div><br></div><div>Nick Parker</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="im"><br>
> As for your specific error, your NDK is missing libz.so<br>
>> warning: libz.so, needed by ./obj/local/mips/libcrypto.so, not found<br>
<br>
</div>That was my first thought, but I did find that libz.so does exist for<br>
MIPS with android-9 and android-14 - there is some more subtle issue.<br>
I'm going to try the new NDK they just released.<br>
<br>
Anyhow, I've created a very convenient wrapper script and Android.mk<br>
file for deploying this OpenSSL code as a prebuilt library:<br>
<br>
<a href="https://github.com/resiprocate/openssl-android/tree/master/prebuilt" target="_blank">https://github.com/resiprocate/openssl-android/tree/master/prebuilt</a><br>
<br>
This works fine for armeabi, armeabi-v7a and x86<br>
<div class=""><div class="h5"><br>
_______________________________________________<br>
Guardian-dev mailing list<br>
<br>
Post: <a href="mailto:Guardian-dev@lists.mayfirst.org">Guardian-dev@lists.mayfirst.org</a><br>
List info: <a href="https://lists.mayfirst.org/mailman/listinfo/guardian-dev" target="_blank">https://lists.mayfirst.org/mailman/listinfo/guardian-dev</a><br>
<br>
To Unsubscribe<br>
Send email to: <a href="mailto:Guardian-dev-unsubscribe@lists.mayfirst.org">Guardian-dev-unsubscribe@lists.mayfirst.org</a><br>
Or visit: <a href="https://lists.mayfirst.org/mailman/options/guardian-dev/nparker%40zetetic.net" target="_blank">https://lists.mayfirst.org/mailman/options/guardian-dev/nparker%40zetetic.net</a><br>
<br>
You are subscribed as: <a href="mailto:nparker@zetetic.net">nparker@zetetic.net</a><br>
</div></div></blockquote></div><br></div></div>