From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Brad Nicholson <bnichols(at)ca(dot)afilias(dot)info> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: V8 Beta 5 on AIX |
Date: | 2004-12-06 17:20:31 |
Message-ID: | 200412061720.iB6HKVX16551@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Brad Nicholson wrote:
> I tried compliling v8 beta 5 (grabbed from cvs on Friday) on AIX 5.1.
> It fails during the make
>
> make[4]: Entering directory
> `/opt/OXRS/Sources/pgsql-HEAD/src/interfaces/libpq'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory
> `/opt/OXRS/Sources/pgsql-HEAD/src/interfaces/libpq'
> make[4]: Entering directory `/opt/OXRS/Sources/pgsql-HEAD/src/port'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory `/opt/OXRS/Sources/pgsql-HEAD/src/port'
> gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels
> -fno-strict-aliasing -g pg_ctl.o -L../../../src/interfaces/libpq -lpq
> -L../../../src/port -L/opt/OXRS/supporting-packages/readline-4.2/lib
> -L/opt/OXRS/supporting-packages/zlib-1.1.4 -lpgport -lz -lreadline
> -lcurses -lPW -lld -lnsl -ldl -lm -o pg_ctl
> ld: 0711-317 ERROR: Undefined symbol: .pthread_sigmask
> ld: 0711-317 ERROR: Undefined symbol: .sigwait
> ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_lock
> ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_unlock
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
> information.
> collect2: ld returned 8 exit status
> make[3]: *** [pg_ctl] Error 1
> make[3]: Leaving directory `/opt/OXRS/Sources/pgsql-HEAD/src/bin/pg_ctl'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/opt/OXRS/Sources/pgsql-HEAD/src/bin'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/opt/OXRS/Sources/pgsql-HEAD/src'
> make: *** [all] Error 2
OK, I assume you used --enable-thread-safety in configure. This should
have added some PTHREAD link flags to your libpq build, and those
settings should have followed the libpq library into your pg_ctl link
line.
Would you look in your Makefile.global for PTHREAD_* settings and report
those. The second question is why saying those libraries are needed by
libpq is not passing down to uses of libpq, like in pg_ctl.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Jim Buttafuoco | 2004-12-06 17:20:58 | arm rc1 regression failures |
Previous Message | Brad Nicholson | 2004-12-06 17:06:19 | V8 Beta 5 on AIX |