Re: [GENERAL] Problems building pgsql 6.5/6.4 on AIX gcc - Mailing list pgsql-general

From Bruce Momjian
Subject Re: [GENERAL] Problems building pgsql 6.5/6.4 on AIX gcc
Date
Msg-id 199906151933.PAA01112@candle.pha.pa.us
Whole thread Raw
In response to Problems building pgsql 6.5/6.4 on AIX gcc  (Artur Pietruk <arturp@plukwa.pdi.net>)
Responses Re: [GENERAL] Problems building pgsql 6.5/6.4 on AIX gcc  (Artur Pietruk <arturp@plukwa.pdi.net>)
List pgsql-general
Check AIX faq on the web site.  It may help.


>     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
>
>


--
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-general by date:

Previous
From: Artur Pietruk
Date:
Subject: Problems building pgsql 6.5/6.4 on AIX gcc
Next
From: "Dan Wilson"
Date:
Subject: Fw: Can't even specify template