Version of Postgres: 6.4.2
Operating system: AIX 4.3.2.0
Hardware: PowerPC RS/6000
Compile:
With gcc, I had to add "-D_LONG_LONG" to COPT. (I compiled using the
aix_gcc template, which should probably be updated.)
The native lex/yacc *both* complained of limits being exceeded. This
was fixed by using flex and bison.
There were problems building the postgres.imp file -- the file was
created, but a warning was emitted and the make stopped. Since the
file was created, subsequent runs would skip that step. I suspect an
incompatibility between the AIX mkldexport.sh script and gcc.
There were many warnings about int8, int16, int32 redefinitions (see
below).
Install:
No problems. Postmaster seems to run all right, and psql connects and
creates/manipulates the test database as described in the INSTALL
documentation. createdb and destroydb both work.
Regression test:
Could not run at all!
bash-2.02$ make all runtest
gcc -I../../include -I../../backend -fsigned-chars -Wall -Wmissing-prototypes -I../../interfaces/libpq
-I../../include -c regress.c -o regress.o
In file included from ../../include/postgres.h:42,
from regress.c:9:
../../include/c.h:224: warning: redefinition of `int8'
/usr/include/sys/inttypes.h:606: warning: `int8' previously declared here
../../include/c.h:225: warning: redefinition of `int16'
/usr/include/sys/inttypes.h:607: warning: `int16' previously declared here
../../include/c.h:226: warning: redefinition of `int32'
/usr/include/sys/inttypes.h:608: warning: `int32' previously declared here
../../backend/port/aix/mkldexport.sh regress.o `pwd` > regress.exp
Making share library regress.so from regress.o, regress.exp, and installed postgres.imp
ld -H512 -bM:SRE -bI:/usr/local/pgsql/lib/postgres.imp -bE:regress.exp -o regress.so regress.o -lPW -lcrypt -lld
-lnsl-ldl -lm -lcurses
ld: 0711-224 WARNING: Duplicate symbol: fmgr_pl_finfo
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
ld: 0711-317 ERROR: Undefined symbol: _iob
make: *** [regress.so] Error 8
rm regress.exp regress.o