Re: [HACKERS] ecpg tests compile failure

2003-12-19 Thread Bruce Momjian
I have applied the following patches to CVS HEAD and 7.4.X to suppress the ecpg thread test if they didn't enable threads via configure. I also cleaned up the tools/thread test because this is to be used before you have your OS running threads via configure. ---

Re: [HACKERS] ecpg tests compile failure

2003-12-18 Thread Dave Cramer
Bruce, You are correct. I did not configure with --enable-thread-safety Dave On Thu, 2003-12-18 at 08:40, Bruce Momjian wrote: > Dave Cramer wrote: > > Shridhar, > > > > Obviously not, but I just did make inside the test directory, so I > > assume the Makefile needs to be fixed. > > > > Thanks,

Re: [HACKERS] ecpg tests compile failure

2003-12-18 Thread Bruce Momjian
Dave Cramer wrote: > Shridhar, > > Obviously not, but I just did make inside the test directory, so I > assume the Makefile needs to be fixed. > > Thanks, > > Dave > > On Thu, 2003-12-18 at 07:21, Shridhar Daithankar wrote: > > On Thursday 18 December 2003 17:37, Dave Cramer wrote: > > > test_t

Re: [HACKERS] ecpg tests compile failure

2003-12-18 Thread Shridhar Daithankar
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.. [EMAIL PROTECTED] pgsql]$ find . -name Makefile.global ./src/Makefile.global [EMAIL PR

Re: [HACKERS] ecpg tests compile failure

2003-12-18 Thread Dave Cramer
Shridhar, Obviously not, but I just did make inside the test directory, so I assume the Makefile needs to be fixed. Thanks, Dave On Thu, 2003-12-18 at 07:21, Shridhar Daithankar wrote: > On Thursday 18 December 2003 17:37, Dave Cramer wrote: > > test_thread.pgc:51: undefined reference to `pthre

Re: [HACKERS] ecpg tests compile failure

2003-12-18 Thread Shridhar Daithankar
On Thursday 18 December 2003 17:37, Dave Cramer wrote: > test_thread.pgc:51: undefined reference to `pthread_create' > undefined reference to `pthread_join' It is not linking against pthreads library. Do you have -lpthread cause in your compilation/linking command? Shridhar --