This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Build OpenLDAP 2.0.15



Thanx!
That did it, I have a running slapd with data on cygwin 1.3.3-2 .
So far everything seems to work just fine!

Regards
Carlos de Sousa



Jason Tishler wrote:
> 
> 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
> 
>   ------------------------------------------------------------------------
> 
>    openldap.patchName: openldap.patch
>                  Type: Plain Text (text/plain)

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]