curl-library
Re: Errors Compiling Curl-library on MSVC 6
Date: Thu, 3 Sep 2009 10:18:12 +0200
Sorry for the delay. Finally I compiled it according to your
recommendations.
Many Thanks Gün.
2009/8/28 Guenter <lists_at_gknw.net>
> Hi Juan,
> Juan Jesús Fernández Arrabal schrieb:
> > Hi All,
> >
> > I am trying to compile libcurl on MSVC 6, so I download the latest
> > versión and followed the MSVC guidelines.
> >
> > The IDE is reporting the next errors:
> >
> >
> *************************************************************************************************************************
> >
> >
> E:\Proyectos\VC++\COMUN\libcurl-7.19.6\curl-7.19.6\lib\curl_addrinfo.c(131)
> > : warning C4013: 'getaddrinfo' undefined; assuming extern returning int
> >
> E:\Proyectos\VC++\COMUN\libcurl-7.19.6\curl-7.19.6\lib\curl_addrinfo.c(138)
> > : error C2065: 'EAI_MEMORY' : undeclared identifier
> >
> E:\Proyectos\VC++\COMUN\libcurl-7.19.6\curl-7.19.6\lib\curl_addrinfo.c(145)
> > : error C2037: left of 'ai_flags' specifies undefined struct/union
> > 'addrinfo'
> ....
> it seems you use plain MSVC6 headers without Platform SDK, hence the
> IPv6 support is broken; most likely you can get rid of these by
> disabling IPv6, but its strongly recommended to use the PSDK.
>
> > E:\Proyectos\VC++\COMUN\libcurl-7.19.6\curl-7.19.6\lib\ldap.c(46) :
> > fatal error C1189: #error : Your Platform SDK is NOT sufficient for
> > LDAP support! Update your Platform SDK, or disable LDAP support!
> same here.
>
> Even if you disable IPv6 too then you will most likely run into next
> issue that you have no socklen_t defined - however you can add a
> #define socklen_t int
> to your winsock2.h to workaround this.
>
> HTH, Gün.
>
>
>
>
Received on 2009-09-03