【发布时间】:2015-04-29 03:02:13
【问题描述】:
我正在尝试为 ARM 和 Linux 平台交叉编译 CURL。它不会为共享库创建 Make 文件当我通过 ./configure 进行操作时,它只为静态库提供 make 文件。在日志中可以看到以下两个主要错误,
**检查 /usr/bin/arm-linux-gnueabi-gcc-4.6 链接器 (arm-none-linux-gnueabi-ld) 是否支持共享库...否 检查 libtool 是否支持共享库...否
@@@@@@@@@@@@@@@@@@@@@@@@@@
./configure --host=arm-none-linux-gnueabi --build=i686-linux CFLAGS='-Os' --with-ssl=/ROOT/openssl/libs --with-zlib --enable-smtp --enable-shared=yes
@@@@@@@@@@@@@@@@@@@
curl version: 7.42.0
Host setup: arm-none-linux-gnueabi
Install prefix: /usr/local
Compiler: /usr/bin/arm-linux-gnueabi-gcc-4.6
SSL support: enabled (OpenSSL)
SSH support: no (--with-libssh2)
zlib support: enabled
GSS-API support: no (--with-gssapi)
TLS-SRP support: no (--enable-tls-srp)
resolver: default (--enable-ares / --enable-threaded-resolver)
IPv6 support: no (--enable-ipv6)
Unix sockets support: enabled
IDN support: no (--with-{libidn,winidn})
Build libcurl: Shared=no, 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)
HTTP2 support: disabled (--with-nghttp2)
Protocols: DICT FILE FTP FTPS GOPHER HTTP HTTPS IMAP IMAPS POP3 POP3S RTSP SMB SMBS SMTP SMTPS TELNET TFTP
##############################
我是 Linux 新手并试图找出根本原因,任何人都可以帮助我这里缺少什么。
【问题讨论】: