Trouble building 8.1.1 on Tru64 UNIX 5.1

From: Albert Chin <pgsql-hackers(at)mlists(dot)thewrittenword(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Trouble building 8.1.1 on Tru64 UNIX 5.1
Date: 2005-12-19 21:58:54
Message-ID: 20051219215854.GA22924@mail1.thewrittenword.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

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/include
-I/opt/TWWfsw/readline50/include -I/opt/TWWfsw/libopenssl097/include
-I/opt/TWWfsw/zlib11/include -I/opt/TWWfsw/tcl84/include
-I/opt/TWWfsw/tk84/include -DMAJOR_VERSION=4 -DMINOR_VERSION=1
-DPATCHLEVEL=1 -c -o preproc.o preproc.c
cc: Error: /usr/include/arpa/nameser_compat.h, line 154: Invalid
declarator. (declarator)
} HEADER;
--^

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?

--
albert chin (china(at)thewrittenword(dot)com)

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andreas Pflug 2005-12-19 22:36:53 Re: [pgadmin-hackers] Client-side password encryption
Previous Message Jim C. Nasby 2005-12-19 19:00:07 Re: Automatic function replanning

Browse pgsql-patches by date

  From Date Subject
Next Message Jim C. Nasby 2005-12-19 22:11:09 Re: Converting seconds past midnight to a time
Previous Message Serge A. Ribalchenko 2005-12-19 16:45:27 new uk_UA i18n file