Skip to content Skip to sidebar Skip to footer

How To Build Openssl On Android/linux ?

Hi I'm in need to build OpenSSL lib for Android NDK r5b, today it will be second day of my ... useles fight. Here is short list what i've done Downloaded: https://github.com/fries

Solution 1:

One solution is also to shorten the openssl build path, eg. from c:\code\openssl-android to just c:\ssl

Solution 2:

Looks like only i had such problem. Here is a solution i found, mayby someone will figure out why this happend. Saved command line to separate file called bild_data (output from ndk-build), then removed from it g++ call, this way my build file had only list of files and needed flags. Then i just executed from cygwin arm-linux-androideabi-g++ @build_data After that i had my 'precious' libcrypto.so, ndk-build executed again with libcrypto.so alerdy builded from command line, builded openssl library. For me it looks like command line that was over 31kb did not fit to cygwin buffer :(

Solution 3:

I had the same problem building on Windows (cygwin), and shortening the path to the project directory (see mango's answer) is what worked for me.

Post a Comment for "How To Build Openssl On Android/linux ?"