Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not compile openssl 1.1.0i for both iOS and android #169

Open
quannv108 opened this issue Sep 2, 2018 · 3 comments
Open

can not compile openssl 1.1.0i for both iOS and android #169

quannv108 opened this issue Sep 2, 2018 · 3 comments

Comments

@quannv108
Copy link

I tried to edit

  • contrib/src/openssl/rules.mak:
    OPENSSL_VERSION := 1.1.0i
  • contrib/src/openssl/SHA512SUMS to
    4a9d454031f644a3072a980f4ea20df976f6c5c58178549dfa62fd4dcf1417509e3be517d2ccb265c87688836f2993531b142fc5971bac5c41d33060057627df openssl-1.1.0i.tar.gz
    then run:
    ./build.sh -p=ios --libs=openssl --arch=all --mode=release
    It return some error,
    Hunk #1 FAILED at 59. 1 out of 1 hunk FAILED -- saving rejects to file crypto/aes/asm/aesv8-armx.pl.rej patching file crypto/armv4cpuid.pl Hunk #1 FAILED at 27. 1 out of 1 hunk FAILED -- saving rejects to file crypto/armv4cpuid.pl.rej patching file crypto/modes/asm/ghashv8-armx.pl Hunk #1 FAILED at 67. 1 out of 1 hunk FAILED -- saving rejects to file crypto/modes/asm/ghashv8-armx.pl.rej patching file crypto/armcap.c Hunk #1 succeeded at 130 with fuzz 2 (offset 19 lines). patching file crypto/aes/asm/bsaes-armv7.pl Hunk #1 FAILED at 1365. 1 out of 1 hunk FAILED -- saving rejects to file crypto/aes/asm/bsaes-armv7.pl.rej make: *** [openssl] Error 1

try for android:
./build.sh: line 306: /build/tools/make-standalone-toolchain.sh: No such file or directory

please help I need to update openssl

@minggo
Copy link
Contributor

minggo commented Sep 3, 2018

there are patches used to build openssl, the patch files should be updated too

@quannv108
Copy link
Author

@minggo I remove all patch in ios-armv7-crash.patch, then I can build for ios,
for android,there are difference error than patch files,
./build.sh: line 306: /build/tools/make-standalone-toolchain.sh: No such file or directory
What's kind of this file? where I can find it?
Please support me. Thank you

@minggo
Copy link
Contributor

minggo commented Sep 3, 2018

Please read the readme, may be you should use NDK r16+.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants