Re: postgresql 7.2 on AIX 5.1

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: postgresql 7.2 on AIX 5.1
Дата
Msg-id 200208041926.g74JQRP03079@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: postgresql 7.2 on AIX 5.1  ("Daiju Kato" <dkato@luna.email.ne.jp>)
Список 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@luna.email.ne.jp
>
>
> "Bruce Momjian" <pgman@candle.pha.pa.us> wrote in message
> news:200208031540.g73FeWd02749@candle.pha.pa.us...
> >
> > 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@postgresql.org
>

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

В списке pgsql-ports по дате отправления:

Предыдущее
От: "Daiju Kato"
Дата:
Сообщение: Re: postgresql 7.2 on AIX 5.1
Следующее
От: "Daiju Kato"
Дата:
Сообщение: Re: postgresql 7.2 on AIX 5.1