[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: OpenLDAP and strdup?
On Tue, Apr 27, 1999 at 06:34:44AM -0700, Hugh Caley wrote:
> I'm trying to build OpenLDAP on a LinuxPPC box, with glibc2.1, I
> believe. Configure runs fine, but compiling fails on just about every
> module with an error that "Invalid Parameters" are being sent strdup.
>
> Not being a developer, I don't have a clue here. A hacker friend of
> mine showed me how to remove the strdup definition, which allows the
> software to build, but then the programs doesn't work.
>
> I have successfully built OpenLDAP 1.2 on Solaris 2.6 and Linux x86; I
> know a bit
> about setting it up. Can anyone help me with this?
Comment out the strdup definition in include/ac/string.h (?), it conflicts
with glibc 2.1 macros. I think this is fixed in the 1.2.1, if not I'll put
in some ifdef's for it, but it will be in the next release and devel tree
only.