Re: postgresql 7.2 on AIX 5.1

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Daiju Kato <dkato(at)luna(dot)email(dot)ne(dot)jp>
Cc: pgsql-ports(at)postgresql(dot)org, Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
Subject: Re: postgresql 7.2 on AIX 5.1
Date: 2002-08-04 19:26:27
Message-ID: 200208041926.g74JQRP03079@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports


OK, you are getting a failure on the man postgres link line. I know if
you add -lm after the -ldl, it will link properly. You may be able to
edit makefiles/Makefile.aix or just edit Makefile in backend to do the
same thing. Not sure why it is failing. We should be automatic on all
AIX's. I guess not on AIX 5.1. Tatsuo is our AIX expert. I will CC
him.

---------------------------------------------------------------------------

Daiju Kato wrote:
> Hello Bruce,
>
> Below is error point and how I set configuration on AIX 5.1.
> I would appreciate your help.
>
>
> $export PATH=/usr/local/bin:$PATH
> $./configure --with-CC=gcc
>
> make[4]: `SUBSYS.o' is up to date.
> gmake[4]: Leaving directory
> `/home/dkato/postgresql-7.2.1/src/backend/utils/time
> '
> gmake[3]: Leaving directory `/home/dkato/postgresql-7.2.1/src/backend/utils'
> 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 utils/SUBSYS.o -lPW -lld -lnsl -ldl -o postgres
> ld: 0711-317 ERROR: Undefined symbol: .ceil
> ld: 0711-317 ERROR: Undefined symbol: .log
> ld: 0711-317 ERROR: Undefined symbol: .sqrt
> ld: 0711-317 ERROR: Undefined symbol: .isnan
> ld: 0711-317 ERROR: Undefined symbol: .floor
> ld: 0711-317 ERROR: Undefined symbol: .pow
> ld: 0711-317 ERROR: Undefined symbol: .exp
> ld: 0711-317 ERROR: Undefined symbol: .log10
> ld: 0711-317 ERROR: Undefined symbol: .acos
> ld: 0711-317 ERROR: Undefined symbol: .asin
> ld: 0711-317 ERROR: Undefined symbol: .atan
> ld: 0711-317 ERROR: Undefined symbol: .atan2
> ld: 0711-317 ERROR: Undefined symbol: .cos
> ld: 0711-317 ERROR: Undefined symbol: .tan
> ld: 0711-317 ERROR: Undefined symbol: .sin
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
> information.
> collect2: ld returned 8 exit status
> gmake[2]: *** [postgres] Error 1
> gmake[2]: Leaving directory `/home/dkato/postgresql-7.2.1/src/backend'
> gmake[1]: *** [all] Error 2
> gmake[1]: Leaving directory `/home/dkato/postgresql-7.2.1/src'
> gmake: *** [all] Error 2
> make: The error code from the last command is 2.
>
> Daiju Kato
> e-mail:dkato(at)luna(dot)email(dot)ne(dot)jp
>
>
> "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us> wrote in message
> news:200208031540(dot)g73FeWd02749(at)candle(dot)pha(dot)pa(dot)us(dot)(dot)(dot)
> >
> > I need to see more of your configure error lines just before the error
> > so I know what it is trying to link. You can also do 'set -x' in
> > configure to see what it is trying.
> >
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-ports by date

  From Date Subject
Next Message Daiju Kato 2002-08-04 22:00:40 Re: postgresql 7.2 on AIX 5.1
Previous Message Daiju Kato 2002-08-04 15:26:08 Re: postgresql 7.2 on AIX 5.1