"Jan Ehrhardt" <php...@ehrhardt.nl> wrote:

The first error is the double declaration of 'connecting_state' in lines
273 and 317 of urldata.h. The next ones have to do with X509_NAME.

../../win32build/include/openssl\x509v3.h(192) : error C2059: syntax
error : '('

line 192 of x509v3.h (OpelSSL 1.0.1c) is:
X509_NAME *directoryName;

Not user about this one. Use "cl -E" and inspect the output to see why.
But, this ...

C:\php-sdk\curl-src\winbuild>cl.exe /O2 /DNDEBUG /MD /DCURL_STATICLIB
/I. /I../include /nologo /W3 /EHsc /DWIN32 /FD /c /DBUILDING_LIBCURL
/I"../../win32build/include" /DUSE_WIN32_IDN /DWANT_IDN_PROTOTYPES
/DUSE_SSLEAY /I"../../win32build/include/openssl" /DHAVE_ZLIB_H
/DHAVE_ZLIB /DHAVE_LIBZ /DHAVE_LIBSSH2 /DHAVE_LIBSSH2_H /DLIBSSH2_WIN32
/DLIBSSH2_LIBRARY /DUSE_LIBSSH2 /I../../win32build/include/libssh2
/DUSE_IPV6  /DUSE_WINDOWS_SSPI /DUSE_SCHANNEL

You cannot have -DUSE_SSLEAY and -DUSE_SCHANNEL at the same time.
(connecting_state thus gets defined twice in the same struct). setup.h should have done an #error in this case.

--gv
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to