cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Problem when build Curl+polarssl

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Mon, 24 Feb 2014 22:15:51 +0100

On Mon, Feb 24, 2014 at 04:12:16PM -0300, André Dantas wrote:
> I'm trying to build curl(7.32) using polarssl( 1.3.4 ). I built polarssl
> without problems, but, when I build curl, happens the following problem:
>
> lsbd_at_lsbd-VirtualBox:~/curl-7.
> 32.0$ make
> Making all in lib
> make[1]: Entering directory `/home/lsbd/curl-7.32.0/lib'
> make  all-am
> make[2]: Entering directory `/home/lsbd/curl-7.32.0/lib'
> /bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H   -I../
> include/curl -I../include -I../include -I../lib -I../lib -DBUILDING_LIBCURL 
> -DCURL_HIDDEN_SYMBOLS -I/include  -fvisibility=hidden -O2 -Wno-system-headers 
> -MT libcurl_la-file.lo -MD -MP -MF .deps/libcurl_la-file.Tpo -c -o
> libcurl_la-file.lo `test -f 'file.c' || echo './'`file.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I../include/curl -I../include -I../
> include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -I/include
> -fvisibility=hidden -O2 -Wno-system-headers -MT libcurl_la-file.lo -MD -MP -MF
> .deps/libcurl_la-file.Tpo -c file.c  -fPIC -DPIC -o .libs/libcurl_la-file.o
> In file included from file.c:52:0:
> urldata.h:309:3: error: unknown type name 'x509_cert'
> urldata.h:310:3: error: unknown type name 'x509_cert'
> make[2]: *** [libcurl_la-file.lo] Error 1
> make[2]: Leaving directory `/home/lsbd/curl-7.32.0/lib'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/lsbd/curl-7.32.0/lib'
> make: *** [all-recursive] Error 1
>
> Can anyone help-me?

Have you tried a recent version of curl? You're compiling a version of
PolarSSL that was released last month with a curl that was released mid-last
year. If there was an incompatibility introduced in recent PolarSSL versions,
it won't have been worked around in that version. If it still doesn't work with
the latest curl, then it sounds like something needs to be changed.

I still see unconditional use of the x509_cert type in current curl source, so
I suspect curl 7.35.0 won't work any better for you. Do the PolarSSL release
notes mention a change to this type?

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-02-24