Re: [HACKERS] 7.4beta1 build problem on unixware

2003-08-14 Thread Tom Lane
[EMAIL PROTECTED] writes: > I've just tried the cvs on uw 7.13. It fails on compiling hba.c: > UX:acomp: ERROR: "hba.c", line 651: undefined symbol: AI_NUMERICHOST > UX:acomp: ERROR: "hba.c", line 1237: undefined symbol: AI_NUMERICHOST This seems similar to Weiping He's problem on AIX. As I said

Re: [HACKERS] 7.4beta1 build problem on unixware

2003-08-14 Thread Larry Rosenman
--On Saturday, August 09, 2003 18:57:10 -0400 Tom Lane <[EMAIL PROTECTED]> wrote: Larry Rosenman <[EMAIL PROTECTED]> writes: Ok, with using OUR src/port/getaddrinfo.c (by #undef'ing HAVE_GETADDRINFO and adding getaddrinfo.o to Makefile.global's LIBOBJS, it works again. We need to devise a con

Re: [HACKERS] 7.4beta1 build problem on unixware

2003-08-14 Thread Tom Lane
Kurt Roeckx <[EMAIL PROTECTED]> writes: > If they don't have it defined, it's not going to do what we > expect and we might be better of using our replacement functions. We will if we don't find struct addrinfo. See notes at top of getaddrinfo.h. regards, tom lane --

Re: [HACKERS] 7.4beta1 build problem on unixware

2003-08-14 Thread Kurt Roeckx
On Sat, Aug 09, 2003 at 11:48:31AM -0400, Tom Lane wrote: > Kurt Roeckx <[EMAIL PROTECTED]> writes: > > On Thu, Aug 07, 2003 at 05:20:58PM +0200, [EMAIL PROTECTED] wrote: > >> I have NI_NUMERICHOST defined in netdb.h > > > If you have that, I assume you have AI_NUMERICHOST in the same > > file too

Re: [HACKERS] 7.4beta1 build problem on unixware

2003-08-14 Thread Kurt Roeckx
On Thu, Aug 07, 2003 at 05:20:58PM +0200, [EMAIL PROTECTED] wrote: > Hi Tom, > > I have NI_NUMERICHOST defined in netdb.h That's for getnameinfo(). getnameinfo() is older than getaddrinfo() ... If you have that, I assume you have AI_NUMERICHOST in the same file too ... ? Kurt --

Re: [HACKERS] 7.4beta1 build problem on unixware

2003-08-11 Thread Larry Rosenman
--On Saturday, August 09, 2003 12:31:14 -0400 Tom Lane <[EMAIL PROTECTED]> wrote: Kurt Roeckx <[EMAIL PROTECTED]> writes: If they don't have it defined, it's not going to do what we expect and we might be better of using our replacement functions. We will if we don't find struct addrinfo. See

Re: [HACKERS] 7.4beta1 build problem on unixware

2003-08-10 Thread Tom Lane
Kurt Roeckx <[EMAIL PROTECTED]> writes: > On Thu, Aug 07, 2003 at 05:20:58PM +0200, [EMAIL PROTECTED] wrote: >> I have NI_NUMERICHOST defined in netdb.h > That's for getnameinfo(). getnameinfo() is older than > getaddrinfo() ... > If you have that, I assume you have AI_NUMERICHOST in the same >

Re: [HACKERS] 7.4beta1 build problem on unixware

2003-08-10 Thread Larry Rosenman
--On Saturday, August 09, 2003 15:15:05 -0500 Larry Rosenman <[EMAIL PROTECTED]> wrote: --On Saturday, August 09, 2003 12:31:14 -0400 Tom Lane <[EMAIL PROTECTED]> wrote: Kurt Roeckx <[EMAIL PROTECTED]> writes: If they don't have it defined, it's not going to do what we expect and we might be

Re: [HACKERS] 7.4beta1 build problem on unixware

2003-08-10 Thread Tom Lane
Larry Rosenman <[EMAIL PROTECTED]> writes: > Ok, with using OUR src/port/getaddrinfo.c (by #undef'ing HAVE_GETADDRINFO > and adding getaddrinfo.o to Makefile.global's LIBOBJS, it works again. > We need to devise a configure test for broken/old getaddrinfo()'s. That seems Turing-complete in gener

Re: [HACKERS] 7.4beta1 build problem on unixware

2003-08-09 Thread ohp
AIL PROTECTED]> > Subject: Re: [HACKERS] 7.4beta1 build problem on unixware > > On Thu, Aug 07, 2003 at 05:20:58PM +0200, [EMAIL PROTECTED] wrote: > > Hi Tom, > > > > I have NI_NUMERICHOST defined in netdb.h > > That's for getnameinfo(). getnameinfo() is older th

[HACKERS] 7.4beta1 build problem on unixware

2003-08-07 Thread ohp
Hi, I've just tried the cvs on uw 7.13. It fails on compiling hba.c: UX:acomp: ERROR: "hba.c", line 651: undefined symbol: AI_NUMERICHOST UX:acomp: ERROR: "hba.c", line 1237: undefined symbol: AI_NUMERICHOST gmake[3]: *** [hba.o] Error 1 gmake[2]: *** [libpq-recursive] Error 2 gmake[1]: *** [all]

Re: [HACKERS] 7.4beta1 build problem on unixware

2003-08-07 Thread Larry Rosenman
--On Thursday, August 07, 2003 10:46:47 -0400 Tom Lane <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED] writes: I've just tried the cvs on uw 7.13. It fails on compiling hba.c: UX:acomp: ERROR: "hba.c", line 651: undefined symbol: AI_NUMERICHOST UX:acomp: ERROR: "hba.c", line 1237: undefined symbol

Re: [HACKERS] 7.4beta1 build problem on unixware

2003-08-07 Thread ohp
<[EMAIL PROTECTED]> > Subject: Re: [HACKERS] 7.4beta1 build problem on unixware > > [EMAIL PROTECTED] writes: > > I've just tried the cvs on uw 7.13. It fails on compiling hba.c: > > UX:acomp: ERROR: "hba.c", line 651: undefined symbol: AI_NUMERICHO