Re: [HACKERS] Trouble building 8.1.1 on Tru64 UNIX 5.1

2005-12-19 Thread Albert Chin
On Mon, Dec 19, 2005 at 06:34:38PM -0500, Tom Lane wrote: > Albert Chin <[EMAIL PROTECTED]> writes: > > On Mon, Dec 19, 2005 at 05:59:12PM -0500, Tom Lane wrote: > >> Perhaps a more relevant question is why ecpg/preproc is including > >> that header. > > > #include with -D_REENTRANT includes it.

Re: [HACKERS] Trouble building 8.1.1 on Tru64 UNIX 5.1

2005-12-19 Thread Tom Lane
Albert Chin <[EMAIL PROTECTED]> writes: > On Mon, Dec 19, 2005 at 05:59:12PM -0500, Tom Lane wrote: >> Perhaps a more relevant question is why ecpg/preproc is including >> that header. > #include with -D_REENTRANT includes it. > preproc.c: > #include "postgres_fe.h" > #include "c.h" >

Re: [HACKERS] Trouble building 8.1.1 on Tru64 UNIX 5.1

2005-12-19 Thread Albert Chin
On Mon, Dec 19, 2005 at 05:59:12PM -0500, Tom Lane wrote: > Albert Chin <[EMAIL PROTECTED]> writes: > > The problem is that /usr/include/arpa/nameser_compat.h defines a > > struct named HEADER. This conflicts with the use of preproc.y in > > src/interfaces/ecpg/preproc/preproc.y. > > > What should

Re: [HACKERS] Trouble building 8.1.1 on Tru64 UNIX 5.1

2005-12-19 Thread Tom Lane
Albert Chin <[EMAIL PROTECTED]> writes: > The problem is that /usr/include/arpa/nameser_compat.h defines a > struct named HEADER. This conflicts with the use of preproc.y in > src/interfaces/ecpg/preproc/preproc.y. > What should it be renamed to? Perhaps a more relevant question is why ecpg/prepr

[HACKERS] Trouble building 8.1.1 on Tru64 UNIX 5.1

2005-12-19 Thread Albert Chin
While building 8.1.1 on Tru64 UNIX 5.1: gmake[5]: Leaving directory `/opt/build/postgresql-8.1.1/src/port' cc -O2 -ieee -msym -readonly_strings -pthread --thread-safe -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -I./../include -I. -I../../../../src/include -I/opt/TWWfsw/gettext014/includ