curl-users
Re: Problem when build Curl+polarssl
Date: Tue, 25 Feb 2014 10:06:20 -0300
Hi Dan. Yes, I tried with curl 7.35, and I got the same error. I tried too
with curl 7.28 and polarssl 1.2.3, following this:
https://polarssl.org/kb/how-to/compile-curl-with-polarsslI, but still
doesn't work.I took a quick look in the polarssl release notes and I don't
see any mention of changings in x509_cert type.
On Mon, Feb 24, 2014 at 6:15 PM, Dan Fandrich <dan_at_coneharvesters.com>wrote:
> 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
>
-- * [image: LSBD] <http://www.lsbd.ufc.br/> André Dantas DeveloperGTalk: andre.dantas_at_lsbd.ufc.br <rodrigo.felix_at_lsbd.ufc.br> Skype: andre.hp.dantas*
-------------------------------------------------------------------
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-25