tz error prevents postmaster.c compiling... - Mailing list pgsql-patches

From Simon Riggs
Subject tz error prevents postmaster.c compiling...
Date
Msg-id 1088194886.3266.852.camel@stromboli
Whole thread Raw
In response to Re: PITR Archival  (Simon Riggs <simon@2ndquadrant.com>)
Responses Re: tz error prevents postmaster.c compiling...  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Going backwards at a rate of knots, I can't even get postmaster to
compile now.... and I'm talking about the one from cvstip, NOT with my
changes...please assist a tired brain

My errors:
[sriggs@stromboli postmaster]$ make
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -I../../../src/include -D_GNU_SOURCE   -c -o
postmaster.o postmaster.c
postmaster.c: In function `ServerLoop':
postmaster.c:1046: error: storage size of `tz' isn't known
postmaster.c:1048: warning: implicit declaration of function
`gettimeofday'
postmaster.c:1046: warning: unused variable `tz'
postmaster.c: In function `BackendRun':
postmaster.c:2388: error: storage size of `tz' isn't known
postmaster.c:2388: warning: unused variable `tz'
make: *** [postmaster.o] Error 1
[sriggs@stromboli postmaster]$

These are the only errors from make...
    port.h
    postmaster.c
have both just been updated by cvs update

...for the last few days, I've been getting this when I attempt initdb
with -d option enabled

LOG:  could not open directory "/share/timezone": No such file or
directory
DEBUG:  Reject TZ "GMT0BST": at 1111968000 2005-03-28 00:00:00 std
versus 2005-03-28 01:00:00 dst
DEBUG:  Reject TZ "GMT0": at 1088121600 2004-06-25 00:00:00 std versus
2004-06-25 01:00:00 dst
LOG:  could not recognize system timezone, defaulting to "Etc/GMT0"
HINT:  You can specify the correct timezone in postgresql.conf.

...my system shows....

[sriggs@stromboli pgsql]$ date
Fri Jun 25 20:55:31 BST 2004

...is this a case of?

#ifdef BRIT
    gcc -throw-wobbly
#endif

Comments?

Regards, Simon Riggs


pgsql-patches by date:

Previous
From: Simon Riggs
Date:
Subject: Re: PITR Archival
Next
From: Tom Lane
Date:
Subject: Re: tz error prevents postmaster.c compiling...