At 3/6/2006 05:11 PM, Matt England wrote:
>At 3/6/2006 04:29 PM, Earnie Boyd wrote:
>>Quoting Matt England <mengland(at)mengland(dot)net>:
>>>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
>>>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
>>Where is -lpthreads?
>I don't know. I'm cross-posting to the pgsql-ports(at)postgresql(dot)org list
>with these messages, but I haven't seen a message from them yet.
>I'm not sure how I get they to insert a -lpthreads besides manually
>changing their Makefile(s). Anybody know of a way to do this from
>postgres' configure line?
It helps if one names the library created by
<http://sources.redhat.com/pthreads-win32/> as /mingw/lib/libpthreads.a
...instead of using the native file name created in the pthreads-win32
build (and for the record, copy the 3 Pre-built/include header files from
pthreads-win32 into /mingw/include).
So I did that, and the make process now tells me:
"All of PostgreSQL successfully made. Ready to install."
In response to
pgsql-ports by date
|Next:||From: VOGLOZIN W. Amenel||Date: 2006-03-11 13:44:58|
|Subject: 'Undefined reference' error message when linking an object file|
|Previous:||From: Matt England||Date: 2006-03-06 23:11:17|
|Subject: Re: [Mingw-users] Re: How to build thread-safe postgresql 8.x|