\adminpack.c:127: error: syntax error before
pg_file_write
contrib\adminpack\adminpack.c: In function `pg_file_write':
contrib\adminpack\adminpack.c:129: error: `FILE' undeclared (first use in
this function)
contrib\adminpack\adminpack.c:129: error: `f' undeclared (first use in this
function)
contrib\adminpack\adminpack.c:131: error: `text' undeclared (first use in
this function)
contrib\adminpack\adminpack.c:131: error: `data' undeclared (first use in
this function)
contrib\adminpack\adminpack.c:132: error: `int64' undeclared (first use in
this function)
contrib\adminpack\adminpack.c:132: error: syntax error before count
contrib\adminpack\adminpack.c:136: error: `false' undeclared (first use in
this function)
contrib\adminpack\adminpack.c:144: error: `ERROR' undeclared (first use in
this function)
contrib\adminpack\adminpack.c:145: error: `ERRCODE_DUPLICATE_FILE'
undeclared (first use in this function)
contrib\adminpack\adminpack.c:161: error: `count' undeclared (first use in
this function)
contrib\adminpack\adminpack.c:161: error: `VARHDRSZ' undeclared (first use
in this function)
contrib\adminpack\adminpack.c:161: warning: passing arg 1 of `fwrite' makes
pointer from integer without a cast
contrib\adminpack\adminpack.c: At top level:
contrib\adminpack\adminpack.c:175: error: syntax error before
pg_file_rename
contrib\adminpack\adminpack.c: In function `pg_file_rename':
contrib\adminpack\adminpack.c:187: error: `false' undeclared (first use in
this function)
contrib\adminpack\adminpack.c:196: error: `WARNING' undeclared (first use in
this function)
contrib\adminpack\adminpack.c:213: error: `errno' undeclared (first use in
this function)
contrib\adminpack\adminpack.c:213: error: `ENOENT' undeclared (first use in
this function)
contrib\adminpack\adminpack.c:215: error: `ERROR' undeclared (first use in
this function)
contrib\adminpack\adminpack.c:216: error: `ERRCODE_DUPLICATE_FILE'
undeclared (first use in this function)
contrib\adminpack\adminpack.c:247: error: `ERRCODE_UNDEFINED_FILE'
undeclared (first use in this function)
contrib\adminpack\adminpack.c:260: error: `true' undeclared (first use in
this function)
contrib\adminpack\adminpack.c: At top level:
contrib\adminpack\adminpack.c:265: error: syntax error before
pg_file_unlink
contrib\adminpack\adminpack.c: In function `pg_file_unlink':
contrib\adminpack\adminpack.c:271: error: `false' undeclared (first use in
this function)
contrib\adminpack\adminpack.c:275: error: `errno' undeclared (first use in
this function)
contrib\adminpack\adminpack.c:275: error: `ENOENT' undeclared (first use in
this function)
Process terminated with status 1 (0 minutes, 19 seconds)
52 errors, 22 warnings
--
From: Kris Jurka [EMAIL PROTECTED]
Sent: Saturday, December 01, 2007 7:41 AM
To: Jaime Casanova [EMAIL PROTECTED]
Cc: PostgreSQL-development pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] compiling postgres in winxp
On Sat, 1 Dec 2007, Jaime Casanova wrote:
i'm trying to compile postgres in winxp for the first time in order to
try recent Magnus patch discussed here
http://archives.postgresql.org/pgsql-hackers/2007-11/msg01307.php
/mingw/lib/gcc/mingw32/3.4.5/../../../../include/sys/time.h:27: error:
redefinition of `struct timezone'
/mingw/lib/gcc/mingw32/3.4.5/../../../../include/sys/time.h:40: error:
conflicting types for 'gettimeofday'
.../../src/include/port.h:292: error: previous declaration of
'gettimeofday' was here
Only very recently can the 8.2 release be built with recent mingw
releases. Upgrade pg to the top of REL8_2_STABLE or downgrade mingw.
http://archives.postgresql.org/pgsql-committers/2007-11/msg00566.php
Kris Jurka
---(end of broadcast)---
TIP 2: Don't 'kill -9' the postmaster
---(end of broadcast)---
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly