Re: [Mingw-users] Re: How to build thread-safe postgresql 8.x

Поиск
Список
Период
Сортировка
От Matt England
Тема Re: [Mingw-users] Re: How to build thread-safe postgresql 8.x
Дата
Msg-id 6.1.2.0.2.20060306194603.06570ec0@127.0.0.1
обсуждение исходный текст
Ответ на Re: [Mingw-users] Re: How to build thread-safe postgresql 8.x  (Matt England <mengland@mengland.net>)
Список pgsql-ports
At 3/6/2006 05:11 PM, Matt England wrote:
>At 3/6/2006 04:29 PM, Earnie Boyd wrote:
>>Quoting Matt England <mengland@mengland.net>:
>>$ 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?
>
>I don't know.  I'm cross-posting to the pgsql-ports@postgresql.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."

*whew*

-Matt


В списке pgsql-ports по дате отправления:

Предыдущее
От: Matt England
Дата:
Сообщение: Re: [Mingw-users] Re: How to build thread-safe postgresql 8.x
Следующее
От: "VOGLOZIN W. Amenel"
Дата:
Сообщение: 'Undefined reference' error message when linking an object file