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

Re: compiling problem: os-ip.c

At 07:48 PM 10/17/00 +0200, Stig Venås wrote:
>On Tue, Oct 17, 2000 at 06:39:44PM +0200, Armin Leitner wrote:
>> Hi,
>> I have tried to compile openldap-2.0.x (1, 4 and 6) on my linux-box and I 
>> always get the following error message:
>> cc -g -O2 -I../../include -I../../include -c os-ip.c  -fPIC -DPIC -o .libs/os-ip
>> .lo
>> os-ip.c: In function `ldap_connect_to_host':
>> os-ip.c:297: storage size of `hints' isn't known
>Looks like getaddrinfo was found somewhere, but not the definition of
>struct addrinfo. Could you see if you have struct addrinfo defined

I prefer to defer discussion of what changes are needed (if any)
until we have an answer to the above question.