Closed solomode0001 closed 5 months ago
Did you install a supported Android SDK to the directory SDK using ./fetch-sdk.sh script?
Yes, I use the SDK and OpenSSL that are downloaded through the script.
I just redownloaded everything but it's still an error.
FM@DESKTOP-ADDG61L MINGW64 ~/Desktop/TD/td/example/android (master)
$ ./check-environment.sh
FM@DESKTOP-ADDG61L MINGW64 ~/Desktop/TD/td/example/android (master)
$ ./fetch-sdk.sh
Downloading SDK Manager...
Installing required SDK tools...
Warning: Errors during XML parse:
Warning: Additionally, the fallback loader failed to parse the XML.
Warning: Errors during XML parse:
Warning: Additionally, the fallback loader failed to parse the XML.
FM@DESKTOP-ADDG61L MINGW64 ~/Desktop/TD/td/example/android (master)
$ ./build-openssl.sh
Downloading OpenSSL sources...
Configuring OpenSSL version 1.1.1t (0x1010114fL) for android-arm64
Using os-specific seed configuration
Creating configdata.pm
Creating Makefile
**********************************************************************
*** ***
*** OpenSSL has been successfully configured ***
*** ***
*** If you encounter a problem while building, please open an ***
*** issue on GitHub <https://github.com/openssl/openssl/issues> ***
*** and include the output from the following command: ***
*** ***
*** perl configdata.pm --dump ***
*** ***
*** (If you are new to OpenSSL, you might want to consult the ***
*** 'Troubleshooting' section in the INSTALL file first) ***
*** ***
**********************************************************************
makefile:577: target `tags' given more than once in the same rule.
makefile:577: target `tags' given more than once in the same rule.
makefile:577: target `tags' given more than once in the same rule.
makefile:577: target `tags' given more than once in the same rule.
llvm-ar.exe: warning: creating apps/libapps.a
llvm-ar.exe: warning: creating libcrypto.a
llvm-ar.exe: warning: creating libssl.a
llvm-ar.exe: warning: creating test/libtestutil.a
process_begin: CreateProcess(NULL, aarch64-linux-android21-clang -I. -Iinclude -Iapps -pie -pthread -Wa,--noexecstack -Qunused-arguments -Wall -O3 -ffunction-sections -fdata-sections -U__ANDROID_API__ -DNDEBUG -D__ANDROID_API__=21 -MMD -MF apps/asn1pars.d.tmp -MT apps/asn1pars.o -c -o apps/asn1pars.o apps/asn1pars.c, ...) failed.
make (e=2): The system cannot find the file specified.
make[1]: *** [apps/asn1pars.o] Error 2
make: *** [all] Error 2
Check that you have the file td/example/android/SDK/ndk/23.2.8568313/toolchains/llvm/prebuilt/windows-x86_64/bin/aarch64-linux-android21-clang
.
Alternatively, try building using the provided Dockerfile, which should be easier on Windows.
Yes, I have it, but it still errors when running build-openssl.sh I will try it using Docker
How do I fix this? Please help me.