Problems building pgsql 6.5/6.4 on AIX gcc

From: Artur Pietruk <arturp(at)plukwa(dot)pdi(dot)net>
To: pgsql-general(at)postgreSQL(dot)org
Subject: Problems building pgsql 6.5/6.4 on AIX gcc
Date: 1999-06-16 01:30:29
Message-ID: 19990615213029.A2784@plukwa.pdi.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi! I can't compile postgres 6.5/6.4 on RS6000 (CPU:PowerPC 604
333Mhz, AIX4.3, egcs). I have installed bison and flex.

I'm configuring it with "./configure --with-template=aix_gcc".
gmake all fails with dynloader.c:

----
gmake[2]: Entering directory
`/usr/local/src/postgresql-6.4.2/postgresql-6.5/src/backend/port'
gcc -I../../include -I../../backend -fsigned-chars -Wall
-Wmissing-prototypes -I.. -c dynloader.c -o dynloader.o
In file included from ../../include/postgres.h:42,
from dynloader.c:15:
../../include/c.h:169: warning: redefinition of `int8'
/usr/include/sys/inttypes.h:584: warning: `int8' previously declared here
../../include/c.h:170: warning: redefinition of `int16'
/usr/include/sys/inttypes.h:585: warning: `int16' previously declared here
../../include/c.h:171: warning: redefinition of `int32'
/usr/include/sys/inttypes.h:586: warning: `int32' previously declared here
dynloader.c: In function `dlopen':
dynloader.c:192: warning: suggest parentheses around assignment used as
truth value
dynloader.c:204: warning: suggest parentheses around assignment used as
truth value
dynloader.c: In function `readExports':
dynloader.c:476: warning: implicit declaration of function `FSEEK'
dynloader.c:476: `BEGINNING' undeclared (first use in this function)
dynloader.c:476: (Each undeclared identifier is reported only once
dynloader.c:476: for each function it appears in.)
dynloader.c:485: warning: implicit declaration of function `FREAD'
gmake[2]: *** [dynloader.o] Error 1
gmake[2]: Leaving directory
`/usr/local/src/postgresql-6.4.2/postgresql-6.5/src/backend/port'
gmake[1]: *** [port.dir] Error 2
gmake[1]: Leaving directory
`/usr/local/src/postgresql-6.4.2/postgresql-6.5/src/backend'
gmake: *** [all] Error 2
----

What am I doing wrong? Is there binary distribution of postgres
for aix?

Best regards,

--- Artur Pietruk, arturp(at)pdi(dot)net

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Robert Chalmers 1999-06-16 05:20:11 initdb in 6.5 not creating 'postgres' db
Previous Message Dan Wilson 1999-06-15 22:32:00 Fw: Can't even specify template