Re: Re: Add support for

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Re: Add support for
Дата
Msg-id 10938.972398235@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Re: Add support for  (Pete Forman <gsez020@kryten.bedford.waii.com>)
Ответы Re: Re: Add support for  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Pete Forman <gsez020@kryten.bedford.waii.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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Lamar Owen
Дата:
Сообщение: [Fwd: [CORE SDI ADVISORY] MySQL weak authentication]
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Re: Add support for