cURL / Mailing Lists / curl-library / Single Mail

curl-library

strange build error with VC9

From: Guenter <lists_at_gknw.net>
Date: Tue, 09 Dec 2014 12:43:06 +0100

Hi all,
I just tried to build 7.39.0 with VS2008 (aka VC9), and while I can
build both vc-winssl and vc-zlib fine , the vc-winssl-zlib target breaks:

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.

        cd lib
        nmake /f Makefile.vc9 cfg=release-winssl-zlib

Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.

        cl.exe /O2 /DNDEBUG /MD /DUSE_SCHANNEL /DHAVE_ZLIB_H /DHAVE_ZLIB
/DHAVE_LIBZ /I "d:\projects\dephttpd\zlib-1.2.8-sdk" /DCURL_STATICLIB
/I. /I../include /nologo /W3 /EHsc /DWIN32 /FD /c /DBUILDING_LIBCURL
/D_BIND_TO_CURRENT_VCLIBS_VERSION=1 /Fo"release-winssl-zlib\amigaos.obj"
  .\amigaos.c
amigaos.c
        cl.exe /O2 /DNDEBUG /MD /DUSE_SCHANNEL /DHAVE_ZLIB_H /DHAVE_ZLIB
/DHAVE_LIBZ /I "d:\projects\dephttpd\zlib-1.2.8-sdk" /DCURL_STATICLIB
/I. /I../include /nologo /W3 /EHsc /DWIN32 /FD /c /DBUILDING_LIBCURL
/D_BIND_TO_CURRENT_VCLIBS_VERSION=1
/Fo"release-winssl-zlib\asyn-ares.obj" .\asyn-ares.c
asyn-ares.c
        cl.exe /O2 /DNDEBUG /MD /DUSE_SCHANNEL /DHAVE_ZLIB_H /DHAVE_ZLIB
/DHAVE_LIBZ /I "d:\projects\dephttpd\zlib-1.2.8-sdk" /DCURL_STATICLIB
/I. /I../include /nologo /W3 /EHsc /DWIN32 /FD /c /DBUILDING_LIBCURL
/D_BIND_TO_CURRENT_VCLIBS_VERSION=1
/Fo"release-winssl-zlib\asyn-thread.obj" .\asyn-thread.c
asyn-thread.c
d:\temp\curl-7.39.0\lib\urldata.h(252) : error C2016: C requires that a
struct or union has at least one member
d:\temp\curl-7.39.0\lib\urldata.h(252) : error C2061: syntax error :
identifier 'CredHandle'
d:\temp\curl-7.39.0\lib\urldata.h(253) : error C2061: syntax error :
identifier 'time_stamp'
d:\temp\curl-7.39.0\lib\urldata.h(253) : error C2059: syntax error : ';'
d:\temp\curl-7.39.0\lib\urldata.h(256) : error C2059: syntax error : '}'
d:\temp\curl-7.39.0\lib\urldata.h(259) : error C2016: C requires that a
struct or union has at least one member
d:\temp\curl-7.39.0\lib\urldata.h(259) : error C2061: syntax error :
identifier 'CtxtHandle'
d:\temp\curl-7.39.0\lib\urldata.h(260) : error C2061: syntax error :
identifier 'time_stamp'
d:\temp\curl-7.39.0\lib\urldata.h(260) : error C2059: syntax error : ';'
d:\temp\curl-7.39.0\lib\urldata.h(261) : error C2059: syntax error : '}'
d:\temp\curl-7.39.0\lib\urldata.h(340) : error C2061: syntax error :
identifier 'SecPkgContext_StreamSizes'
d:\temp\curl-7.39.0\lib\urldata.h(354) : error C2059: syntax error : '}'
d:\temp\curl-7.39.0\lib\urldata.h(930) : error C2148: total size of
array must not exceed 0x7fffffff bytes
d:\temp\curl-7.39.0\lib\urldata.h(930) : error C2079: 'ssl' uses
undefined struct 'ssl_connect_data'
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
Studio 9.0\VC\BIN\cl.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
Studio 9.0\VC\BIN\nmake.EXE"' : return code '0x2'
Stop.

anybody an idea what goes here wrong?? Seems I'm a bit blind ATM, but I
dont see how this is caused in urldata.h ...

Gün.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-12-09