Re: ecpg tests compile failure

From: Shridhar Daithankar <shridhar_daithankar(at)myrealbox(dot)com>
To: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ecpg tests compile failure
Date: 2003-12-18 13:06:04
Message-ID: 200312181836.04924.shridhar_daithankar@myrealbox.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thursday 18 December 2003 18:03, Dave Cramer wrote:
> Shridhar,
>
> Obviously not, but I just did make inside the test directory, so I
> assume the Makefile needs to be fixed.

I don't think so.. Check this..

[shridhar(at)daithan pgsql]$ find . -name Makefile.global
./src/Makefile.global
[shridhar(at)daithan pgsql]$ grep THREAD_LIBS ./src/Makefile.global
THREAD_LIBS = -lpthread

If you don't have this flag defined, the tests won't be linked against the
thread library. Check what value this flag is set to.

You did a ./configure --enable-thread-safety, right? Which platform is this
BTW?

This is on a CVS head checkout from couple of days ago on linux.. All the
tests got successfully compiled.

Shridhar

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kurt Roeckx 2003-12-18 13:11:20 Dates BC.
Previous Message Dave Cramer 2003-12-18 12:33:22 Re: ecpg tests compile failure