Re: ia64-hp-hpux11.23 configure warnings

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ia64-hp-hpux11.23 configure warnings
Дата
Msg-id 24871.1126629909@sss.pgh.pa.us
обсуждение исходный текст
Ответ на ia64-hp-hpux11.23 configure warnings  ("Ed L." <pgsql@bluepolka.net>)
Список pgsql-bugs
"Ed L." <pgsql@bluepolka.net> writes:
> Here's my 11.23 compile line:
> gcc -O2 -mlp64 -Wall -Wmissing-prototypes -Wpointer-arith
> -Wendif-labels -fno-strict-aliasing -I../../../src/include
> -D_XOPEN_SOURCE_EXTENDED   -c -o pg_sema.o pg_sema.c

> I've attached sys/types.h and sys/ipc.h.  I'm happy to try any
> patches you suggest...

The problem is obviously impossible given those headers ;-).

What seems most probable at this point is that gcc is not looking at
the headers you think it is.  gcc keeps private "fixed" copies of
system headers that it thinks are broken.  I suspect that your gcc
installation was copied from an earlier HPUX version that had different
contents of one or both of these headers.

I'm not sure if you need to completely reinstall gcc to fix this,
or if just rerunning its fixincludes script will do the job.  Or
you could try manually updating the private copies, but that seems
pretty risky.  In any case I think it's a gcc-doesn't-match-system
problem, not our bug.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Race-condition with failed block-write?
Следующее
От: "Ed L."
Дата:
Сообщение: Re: ia64-hp-hpux11.23 configure warnings