Topic: curl using wolfssl for ARM

Hi,

I'm trying to cross-compile curl for ARMv7 with wolfssl instead of openssl, but I could not get the configure pass, not sure which part need to be fixed, thanks!

configure: Configured to build curl/libcurl:

  curl version:     7.52.1
  Host setup:       arm-unknown-linux-gnu
  Install prefix:   /usr/local
  Compiler:         arm-linux-gcc
  SSL support:      no      (--with-{ssl,gnutls,nss,polarssl,mbedtls,cyassl,axtls,winssl,darwinssl} )
  SSH support:      no      (--with-libssh2)
  zlib support:     no      (--with-zlib)
  GSS-API support:  no      (--with-gssapi)
  TLS-SRP support:  no      (--enable-tls-srp)
  resolver:         default (--enable-ares / --enable-threaded-resolver)
  IPv6 support:     enabled
  Unix sockets support: enabled
  IDN support:      no      (--with-{libidn2,winidn})
  Build libcurl:    Shared=yes, 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 SMTP TELNET TFTP

root@ubuntu14:/mnt/sdb/curl-7.52.1# ./configure  --disable-debug --disable-curldebug --disable-ldap --disable-ldaps  --disable-rtsp --disable-proxy --disable-dict --disable-pop3 --disable-imap --disable-gopher --disable-manual --disable-threaded-resolver --disable-verbose --host=arm-linux --without-ssl  --with-cyassl=/mnt/sdb/wolfssl-3.9.8 --host=arm-linux
configure:24447: checking for CyaSSL_Init in -lcyassl
configure:24469: arm-linux-gcc -o conftest -O2 -Wno-system-headers  -I/mnt/sdb/eswitch/wolfssl-3.9.8/include  -L/mnt/sdb/eswitch/wolfssl-3.9.8/lib conftest.c -lcyassl   >&5
/tmp/cc36bQZt.o: In function `main':
conftest.c:(.text.startup+0x4): undefined reference to `CyaSSL_Init'
collect2: error: ld returned 1 exit status
configure:24469: $? = 1

Share

Re: curl using wolfssl for ARM

Hi omatic,

Could you send the actual configure line in addition to the output please?