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

Win32 compilation problem



Hello,

I try to build the 2.0.19 on win32, but I receive this errors :

--------------------Configuration: setup - Win32 Debug--------------------
Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
 copy setup.mak setup.txt
        1 fichier(s) copi?(s).
--------------------Configuration: libslapd - Win32
Debug--------------------
Compiling...
mods.c
D:\Ef\Dev\Shared\OpenLdap\openldap-2.0.19\servers\slapd\proto-slap.h(392) :
error C2143: syntax error : missing '{' before '*'
D:\Ef\Dev\Shared\OpenLdap\openldap-2.0.19\servers\slapd\proto-slap.h(392) :
error C2143: syntax error : missing ')' before '*'
D:\Ef\Dev\Shared\OpenLdap\openldap-2.0.19\servers\slapd\proto-slap.h(392) :
error C2081: 'FILE' : name in formal parameter list illegal
D:\Ef\Dev\Shared\OpenLdap\openldap-2.0.19\servers\slapd\proto-slap.h(392) :
error C2143: syntax error : missing '{' before '*'
D:\Ef\Dev\Shared\OpenLdap\openldap-2.0.19\servers\slapd\proto-slap.h(392) :
error C2059: syntax error : ')'
D:\Ef\Dev\Shared\OpenLdap\openldap-2.0.19\servers\slapd\proto-slap.h(393) :
error C2143: syntax error : missing ')' before '*'
D:\Ef\Dev\Shared\OpenLdap\openldap-2.0.19\servers\slapd\proto-slap.h(393) :
error C2143: syntax error : missing '{' before '*'
D:\Ef\Dev\Shared\OpenLdap\openldap-2.0.19\servers\slapd\proto-slap.h(393) :
error C2143: syntax error : missing ';' before '*'
D:\Ef\Dev\Shared\OpenLdap\openldap-2.0.19\servers\slapd\proto-slap.h(393) :
error C2059: syntax error : ')'
D:\Ef\Dev\Shared\OpenLdap\openldap-2.0.19\servers\slapd\proto-slap.h(393) :
error C2040: 'lfp' : 'int *' differs in levels of indirection from 'int ** '
Error executing cl.exe.

build.exe - 10 error(s), 0 warning(s)

How can I correct this ?

Thanks in advance,
Guy