What compiler are you using? If it helps, some time ago I built PG
v9.2.2 using the IBM xlc compiler at version 12 successfully. From my
notes I used the following compiler configuration:-
./configure CC=xlc LIBS="-lssl -lcrypto -lz -lreadline -lcurses -lld
-lmass -lm" CFLAGS="-qlanglvl=extc89" --with-template=aix
--prefix=/home/ahastie/pgbuild
--with-includes=/opt/freeware/include:/home/ahastie/gnu/zlib-1.2.7:/home/ahastie/gnu/readline-6.2
--with-libraries=/opt/freeware/lib
(Note: For various reasons I used my own downloads of zlib and readline
for the build.)
Hope the above helps.
On 19/08/13 11:33, nitishsaur...@gmail.com wrote:
The following bug has been logged on the website:
Bug reference: 8387
Logged by: Nitish
Email address: nitishsaur...@gmail.com
PostgreSQL version: 9.2.4
Operating system: AIX7.1
Description:
Gives Error while compiling (configure goes well but while running make it
gives error) the source code as shown below. Is there any compatibility
issue between PostgreSQl 9.2.4 and AIX7.1 ?
/tmp//ccIZry3K.s: line 23872: 1252-142 Syntax error.
/tmp//ccIZry3K.s: line 23873: 1252-142 Syntax error.
/tmp//ccIZry3K.s: line 23876: 1252-142 Syntax error.
gmake[4]: *** [xlog.o] Error 1
gmake[4]: Leaving directory
`/usr/src/postgresql-9.2.4/src/backend/access/transam'
gmake[3]: *** [transam-recursive] Error 2
gmake[3]: Leaving directory `/usr/src/postgresql-9.2.4/src/backend/access'
gmake[2]: *** [access-recursive] Error 2
gmake[2]: Leaving directory `/usr/src/postgresql-9.2.4/src/backend'
gmake[1]: *** [all-backend-recurse] Error 2
gmake[1]: Leaving directory `/usr/src/postgresql-9.2.4/src'
gmake: *** [all-src-recurse] Error 2
make: 1254-004 The error code from the last command is 2.
Stop.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs