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

Re: OpenLDAP on cygwin....again



I am trying to get the "stable" version 2.0.15 working.

For 2.0.11, did you follow the Faq-O-Matic's recommended way -- install
gnu-regex first?
Did you install any other GNU package? or did you just compiled the src
using Visual C++/ Win API?

:-) Thank you for replying.

-----Original Message-----
From: Maria del Rocío Walias Marcos <mrwm@tid.es>
To: Edward Khoo <edwardkkb@cheerful.com>
Cc: openldap-software@OpenLDAP.org <openldap-software@OpenLDAP.org>
Date: Thursday, October 18, 2001 11:16 PM
Subject: Re: OpenLDAP on cygwin....again


>I have the same problem when I compile OpenLDAP 2.0.15 with Visual C++ but
not
>with 2.0.11
>
>R
>
>Edward Khoo wrote:
>
>> Hi folks,
>>
>> I am trying to get OpenLDAP running on my Win2000 box running cygwin.
>>
>> I tried the 'formula' mentioned in your FAQ-O-matic, and it has brought
me
>> to the make.
>> However, during make, I encountered the below problem:
>>
>> gcc -g -O2 -I../../include -I../../include   -I/usr/local/include     -c
>> -o mod
>> .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 `/home/Edward/openldap-2.0.15/servers/slapd'
>> make[1]: *** [all-common] Error 1
>> make[1]: Leaving directory `/home/Edward/openldap-2.0.15/servers'
>> make: *** [all-common] Error 1
>>
>> I am using the latest (for cygwin) gcc, GnuPth and GnuRegex.
>> Somehow, there is a problem with ldif.h:71 and proto-slap.h:391, 392.
>> I have taken a look at the two files and could not understand why make is
>> having problem.
>> I have looked around the net via google but still did not see any
potential
>> solution to the above problem.
>>
>> Any help would be appreciated. Thank you.
>>
>> Best regards,
>> Edward
>