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

ndk r19c编译的openssl无法让libcurl支持armeabi架构 #43

Open
panzchen opened this issue Jun 6, 2019 · 1 comment
Open

ndk r19c编译的openssl无法让libcurl支持armeabi架构 #43

panzchen opened this issue Jun 6, 2019 · 1 comment

Comments

@panzchen
Copy link

panzchen commented Jun 6, 2019

use ANDROID_API=15
use NDK=/Users/panchen/Documents/souce/android-ndk/android-ndk-r16b
export ARCH=android
export NDK_TOOLCHAIN_BASENAME=/Users/panchen/Documents/test/test/openssl_for_ios_and_android-master/tools/armeabi-android-toolchain/bin/arm-linux-androideabi
export SYSROOT=/Users/panchen/Documents/test/test/openssl_for_ios_and_android-master/tools/armeabi-android-toolchain/sysroot
export CC=/Users/panchen/Documents/test/test/openssl_for_ios_and_android-master/tools/armeabi-android-toolchain/bin/arm-linux-androideabi-clang
export CXX=/Users/panchen/Documents/test/test/openssl_for_ios_and_android-master/tools/armeabi-android-toolchain/bin/arm-linux-androideabi-clang++
export LINK=/Users/panchen/Documents/test/test/openssl_for_ios_and_android-master/tools/armeabi-android-toolchain/bin/arm-linux-androideabi-clang++
export LD=/Users/panchen/Documents/test/test/openssl_for_ios_and_android-master/tools/armeabi-android-toolchain/bin/arm-linux-androideabi-ld
export AR=/Users/panchen/Documents/test/test/openssl_for_ios_and_android-master/tools/armeabi-android-toolchain/bin/arm-linux-androideabi-ar
export RANLIB=/Users/panchen/Documents/test/test/openssl_for_ios_and_android-master/tools/armeabi-android-toolchain/bin/arm-linux-androideabi-ranlib
export STRIP=/Users/panchen/Documents/test/test/openssl_for_ios_and_android-master/tools/armeabi-android-toolchain/bin/arm-linux-androideabi-strip
export CPPFLAGS=
export CFLAGS=-mthumb -fpic -ffunction-sections -funwind-tables -fstack-protector -fno-strict-aliasing -finline-limit=64
export CXXFLAGS=-mthumb -fpic -ffunction-sections -funwind-tables -fstack-protector -fno-strict-aliasing -finline-limit=64 -std=c++11 -frtti -fexceptions
export LDFLAGS=
export LIBS=

checking OpenSSL linking with -ldl and -lpthread... no
checking for ssl_version in -laxtls... no
configure: WARNING: SSL disabled, you will not be able to use HTTPS, FTPS, NTLM and more.
configure: WARNING: Use --with-ssl, --with-gnutls, --with-polarssl, --with-cyassl, --with-nss, --with-axtls, --with-winssl, or --with-darwinssl to address this.

configure: Configured to build curl/libcurl:

curl version: 7.59.0
Host setup: arm-unknown-linux-androideabi
Install prefix: /Users/panchen/Documents/test/test/openssl_for_ios_and_android-master/tools/libs/armeabi/usr/local
Compiler: /Users/panchen/Documents/test/test/openssl_for_ios_and_android-master/tools/armeabi-android-toolchain/bin/arm-linux-androideabi-clang
SSL support: no (--with-{ssl,gnutls,nss,polarssl,mbedtls,cyassl,axtls,winssl,darwinssl} )
SSH support: no (--with-libssh2)
zlib support: enabled
brotli support: no (--with-brotli)
GSS-API support: no (--with-gssapi)
TLS-SRP support: no (--enable-tls-srp)
resolver: POSIX threaded
IPv6 support: enabled
Unix sockets support: enabled
IDN support: no (--with-{libidn2,winidn})
Build libcurl: Shared=no, Static=yes
Built-in manual: no (--enable-manual)
--libcurl option: enabled (--disable-libcurl-option)
Verbose errors: no
SSPI support: no (--enable-sspi)
ca cert bundle: no
ca cert path: no
ca fallback: no
LDAP support: no (--enable-ldap / --with-ldap-lib / --with-lber-lib)
LDAPS support: no (--enable-ldaps)
RTSP support: no (--enable-rtsp)
RTMP support: no (--with-librtmp)
metalink support: no (--with-libmetalink)
PSL support: no (libpsl not found)
HTTP2 support: disabled (--with-nghttp2)
Protocols: FILE FTP HTTP TFTP

@forJrking
Copy link

ndk 16 之后就不支持 armeabi了 最低貌似就是 armeabi-v7a

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