我正在尝试使用为 ARM9 启用的 ssl 选项交叉编译 curl,但不知何故我无法启用它。
我之前交叉编译了openssl,然后我尝试使用ssl选项运行./configure:
CPPFLAGS="-I/home/asphantix/Tools/owa33a/openssl/openssl-1.0.1c/include" LDFLAGS="-L/home/asphantix/Tools/owa33a/openssl/openssl-1.0.1c/ssl" ./configure --with-ssl --without-ca-bundle --target=arm-none-linux-gnueabi --host=arm-none-linux-gnueabi --build=x86_64-unknown-linux-gnu
它贯穿但这是我每次得到的:
configure: Configured to build curl/libcurl:
curl version: 7.28.1
Host setup: arm-none-linux-gnueabi
Install prefix: /usr/local
Compiler: arm-none-linux-gnueabi-gcc
SSL support: no (--with-{ssl,gnutls,nss,polarssl,cyassl,axtls,winssl} )
SSH support: no (--with-libssh2)
zlib support: no (--with-zlib)
krb4 support: no (--with-krb4*)
GSSAPI support: no (--with-gssapi)
SPNEGO support: no (--with-spnego)
TLS-SRP support: no (--enable-tls-srp)
resolver: default (--enable-ares / --enable-threaded-resolver)
ipv6 support: no (--enable-ipv6)
IDN support: no (--with-{libidn,winidn})
Build libcurl: Shared=yes, Static=yes
Built-in manual: enabled
--libcurl option: enabled (--disable-libcurl-option)
Verbose errors: enabled (--disable-verbose)
SSPI support: no (--enable-sspi)
ca cert bundle: no
ca cert path: no
LDAP support: no (--enable-ldap / --with-ldap-lib / --with-lber-lib)
LDAPS support: no (--enable-ldaps)
RTSP support: enabled
RTMP support: no (--with-librtmp)
metalink support: no (--with-libmetalink)
Protocols: DICT FILE FTP GOPHER HTTP IMAP POP3 RTSP SMTP TELNET TFTP
我还尝试设置以下内容:
export AR=arm-none-linux-gnueabi-ar
export AS=arm-none-linux-gnueabi-as
export LD=arm-none-linux-gnueabi-ld
export RANLIB=arm-none-linux-gnueabi-ranlib
export CC=arm-none-linux-gnueabi-gcc
export NM=arm-none-linux-gnueabi-nm
这是 config.log: https ://dl.dropbox.com/u/3985208/config.log
我错过了什么吗?