cocos2d / cocos2d-x-3rd-party-libs-src

Dependencies of cocos2d-x.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can not compile openssl 1.1.0i for both iOS and android

quannv108 opened this issue · comments

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

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

@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

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