Re: signal 11 on AIX: 7.4.2

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: signal 11 on AIX: 7.4.2
Date: 2004-04-19 15:18:07
Message-ID: 25306.1082387887@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew Sullivan <ajs(at)crankycanuck(dot)ca> 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-04-19 15:25:08 Re: GUC variable set, TODO
Previous Message George Cristian Birzan 2004-04-19 13:59:19 Re: xlog flush request is not satisfied error