Re: [GENERAL] Problems building pgsql 6.5/6.4 on AIX gcc

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Artur Pietruk <arturp(at)plukwa(dot)pdi(dot)net>
Cc: pgsql-general(at)postgreSQL(dot)org
Subject: Re: [GENERAL] Problems building pgsql 6.5/6.4 on AIX gcc
Date: 1999-06-15 19:33:48
Message-ID: 199906151933.PAA01112@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)pdi(dot)net
>
>

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martin Weinberg 1999-06-15 22:01:03 Re: [GENERAL] Scalability to very large databases under Linux
Previous Message listiana sulistiyanto 1999-06-15 19:23:26 subscribe mailing list