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

compile slurpd on win32



Hi,
 
 I am trying to comiple openldap on win32 using VC++ 5.0. I found out that slurpd.dsp was not added to main.dsw workspace. I have added it manually but when I tried to compile it, I got a lot of error:
 
--------------------Configuration: slurpd - Win32 Debug--------------------
Compiling...
admin.c
args.c
ch_malloc.c
config.c
fm.c
D:\openldap-2.1.21\servers\slurpd\fm.c(122) : warning C4018: '==' : signed/unsigned mismatch
globals.c
ldap_op.c
lock.c
main.c
D:\openldap-2.1.21\servers\slurpd\main.c(151) : warning C4013: 'mkdir' undefined; assuming extern returning int
re.c
reject.c
D:\openldap-2.1.21\servers\slurpd\reject.c(69) : warning C4013: 'access' undefined; assuming extern returning int
D:\openldap-2.1.21\servers\slurpd\reject.c(69) : error C2065: 'F_OK' : undeclared identifier
D:\openldap-2.1.21\servers\slurpd\reject.c(72) : warning C4013: 'open' undefined; assuming extern returning int
D:\openldap-2.1.21\servers\slurpd\reject.c(73) : error C2065: 'S_IRUSR' : undeclared identifier
D:\openldap-2.1.21\servers\slurpd\reject.c(73) : error C2065: 'S_IWUSR' : undeclared identifier
D:\openldap-2.1.21\servers\slurpd\reject.c(86) : warning C4013: 'close' undefined; assuming extern returning int
replica.c
replog.c
D:\openldap-2.1.21\servers\slurpd\replog.c(80) : warning C4013: 'access' undefined; assuming extern returning int
D:\openldap-2.1.21\servers\slurpd\replog.c(80) : error C2065: 'W_OK' : undeclared identifier
ri.c
rq.c
D:\openldap-2.1.21\servers\slurpd\rq.c(274) : warning C4013: 'open' undefined; assuming extern returning int
D:\openldap-2.1.21\servers\slurpd\rq.c(346) : warning C4013: '_chsize' undefined; assuming extern returning int
sanity.c
D:\openldap-2.1.21\servers\slurpd\sanity.c(193) : warning C4013: 'access' undefined; assuming extern returning int
D:\openldap-2.1.21\servers\slurpd\sanity.c(193) : error C2065: 'F_OK' : undeclared identifier
D:\openldap-2.1.21\servers\slurpd\sanity.c(196) : error C2065: 'R_OK' : undeclared identifier
D:\openldap-2.1.21\servers\slurpd\sanity.c(199) : error C2065: 'W_OK' : undeclared identifier
st.c
D:\openldap-2.1.21\servers\slurpd\st.c(181) : warning C4013: 'access' undefined; assuming extern returning int
D:\openldap-2.1.21\servers\slurpd\st.c(181) : error C2065: 'F_OK' : undeclared identifier
Error executing cl.exe.
 
slurpd.exe - 8 error(s), 10 warning(s)
Is there anyone able to compile this for Windows?
 
Thanks!
 
- Joe