Problems building pgsql 6.5/6.4 on AIX gcc - Mailing list pgsql-general

From Artur Pietruk
Subject Problems building pgsql 6.5/6.4 on AIX gcc
Date
Msg-id 19990615213029.A2784@plukwa.pdi.net
Whole thread Raw
Responses Re: [GENERAL] Problems building pgsql 6.5/6.4 on AIX gcc  (Bruce Momjian <maillist@candle.pha.pa.us>)
List 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@pdi.net

pgsql-general by date:

Previous
From: M Simms
Date:
Subject: Re: [GENERAL] Scalability to very large databases under Linux
Next
From: Bruce Momjian
Date:
Subject: Re: [GENERAL] Problems building pgsql 6.5/6.4 on AIX gcc