Re: Build failure: TIMEZONE_GLOBAL undeclared

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Build failure: TIMEZONE_GLOBAL undeclared
Date: 2004-09-09 06:03:52
Message-ID: 200409090603.i8963qT11847@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Fuhr 2004-09-09 13:43:14 Re: Build failure: TIMEZONE_GLOBAL undeclared
Previous Message Tom Lane 2004-09-09 04:39:07 Re: Permissions problem with sequences