BigWhat.com [Thu, Jul 26, 2001 at 10:24:00AM -0400]:
> I am attempting to compile PostgreSQL 7.1.2 on an IBM B50 running AIX 5.1.
> Running configure with --with-perl and/or --with-python works fine but when
> I do the next step and run gmake it goes fine until the following error. If
> someone could point me in the direction of what exactly is causing the error
> I would appreciate it greatly.
>
> <!-- BEGIN Error Message -->
> gcc -O2 -pipe -Wall -Wmissing-prototypes -Wmissing-declarations
> access/SUBSYS
> .o bootstrap/SUBSYS.o catalog/SUBSYS.o parser/SUBSYS.o commands/SUBSYS.o
> executo
> r/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o main/SUBSYS.o nodes/SUBSYS.o
> optimizer/SU
> BSYS.o port/SUBSYS.o postmaster/SUBSYS.o regex/SUBSYS.o rewrite/SUBSYS.o
> storage
> /SUBSYS.o tcop/SUBSYS.o
> tils/SUBSYS.o -lz -lPW -lld -lnsl -ldl -lreadline -o p
Try adding -lm (or whatever math libray on AIX is called) to above line
It should look like:
gcc options files -lz -lm -lPW -lld -lnsl and so
~~~~
--
[ Michal Pasternak doc@lublin.t1.pl +48606570000 ]
[ sklepy internetowe, bazy danych, programy na zamówienie ]
[ . .. ..- .- . .. http://lublin.t1.pl . .-. .--.. . . .- ]