[Date Prev][Date Next] [Chronological] [Thread] [Top]

Problem compiling slurpd on Windows 2000 (ITS#1493)



Full_Name: steven yan
Version: 2.0.18
OS: windows 2000
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (61.170.138.130)


Hello,

I have downloaded openldap-2.0.18. When compiling on my windows 2000 machine
using
Visual C++ 6.0. I am getting following errors. 

--------------------Configuration: slurpd - Win32 Debug--------------------
Compiling...
reject.c
f:\work\ladp\openldap-2.0.18\servers\slurpd\reject.c(58) : warning C4013:
'access' undefined; assuming extern returning int
f:\work\ladp\openldap-2.0.18\servers\slurpd\reject.c(58) : error C2065: 'F_OK' :
undeclared identifier
f:\work\ladp\openldap-2.0.18\servers\slurpd\reject.c(61) : warning C4013: 'open'
undefined; assuming extern returning int
f:\work\ladp\openldap-2.0.18\servers\slurpd\reject.c(62) : error C2065:
'S_IRUSR' : undeclared identifier
f:\work\ladp\openldap-2.0.18\servers\slurpd\reject.c(62) : error C2065:
'S_IWUSR' : undeclared identifier
f:\work\ladp\openldap-2.0.18\servers\slurpd\reject.c(62) : error C2065:
'S_IRGRP' : undeclared identifier
f:\work\ladp\openldap-2.0.18\servers\slurpd\reject.c(62) : error C2065:
'S_IWGRP' : undeclared identifier
f:\work\ladp\openldap-2.0.18\servers\slurpd\reject.c(65) : warning C4013:
'syslog' undefined; assuming extern returning int
f:\work\ladp\openldap-2.0.18\servers\slurpd\reject.c(69) : warning C4013:
'close' undefined; assuming extern returning int
replog.c
f:\work\ladp\openldap-2.0.18\servers\slurpd\replog.c(58) : warning C4013:
'syslog' undefined; assuming extern returning int
f:\work\ladp\openldap-2.0.18\servers\slurpd\replog.c(70) : warning C4013:
'access' undefined; assuming extern returning int
f:\work\ladp\openldap-2.0.18\servers\slurpd\replog.c(70) : error C2065: 'W_OK' :
undeclared identifier
f:\work\ladp\openldap-2.0.18\servers\slurpd\replog.c(117) : warning C4013:
'truncate' undefined; assuming extern returning int
ri.c
f:\work\ladp\openldap-2.0.18\servers\slurpd\ri.c(52) : error C2065: 'SIGPIPE' :
undeclared identifier
f:\work\ladp\openldap-2.0.18\servers\slurpd\ri.c(54) : warning C4013: 'syslog'
undefined; assuming extern returning int
sanity.c
f:\work\ladp\openldap-2.0.18\servers\slurpd\sanity.c(188) : warning C4013:
'access' undefined; assuming extern returning int
f:\work\ladp\openldap-2.0.18\servers\slurpd\sanity.c(188) : error C2065: 'F_OK'
: undeclared identifier
f:\work\ladp\openldap-2.0.18\servers\slurpd\sanity.c(191) : error C2065: 'R_OK'
: undeclared identifier
f:\work\ladp\openldap-2.0.18\servers\slurpd\sanity.c(194) : error C2065: 'W_OK'
: undeclared identifier
st.c
f:\work\ladp\openldap-2.0.18\servers\slurpd\st.c(98) : warning C4013: 'syslog'
undefined; assuming extern returning int
f:\work\ladp\openldap-2.0.18\servers\slurpd\st.c(109) : warning C4013:
'truncate' undefined; assuming extern returning int
f:\work\ladp\openldap-2.0.18\servers\slurpd\st.c(171) : warning C4013: 'access'
undefined; assuming extern returning int
f:\work\ladp\openldap-2.0.18\servers\slurpd\st.c(171) : error C2065: 'F_OK' :
undeclared identifier
Error executing cl.exe.

slurpd.exe - 11 error(s), 12 warning(s)

I cannot find the access function and the variables F_OK,W_OK,R_OK definition in
project.