From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Weiping He <laser(at)zhengmai(dot)com(dot)cn> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: compile error of 7.4 beta1 on AIX 4.3.3 |
Date: | 2003-08-07 13:48:23 |
Message-ID: | 14886.1060264103@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
Weiping He <laser(at)zhengmai(dot)com(dot)cn> writes:
> it seems we should use NI_NUMERICHOST in AIX, for I check the
> /usr/include/netdb.h
> there can't find AI_NUMERICHOST, just NI_NUMERICHOST. change AI_NUMERICHOST
> to NI_NUMERICHOST fixed the problem. But I don't konw the best way to
> fix it.
I don't think that's a good fix --- those are different symbols with
different purposes (and even different values, on other platforms).
Looking at src/include/getaddrinfo.h, it seems we assume we need to
supply definitions of AI_NUMERICHOST and NI_NUMERICHOST if and only
if not HAVE_STRUCT_ADDRINFO. That's probably a bogus assumption.
Can you tell us what configure found for HAVE_STRUCT_ADDRINFO and
HAVE_GETADDRINFO? Also, which of the macros defined in that file
exist in your system headers?
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | psql-mail | 2003-08-07 14:09:46 | Tsearch2 custom dictionaries |
Previous Message | Hubert Fröhlich | 2003-08-07 13:20:52 | Re: crashing Xeon? |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2003-08-07 14:13:02 | Re: Release changes |
Previous Message | Tom Lane | 2003-08-07 13:42:00 | Re: 7.4 Beta1: variable not found in subplan target lists |