Build OpenLDAP 2.0.15
Jason Tishler
jason@tishler.net
Mon Oct 22 09:44:00 GMT 2001
Carlos,
On Sat, Oct 20, 2001 at 10:43:25AM +0200, Carlos de Sousa wrote:
> I'm having problems building OpenLDAP 2.0.15 on cygwin 1.3.2-1
>
> gcc -g -O2 -I../../include -I../../include -c -o mods.o mods.c
> In file included from slap.h:35,
> from mods.c:19:
> ../../include/ldif.h:71: parse error before `*'
> In file included from slap.h:1203,
> from mods.c:19:
> proto-slap.h:391: parse error before `*'
> proto-slap.h:391: parse error before `FILE'
> proto-slap.h:391: warning: data definition has no type or storage class
> proto-slap.h:392: parse error before `*'
> make[2]: *** [mods.o] Error 1
> make[2]: Leaving directory `/usr/local/src/openldap-2.0.15/servers/slapd'
> make[1]: *** [all-common] Error 1
> make[1]: Leaving directory `/usr/local/src/openldap-2.0.15/servers'
> make: *** [all-common] Error 1
>
> Any ideas?
Try the attached patch.
I'm not sure if the servers/slapd/mods.c hunk is handled the best way,
but nevertheless the entire OpenLDAP distribution builds cleanly under
Cygwin now. I haven't tested the server portions yet so YMMV...
Jason
More information about the Cygwin
mailing list