From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | frederic(dot)germaneau(at)bull(dot)net, pgsql-general(at)postgresql(dot)org |
Subject: | Re: R?f. : Re: v8 on AIX5.2 |
Date: | 2004-09-26 01:10:29 |
Message-ID: | 200409260110.i8Q1ATN13973@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Tom Lane wrote:
> frederic(dot)germaneau(at)bull(dot)net writes:
> > Contents of config.log is:
> > configure:16063: checking for the pthreads library -lpthreads
> > configure:16101: gcc -o conftest -O2 -fno-strict-aliasing conftest.c
> > -lpth
> > reads -lz -lreadline -lPW -lgen -lld -lnsl -ldl -lm >&5
> > In file included from conftest.c:117:
> > /usr/include/pthread.h:556: parse error before `*'
> > /usr/include/pthread.h:559: parse error before `*'
> > /usr/include/pthread.h:563: parse error before `*'
>
> This looks like your version of pthread.h depends on some other system
> header having been included first; but there's not nearly enough
> information here to guess which one(s) it needs.
I wonder if this is the problem:
# More AIX lossage: must compile with cc_r
AC_CHECK_PROG(PTHREAD_CC, cc_r, cc_r, ${CC})
This code is from acx_pthread.m4. I figured any OS that required a
separate compiler for threading was really broken but this might be
needed still for AIX. I hesitated to propogate this into our code
because it would require a new $(CC) for all thread builds and I didn't
want to go that far unless I had to.
If you set CC=cc_r, does it help?
--
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 | Tom Allison | 2004-09-26 01:31:36 | Re: serial data type |
Previous Message | Bruce Momjian | 2004-09-26 01:06:45 | Re: using COPY table FROM STDIN within script run as psql |