Re: UnixWare/CVS Tip/initdb.c needs to use threads flags...

From: Larry Rosenman <ler(at)lerctr(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: UnixWare/CVS Tip/initdb.c needs to use threads flags...
Date: 2004-03-19 00:05:35
Message-ID: Pine.UW2.4.58.0403181804400.23871@lerami.lerctr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On Thu, 18 Mar 2004, Larry Rosenman wrote:

> I attempted(!) to compile up CVS Head, and if you --enable-thread-safety,
> you need to include the THREADS stuff to cc:
>
> gmake[4]: Leaving directory `/home/ler/pg-dev/pgsql/src/port'
> cc -O -Kinline initdb.o -L../../../src/interfaces/libpq -lpq
> -L../../../src/port -L/usr/local/lib -Wl,-R/usr/local/pgsql/lib -lz
> -lreadline -ltermcap -lresolv -lgen -lld -lsocket -lnsl -ldl -lm -lpgport
> -o initdb
> Undefined first referenced
> symbol in file
> pthread_getspecific libpq.so
> pthread_key_create libpq.so
> pthread_once libpq.so
> pthread_setspecific libpq.so
> UX:ld: ERROR: Symbol referencing errors. No output written to initdb
> gmake[3]: *** [initdb] Error 1
I bring this up on PGHACKERS because unixware may not be the only
place we have to use the threads flags.

What is the concensus of the community?

LER

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-03-19 00:30:10 Re: Bug in CVS HEAD on bootparse.y???
Previous Message Tom Lane 2004-03-18 23:33:49 Re: syntax error position "CREATE FUNCTION" bug fix

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2004-03-19 00:35:47 Re: [HACKERS] compile warning in CVS HEAD
Previous Message Tom Lane 2004-03-18 23:33:49 Re: syntax error position "CREATE FUNCTION" bug fix