cURL / Mailing Lists / curl-library / Single Mail

curl-library

build libcurl under win32

From: Wei Weng <wweng_at_kencast.com>
Date: Tue, 13 Mar 2007 19:30:27 -0400

I followed the instruction given by the page on
http://curl.haxx.se/docs/install.html.

But I got the following error message right at the start:

D:\xfer\curl-7.16.1>nmake vc
 
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
 
        cd lib
        nmake /f Makefile.vc6 cfg=release
 
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
 
        cl.exe /O2 /DNDEBUG /MD /DCURL_STATICLIB /I. /I../include
/nologo /W3 /G
X /DWIN32 /YX /FD /c /DBUILDING_LIBCURL /Fo"release\base64.obj" .\base64.c
base64.c
.\hostip.h(107) : error C2061: syntax error : identifier 'socklen_t'
.\hostip.h(111) : error C2059: syntax error : '}'
NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~4\VC98\BIN\NMAKE.EXE' :
return co
de '0x2'
Stop.

I already ran the VCVARS32.BAT file to set up the MSVC environment.

What am I missing here?

Thanks

Wei
Received on 2007-03-14