Re: Build failure: TIMEZONE_GLOBAL undeclared

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Build failure: TIMEZONE_GLOBAL undeclared
Дата
Msg-id 200409090603.i8963qT11847@candle.pha.pa.us
обсуждение исходный текст
Ответ на Build failure: TIMEZONE_GLOBAL undeclared  (Michael Fuhr <mike@fuhr.org>)
Ответы Re: Build failure: TIMEZONE_GLOBAL undeclared  (Michael Fuhr <mike@fuhr.org>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Permissions problem with sequences
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: Build failure: TIMEZONE_GLOBAL undeclared