Andrew Sullivan <[EMAIL PROTECTED]> writes: > On Thu, Apr 15, 2004 at 07:52:59PM -0400, Tom Lane wrote: >> I can see from your trace that you are using the getaddrinfo code from >> libc, but where is configure finding a header that declares struct >> addrinfo?
> Hrm, I can't seem to tell. I see this in config.log, but it isn't > telling me where it found it. Am I looking in the wrong place? What you'd need to do is determine which system headers are being #include'd by that config test, and then look through them to find struct addrinfo. A shortcut is just to grep through /usr/include and its subdirectories for addrinfo. If you only find one definition, then you don't really need to worry too much. But if there's more than one you need to determine which is getting used. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster