Re: 7.4Beta1: Compile Failure: UnixWare 7.1.3UP2

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Larry Rosenman <ler(at)lerctr(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: 7.4Beta1: Compile Failure: UnixWare 7.1.3UP2
Date: 2003-08-06 16:11:24
Message-ID: 20179.1060186284@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Larry Rosenman <ler(at)lerctr(dot)org> writes:
> cc -O -K inline -g -I../../../../src/include -I/usr/local/include -c -o
> printtup.o printtup.c
> UX:cc: WARNING: debugging and optimization mutually exclusive; -O disabled
> UX:acomp: ERROR: "printtup.c", line 94: undefined struct/union member:
> _shutdown

Hmm, that line is

self->pub.shutdown = printtup_shutdown;

Apparently, somewhere in your system headers is

#define shutdown _shutdown

which would not hurt us if it were applied consistently --- but
evidently the DestReceiver struct definition in tcop/dest.h is
read before we encounter the macro definition. Yech. Can you
find which system header is thus polluting the namespace?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-08-06 16:12:56 Re: test beta build
Previous Message Alessio Bragadini 2003-08-06 15:57:17 Re: v7.4 Beta 1 fails regression on Digital Unix/Tru64 4.0