How to build OpenSSL on Android/Linux ?

后端 未结 3 848
臣服心动
臣服心动 2021-01-07 00:44

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

  1. Downloaded: ht
相关标签:
3条回答
  • 2021-01-07 00:56

    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.

    0 讨论(0)
  • 2021-01-07 01:09

    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 :(

    0 讨论(0)
  • 2021-01-07 01:11

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

    0 讨论(0)
提交回复
热议问题