Skip site navigation (1) Skip section navigation (2)

build problem with postgresql on AIX 4.3.3

From: Hasan Ahmed <ahasan(at)uic(dot)edu>
To: pgsql-bugs(at)postgresql(dot)org
Subject: build problem with postgresql on AIX 4.3.3
Date: 2002-01-18 01:37:09
Message-ID: Pine.A41.4.10.10201171934360.140800-100000@tigger.cc.uic.edu (view raw or flat)
Thread:
Lists: pgsql-bugs
Hello

 I am getting the following error when I build postgresql 7.1.1 on
 AIX 4.3.3 machine. I am unable to figure it out what's the problem
 is. I have GNU make and gcc on the system. It woulb be a great help
 if you can help me.

Thanks
Hasan Ahmed
ACCC Systems
University of Illinois at Chicago

---------------------------------------------------------------
gmake[1]: Entering directory `/usr/local/src/postgresql-7.1.1/doc'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/local/src/postgresql-7.1.1/doc'
gmake -C src all
gmake[1]: Entering directory `/usr/local/src/postgresql-7.1.1/src'
gmake -C backend all
gmake[2]: Entering directory `/usr/local/src/postgresql-7.1.1/src/backend'
gmake -C access all
gmake[3]: Entering directory
`/usr/local/src/postgresql-7.1.1/src/backend/access'
gmake -C common SUBSYS.o
gmake[4]: Entering directory
`/usr/local/src/postgresql-7.1.1/src/backend/access/common'
xlc -O2 -qmaxmem=16384 -qsrcmsg -qlonglong -I../../../../src/include   -c
-o heaptuple.o heaptuple.c
"../../../../src/include/c.h", line 193.21: 1506-334 (S) Identifier int8
has already been defined on line 622 of "/usr/include/sys/inttypes.h".
"../../../../src/include/c.h", line 194.22: 1506-334 (S) Identifier int16
has already been defined on line 623 of "/usr/include/sys/inttypes.h".
"../../../../src/include/c.h", line 195.20: 1506-334 (S) Identifier int32
has already been defined on line 624 of "/usr/include/sys/inttypes.h".
"../../../../src/include/c.h", line 265.23: 1506-334 (S) Identifier int64
has already been defined on line 629 of "/usr/include/sys/inttypes.h".
      113 |                         do { switch (att[i]->attlen) { case
sizeof(char): *(char *) (data) = ((char) (((Datum) (value[i])) &
0x000000ff)); break; case sizeof(int16): *(int16 *) (data) = ((int16)
(((Datum) (value[i])) & 0x0000ffff)); break; case sizeof(int32): *(int32
*) (data) = ((int32) (((Datum) (value[i])) & 0xffffffff)); break; default:
elog((-1), "store_att_byval: unsupported byval length %d", (int)
(att[i]->attlen)); break; } } while (0);

.....................................................................................................................................................................................................................................................a..........
a - 1506-052 (S) Duplicate case label for value 0. Labels must be unique.
      617 |         do { int32 * _start = (int32 *) ((char *) td); int
_val = (0); Size _len = (len); if ((((long) _start) & (sizeof(int32) - 1))
== 0 && (_len & (sizeof(int32) - 1)) == 0 && _val == 0 && _len <= 64) {
int32 * _stop = (int32 *) ((char *) _start + _len); while (_start < _stop)
*_start++ = 0; } else __memset((char *) _start,_val,_len); } while (0);

................................................................................................................................................................................................................................................................................a.........b
a - 1506-068 (E) Operation between types "illegal type*" and "illegal
type*" is not allowed.
b - 1506-281 (S) Prefix and postfix increment and decrement operators
cannot be applied to "illegal type*".
      770 |         do { int32 * _start = (int32 *) ((char *) td); int
_val = (0); Size _len = (len); if ((((long) _start) & (sizeof(int32) - 1))
== 0 && (_len & (sizeof(int32) - 1)) == 0 && _val == 0 && _len <= 64) {
int32 * _stop = (int32 *) ((char *) _start + _len); while (_start < _stop)
*_start++ = 0; } else __memset((char *) _start,_val,_len); } while (0);

................................................................................................................................................................................................................................................................................a.........b
a - 1506-068 (E) Operation between types "illegal type*" and "illegal
type*" is not allowed.
b - 1506-281 (S) Prefix and postfix increment and decrement operators
cannot be applied to "illegal type*".
gmake[4]: *** [heaptuple.o] Error 1
gmake[4]: Leaving directory
`/usr/local/src/postgresql-7.1.1/src/backend/access/common'
gmake[3]: *** [common-recursive] Error 2
gmake[3]: Leaving directory
`/usr/local/src/postgresql-7.1.1/src/backend/access'
gmake[2]: *** [access-recursive] Error 2
gmake[2]: Leaving directory `/usr/local/src/postgresql-7.1.1/src/backend'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/local/src/postgresql-7.1.1/src'
gmake: *** [all] Error 2
----------------------------------------------------------------------------



Responses

pgsql-bugs by date

Next:From: Federico Di GregorioDate: 2002-01-18 09:28:54
Subject: libpq not reentrant
Previous:From: Tom LaneDate: 2002-01-17 22:35:00
Subject: Re: Bug #562: create plpgsql language failed

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group