Re: Build failure: TIMEZONE_GLOBAL undeclared - Mailing list pgsql-bugs

From Bruce Momjian
Subject Re: Build failure: TIMEZONE_GLOBAL undeclared
Date
Msg-id 200409090603.i8963qT11847@candle.pha.pa.us
Whole thread Raw
In response to Build failure: TIMEZONE_GLOBAL undeclared  (Michael Fuhr <mike@fuhr.org>)
Responses Re: Build failure: TIMEZONE_GLOBAL undeclared  (Michael Fuhr <mike@fuhr.org>)
List pgsql-bugs
Michael Fuhr wrote:
> A build of the latest CVS sources fails when compiling pgtz.c:
>
> gcc -O2 -fno-strict-aliasing -g -Wall -Wmissing-prototypes -Wmissing-declarations -DFRONTEND -I../../src/include
-I/usr/local/ssl/include  -c -o pgtz.o pgtz.c 
> pgtz.c: In function `get_timezone_offset':
> pgtz.c:99: error: `TIMEZONE_GLOBAL' undeclared (first use in this function)
>
> PostgreSQL 8.0.0beta2 (CVS)
> Solaris 9
> gcc 3.4.1
> gmake 3.80
> src/timezone/pgtz.c 1.28
> src/include/port.h 1.60

Wow, that is confusing.  How could TIMEZONE_GLOBAL not be defined?  Is
there some way port.h is not being included?  If so I can't see it, and
it compiles here fine, which is strange.  Your file version numbers
match mine though so you have all the versions I have.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Permissions problem with sequences
Next
From: Michael Fuhr
Date:
Subject: Re: Build failure: TIMEZONE_GLOBAL undeclared