cURL / Mailing Lists / curl-library / Single Mail

curl-library

Build errors on Windows

From: Jan Ehrhardt <phpdev_at_ehrhardt.nl>
Date: Wed, 05 Nov 2014 12:25:05 +0100

I am getting build errors on Windows for Curl 7.39

nmake /f makefile.vc mode=static VC=VC9 MACHINE=x86
WITH_DEVEL=../../win32build.vc9 WITH_SSH2=dll

        cl.exe /O2 /DNDEBUG /MD /DCURL_STATICLIB /I. /I ../lib
/I../include /nologo /W3 /EHsc /DWIN32 /FD /c /DBUILDING_LIBCURL
/I"../../win32build.vc9/include" /DHAVE_LIBSSH2 /DHAVE_LIBSSH2_H
/DLIBSSH2_WIN32 /DLIBSSH2_LIBRARY /DUSE_LIBSSH2
/I../../win32build.vc9/include/libssh2 /DUSE_WIN32_IDN
/DWANT_IDN_PROTOTYPES /DUSE_IPV6 /DUSE_WINDOWS_SSPI /DUSE_SCHANNEL
/Fo"..\builds\libcurl-vcVC9-x86-release-static-ssh2-dll-ipv6-sspi-winssl-obj-lib/ssh.obj"
  ..\lib\ssh.c
ssh.c
..\lib\ssh.c(808) : error C2065: 'R_OK' : undeclared identifier
..\lib\ssh.c(813) : error C2065: 'R_OK' : undeclared identifier
..\lib\ssh.c(821) : error C2065: 'R_OK' : undeclared identifier
..\lib\ssh.c(824) : error C2065: 'R_OK' : undeclared identifier

The same happens with WITH_SSH2=static. I am building against LIBBSSH2
1.4.3. Curl 7.38.1 builded fine. Any idea what I am missing?

Jan

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