cURL / Mailing Lists / curl-users / Single Mail

curl-users

compile curl-7.15.3: nmake -f makefile.vc fails

From: Huub Fleuren <hfl_at_home.nl>
Date: Sat, 13 May 2006 00:59:07 +0200

Hi List,

I was trying to compile curl-7.15.3 with VC6 by running
nmake -f makefile.vc in .\lib
I get this error ; I was thinking that I missed wsock.lib, changed the
path to the one of visual studio. That did not help.

Could anybody point out what i have to add, or change in the makefile?
i tried skipping ftp.obj but connect.c has the same issue.

Thanks in advance.

"release-dll\ftp.obj" .\ftp.c
ftp.c
.\ftp.c(214) : error C2065: 'socklen_t' : undeclared identifier
.\ftp.c(214) : error C2146: syntax error : missing ';' before identifier
'size'
.\ftp.c(214) : error C2065: 'size' : undeclared identifier
.\ftp.c(214) : error C2143: syntax error : missing ';' before 'sizeof'
.\ftp.c(215) : error C2143: syntax error : missing ';' before 'type'
.\ftp.c(217) : error C2065: 'add' : undeclared identifier
.\ftp.c(1047) : error C2146: syntax error : missing ';' before
identifier 'sslen'
.\ftp.c(1047) : error C2065: 'sslen' : undeclared identifier
.\ftp.c(1062) : error C2146: syntax error : missing ';' before
identifier 'size'
.\ftp.c(1082) : error C2146: syntax error : missing ';' before
identifier 'socksize'
.\ftp.c(1082) : error C2065: 'socksize' : undeclared identifier
NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
Stop.

Regards, Huub
Received on 2006-05-13