Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
Qt Creator 4.2.1
-
None
-
ANDROID_NDK_ROOT=/opt/android/ndk
ubuntu: 16.04 lts
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4)
openssl - https://www.openssl.org/source/openssl-1.0.2j.tar.gz
from set-Env.sh
_ANDROID_NDK="android-ndk-r15c"
_ANDROID_EABI="aarch64-linux-android-4.9"
_ANDROID_ARCH=arch-arm64
_ANDROID_API="android-21"ANDROID_NDK_ROOT=/opt/android/ndk ubuntu: 16.04 lts gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) openssl - https://www.openssl.org/source/openssl-1.0.2j.tar.gz from set-Env.sh _ANDROID_NDK="android-ndk-r15c" _ANDROID_EABI="aarch64-linux-android-4.9" _ANDROID_ARCH=arch-arm64 _ANDROID_API="android-21"
Description
I tried to take steps fromĀ "Adding OpenSSL Support for Android" tutorial
In 8th step, the main one, I got error:
/usr/bin/ld: cannot find crtbegin_so.o: No such file or directory Makefile.shared:169: recipe for target 'link_a.gnu' failed
but
ls /opt/android/ndk/platforms/android-21/arch-arm64/usr/lib/
shows, that "crtbegin_so.o" exists
UPD: if I do all steps as in tutorial, I will get this error:
./setEnv.sh: line 129: syntax error near unexpected token `)' ./setEnv.sh: line 129: ` arch-arm64)'
cause this is incorrect script:
case $_ANDROID_ARCH in arch-arm) ANDROID_TOOLS="arm-linux-androideabi-gcc arm-linux-androideabi-ranlib arm-linux-androideabi-ld" ;; arch-x86) ANDROID_TOOLS="i686-linux-android-gcc i686-linux-android-ranlib i686-linux-android-ld" ;; *) echo "ERROR ERROR ERROR" arch-arm64) ANDROID_TOOLS="aarch64-linux-android-gcc aarch64-linux-android-ranlib aarch64-linux-android-ld" ;; ;; esac
Its just advice, to rewatch this manual
Attachments
Issue Links
- relates to
-
QTBUG-76202 Adding OpenSSL Support for Android does not work with openssl 1.1
- Closed