Thread: Re: [HACKERS] PostgreSQL 6.4.2 on AIX 4.3.2: regression test comp ile error
Re: [HACKERS] PostgreSQL 6.4.2 on AIX 4.3.2: regression test comp ile error
From
Zeugswetter Andreas IZ5
Date:
> aasc24>gmake all > xlc -I../../include -I../../backend -I/usr/local/include -O2 > -qchars=signed -qmaxmem=8192 -qhalt=w -qsrcmsg -qcheck=divzero -qlonglong > -DFIX_AIX43_TYPES -I../../interfaces/libpq -I../../include > -c regress.c -o regress.o > ../../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 -L/usr/local/lib -L/lib -lPW -lcrypt -lld -lnsl -ldl > -lm -lreadline -lhistory -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 > gmake: *** [regress.so] Error 8 rm regress.exp regress.o You only need to link -lc to the shared object. Somehow there is a different Makefile rule in the regression test, than for the rest of the shared libraries. Also I think the template for aix is wrong in doing -qchars=signed. There was a discussion saying that chars should be unsigned. Andreas