|
From: Earnie B. <ea...@us...> - 2006-03-06 22:29:38
|
Quoting Matt England <men...@me...>: > > At 3/6/2006 04:07 PM, Matt England wrote: >> For what it's worth, I built >> <http://sources.redhat.com/pthreads-win32/> and put the >> corresponding headers in /mingw/include and the libs in /mingw/lib. >> >> ...and the postgresql 8.1.3 ./configure --enable-thread-safety now >> works, and I'm now 5-10 minutes into the make process...and I have >> my fingers crossed. > > So I spoke too quickly. My postgresql build broke with "pthreads" > link-time errors. Details below. > > I'm still investigating. I'd really like to find a mingw/msys > "native" pthreads gizmo. Not sure how I get/build that stuff, > looking for pointers. > > -Matt > > $ make > [...] > dlltool --export-all --output-def ecpg.def execute.o typename.o > descriptor.o data.o error.o prepare.o memory.o connect.o misc.o > path.o exec.o snprintf.o > dllwrap -o libecpg.dll --dllname libecpg.dll --def ecpg.def > execute.o typename.o descriptor.o data.o error.o prepare.o memory.o > connect.o misc.o path.o exec.o snprintf.o -L../pgtypeslib > -L../../../../src/interfaces/libpq -L../../../../src/port -lpgtypes > -lpq -lm -lshfolder Where is -lpthreads? Earnie Boyd http://shop.siebunlimited.com |