elog.c comiple problem on AIX 4.2.1
I am still getting the duplicate case value problem trying to compile the
CVS head on AIX 4.2.1.
gmake[4]: Entering directory
`/usr/local/postgres/pgsql/src/backend/utils/error'
gcc -O2 -pipe -Wall -Wmissing-prototypes -Wmissing-declarations
-I../../../../sr
c/include -I/usr/local/ssl/include -c -o elog.o elog.c
elog.c: In function `errcode_for_file_access':
elog.c:546: duplicate case value
elog.c:539: previously used here
gmake[4]: *** [elog.o] Error 1
gmake[4]: Leaving directory
`/usr/local/postgres/pgsql/src/backend/utils/error'
gmake[3]: *** [error-recursive] Error 2
gmake[3]: Leaving directory `/usr/local/postgres/pgsql/src/backend/utils'
gmake[2]: *** [utils-recursive] Error 2
gmake[2]: Leaving directory `/usr/local/postgres/pgsql/src/backend'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/local/postgres/pgsql/src'
gmake: *** [all] Error 2
Is this problem going to be fixed for version 7.4 or is there a work
around available?
horwitz@argoscomp.com (Samuel A Horwitz)
Samuel A Horwitz <horwitz@argoscomp.com> writes:
c/include -I/usr/local/ssl/include -c -o elog.o elog.c
elog.c: In function `errcode_for_file_access':
elog.c:546: duplicate case value
elog.c:539: previously used here
gmake[4]: *** [elog.o] Error 1
[ scratches head ... ] EEXIST and ENOTEMPTY are the same code on your
machine?
regards, tom lane
YES it seems.
On Tue, 2 Sep 2003, Tom Lane wrote:
Date: Tue, 02 Sep 2003 13:34:09 -0400
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Samuel A Horwitz <horwitz@argoscomp.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: [HACKERS] elog.c comiple problem on AIX 4.2.1Samuel A Horwitz <horwitz@argoscomp.com> writes:
c/include -I/usr/local/ssl/include -c -o elog.o elog.c
elog.c: In function `errcode_for_file_access':
elog.c:546: duplicate case value
elog.c:539: previously used here
gmake[4]: *** [elog.o] Error 1[ scratches head ... ] EEXIST and ENOTEMPTY are the same code on your
machine?regards, tom lane
horwitz@argoscomp.com (Samuel A Horwitz)
Samuel A Horwitz <horwitz@argoscomp.com> writes:
On Tue, 2 Sep 2003, Tom Lane wrote:
[ scratches head ... ] EEXIST and ENOTEMPTY are the same code on your
machine?
YES it seems.
Okay, I've applied a workaround.
regards, tom lane
Thanks - past that problem.
On Wed, 3 Sep 2003, Tom Lane wrote:
Date: Wed, 03 Sep 2003 12:03:58 -0400
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Samuel A Horwitz <horwitz@argoscomp.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: [HACKERS] elog.c comiple problem on AIX 4.2.1Samuel A Horwitz <horwitz@argoscomp.com> writes:
On Tue, 2 Sep 2003, Tom Lane wrote:
[ scratches head ... ] EEXIST and ENOTEMPTY are the same code on your
machine?YES it seems.
Okay, I've applied a workaround.
regards, tom lane
horwitz@argoscomp.com (Samuel A Horwitz)