Re: Is there a way to build PostgreSQL client libraries with MinGW - Mailing list pgsql-hackers

From Xiaobo Gu
Subject Re: Is there a way to build PostgreSQL client libraries with MinGW
Date
Msg-id AANLkTikOC-Sh1sW5shpCAgsQ=GUWyUwkewhDYG81tSqB@mail.gmail.com
Whole thread Raw
In response to Re: Is there a way to build PostgreSQL client libraries with MinGW  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: Is there a way to build PostgreSQL client libraries with MinGW  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Hi,I have a talk with MinGW developer, because I am not so familiar with
the UNIX configure and build system, can you help to resolve the
problem please.



<jon_y>: XiaoboGu: try actually reading config.log
20:18 <jon_y>: look for winsock2.h in it
20:18 <jon_y>: you should find it, along with the error nearby
20:19 <tjtag>: thats fixed it, will do that also ktietz
20:20 <XiaoboGu>:
d:/amber/devtool/mingw64-1.0-20100913/lib/gcc/../../x86_64-w64-mingw32/include/winsock2.h:1035:37:
note: previous declaration of 'accept' was here
20:21 <jon_y>: like I said, the accept() probe doesn't work due to
difference in expectation
20:23 <tjtag>: brb
20:23 <XiaoboGu>: the path is OK
20:24 <XiaoboGu>: I really can't understand this
20:24 <jon_y>: its probing accept() for known implementations
20:24 <XiaoboGu>: do you mean the configure script has a problem
20:25 <jon_y>: none of them match the one in winsock2.h
20:25 <jon_y>: I don't know, it could be mingw-w64's fault too
20:25 <jon_y>: please contact psql and ask for a list of accept()
implementations checked


On Tue, Jan 25, 2011 at 10:54 PM, Andrew Dunstan <andrew@dunslane.net> wrote:
>
>
> On 01/25/2011 09:15 AM, Xiaobo Gu wrote:
>>
>> Hi Andrew,
>> The config.log is as following
>
>
> So what is the declaration of accept at
>
> d:/amber/devtool/rtools/mingw64/lib/gcc/../../x86_64-w64-mingw32/include/winsock2.h:1035:37:
>
> ?
>
> cheers
>
> andrew
>
>


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [RRR] Seeking Mentors for Funded Reviewers
Next
From: Heikki Linnakangas
Date:
Subject: COPYRIGHT vs psql \copyright