Re: compiling error uclinux+curl+wolfssl undefined reference to `wolfTLSv1_1_client_method'

2020-12-29 Thread Ray Satiro via curl-library

On 12/28/2020 3:49 PM, Julian Montes via curl-library wrote:

I am working with curl and a coldfire board ( MCF5272 ).
I have compile successfully  uclinux and use curl with OPENSSL.
Now I am trying to use  curl +wolfssl.

I have this error in curl compile.

_CURL 7.47.0_
*../lib/.libs/libcurl.a(libcurl_la-cyassl.o): In function 
`cyassl_connect_common':

cyassl.c:(.text+0x4f4): undefined reference to `wolfTLSv1_1_client_method'
cyassl.c:(.text+0x500): undefined reference to `wolfTLSv1_client_method'
*

  This is my config line for curl

./configure --host=m68k-uclinux --prefix=/home/ubuntu/dos/user-curl 
--enable-manual=no  --enable-rtsp=no --enable-ipv6=no 
 --disable-libcurl-option --disable-mqtt --disable-gopher 
--disable-pop3 --disable-smtp --without-ssl 
 --with-cyassl=/home/ubuntu/dos/user-wolf  --disable-ares 
--disable-cookies --disable-crypto-auth --disable-ftp --disable-ftps 
--disable-imap --disable-imaps --disable-verbose --disable-telnet 
--disable-tftp --disable-dict  --disable-pthreads 
--disable-threaded-resolver  --disable-proxy --disable-unix-sockets 
--enable-hidden-symbols  --without-librtmp  --disable-verbose 
--disable-versioned-symbols --enable-shared=no --disable-file


I am using *_wolfSSL Release 4.5.0_*
*_
_*
Anyone have any suggestions for this issue?*_
_*



As Daniel said upgrade your curl. We are working on a fix for this. 
Please try https://github.com/curl/curl/pull/6388


---
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html

Re: compiling error uclinux+curl+wolfssl undefined reference to `wolfTLSv1_1_client_method'

2020-12-29 Thread Daniel Stenberg via curl-library

On Mon, 28 Dec 2020, Julian Montes via curl-library wrote:


I have this error in curl compile.

*CURL 7.47.0*


I would recommend a newer version. That one is almost 5 years old and unless 
heavily patched, it contains up to 46 security vulnerabilities: 
https://curl.se/docs/vuln-7.47.0.html



*../lib/.libs/libcurl.a(libcurl_la-cyassl.o): In function
`cyassl_connect_common':cyassl.c:(.text+0x4f4): undefined reference to
`wolfTLSv1_1_client_method'cyassl.c:(.text+0x500): undefined reference to
`wolfTLSv1_client_method'*


It looks like you built a wolfSSL library with too limited functionality.

I'm not sure exactly what configure switch is missing in your wolfSSL build as 
I personally often use --enable-all for it.


--

 / daniel.haxx.se
 | Commercial curl support up to 24x7 is available!
 | Private help, bug fixes, support, ports, new features
 | https://www.wolfssl.com/contact/
---
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html

compiling error uclinux+curl+wolfssl undefined reference to `wolfTLSv1_1_client_method'

2020-12-28 Thread Julian Montes via curl-library
I am working with curl and a coldfire board ( MCF5272 ).
I have compile successfully  uclinux and use curl with OPENSSL.
Now I am trying to use  curl +wolfssl.

I have this error in curl compile.

*CURL 7.47.0*



*../lib/.libs/libcurl.a(libcurl_la-cyassl.o): In function
`cyassl_connect_common':cyassl.c:(.text+0x4f4): undefined reference to
`wolfTLSv1_1_client_method'cyassl.c:(.text+0x500): undefined reference to
`wolfTLSv1_client_method'*

  This is my config line for curl

./configure --host=m68k-uclinux --prefix=/home/ubuntu/dos/user-curl
--enable-manual=no  --enable-rtsp=no --enable-ipv6=no
 --disable-libcurl-option --disable-mqtt --disable-gopher --disable-pop3
--disable-smtp --without-ssl  --with-cyassl=/home/ubuntu/dos/user-wolf
 --disable-ares --disable-cookies --disable-crypto-auth --disable-ftp
--disable-ftps --disable-imap --disable-imaps --disable-verbose
--disable-telnet --disable-tftp --disable-dict  --disable-pthreads
--disable-threaded-resolver  --disable-proxy --disable-unix-sockets
--enable-hidden-symbols  --without-librtmp  --disable-verbose
--disable-versioned-symbols --enable-shared=no --disable-file

I am using  *wolfSSL Release 4.5.0*

Anyone have any suggestions for this issue?

Thanks



Julian Montes
---
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html