tz error prevents postmaster.c compiling...

From: Simon Riggs <simon(at)2ndquadrant(dot)com>
To: pgsql-patches(at)postgresql(dot)org
Subject: tz error prevents postmaster.c compiling...
Date: 2004-06-25 20:21:26
Message-ID: 1088194886.3266.852.camel@stromboli
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)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(at)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(at)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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2004-06-25 20:36:56 Re: tz error prevents postmaster.c compiling...
Previous Message Simon Riggs 2004-06-25 18:45:30 Re: PITR Archival