Re: Re: Add support for <xti.h>

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Pete Forman <gsez020(at)kryten(dot)bedford(dot)waii(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Larry Rosenman <ler(at)lerctr(dot)org>
Subject: Re: Re: Add support for <xti.h>
Date: 2000-10-24 14:37:15
Message-ID: 10938.972398235@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Pete Forman <gsez020(at)kryten(dot)bedford(dot)waii(dot)com> writes:
> On IRIX 6.5.5m I get the following error. The header <standards.h> is
> included by (nearly!) all of the standard headers. It is the IRIX
> equivalent of config.h if you will.

> configure:4349: checking for netinet/tcp.h
> configure:4359: cc -E conftest.c >/dev/null 2>conftest.out
> cc-1035 cc: WARNING File = /usr/include/sys/endian.h, Line = 32
> #error directive: "<standards.h> must be included before <sys/endian.h>."

> #error "<standards.h> must be included before <sys/endian.h>."
> ^
> configure: failed program was:
> #line 4354 "configure"
> #include "confdefs.h"
> #include <netinet/tcp.h>

How bizarre. One would think it'd make more sense to just include the
desired file, instead of going belly-up like that.

> In order to preprocess this test on IRIX a system header such as
> <stdio.h> must precede <netinet/tcp.h>. The logical choice of header
> to use is <netinet/in.h> as tcp.h is supplying values for levels
> defined in in.h.

> This is an IRIX bug but I think that we need to work around it.

Roger, will do.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-10-24 15:07:33 Re: Re: Add support for <xti.h>
Previous Message Lamar Owen 2000-10-24 14:25:14 [Fwd: [CORE SDI ADVISORY] MySQL weak authentication]