- Mailing list pgsql-ports
From | Ed Yu |
---|---|
Subject | |
Date | |
Msg-id | 5773B442597BD2118B9800105A1901EE17203F@asgnet2.psc.sc.edu Whole thread Raw |
List | pgsql-ports |
Hello, I've just ported PostgreSQL 6.5.3 to 2 machines: IBM RS6000 590 running AIX 4.3.1, gcc 2.8.1, gnu make 3.78.1 IBM RS6000 J30 running AIX 4.2.1, gcc 2.8.1, gnu make 3.78.1 I have to compile the system using: make --with-template=aix_gcc --without-CXX Everything seems to work except when I'm compiling the regression test, on both of the machines, it complained about: postgres@genesis [/usr/local/src/pgsql/postgresql-6.5.3/src/test] 162 $ make all runtest make -C bench all make[1]: Entering directory `/usr/local/src/pgsql/postgresql-6.5.3/src/test/bench' if [ -z "$USER" ]; then USER=$LOGNAME; fi; \ if [ -z "$USER" ]; then USER=`whoami`; fi; \ if [ -z "$USER" ]; then echo 'Cannot deduce $USER.'; exit 1; fi; \ rm -f create.sql; \ C=`pwd`; \ sed -e "s:_CWD_:$C:g" \ -e "s:_OBJWD_:$C:g" \ -e "s:_SLSUFF_::g" \ -e "s/_USER_/$USER/g" < create.source > create.sql x=1; \ for i in `ls query[0-9][0-9]`; do \ echo "select $x as x" >> bench.sql; \ cat $i >> bench.sql; \ x=`expr $x + 1`; \ done rm -f bench.out bench.out.perquery make[1]: Leaving directory `/usr/local/src/pgsql/postgresql-6.5.3/src/test/bench' make -C regress all make[1]: Entering directory `/usr/local/src/pgsql/postgresql-6.5.3/src/test/regress' gcc -I../../include -I../../backend -fsigned-chars -Wall -Wmissing-prototypes -I../../interfaces/libpq -I../../include -c -o regress.o regress.c In file included from ../../include/postgres.h:42, from regress.c:9: ../../include/c.h:173: warning: redefinition of `int8' /usr/include/sys/inttypes.h:584: warning: `int8' previously declared here ../../include/c.h:174: warning: redefinition of `int16' /usr/include/sys/inttypes.h:585: warning: `int16' previously declared here ../../include/c.h:175: warning: redefinition of `int32' /usr/include/sys/inttypes.h:586: 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 -ltermcap -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[1]: *** [regress.so] Error 8 rm regress.exp regress.o make[1]: Leaving directory `/usr/local/src/pgsql/postgresql-6.5.3/src/test/regress' make: *** [all] Error 2 postgres@genesis [/usr/local/src/pgsql/postgresql-6.5.3/src/test] 163 $ echo $LD_LIBRARY_PATH /usr/local/pgsql/lib ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Ed Yu, IBM Certified Specialist - AIX System Administrator Information Technology Manager, University of South Carolina, Advanced Solutions Group, Physics Dept., Columbia, SC 29208 Office (803)777-8831, FAX (803)777-8833, Email ekyu@asgnet.psc.sc.edu
pgsql-ports by date: