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

Re: problem with HAVE_GAI_STRERROR on RedHat5.2 (ITS#1073)



Oops

On Wed, Mar 14, 2001 at 07:30:04PM +0000, andrej@jpd.sk wrote:
> version: openldap-2.0.7
> 
> hello,
> 
> there is a bug in servers/slapd/daemon.c, it's unable to compile it
> without gai_strerror() function.
> 
> i added some #ifdef there and it works fine now.
> 
> check the lines around #243.
> 
> also in include/portable.h at line 149 uncomment #undef HAVE_GAI_STRERROR

The best fix is to replace #243
gai_strerror(err), 0, 0);

with

AC_GAI_STRERROR(err), 0, 0);

I think. Just like line #231. Let us know if that doesn't work for you.

Thanks,

Stig