Re: Is there a way to build PostgreSQL client libraries with MinGW

From: Xiaobo Gu <guxiaobo1982(at)gmail(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Is there a way to build PostgreSQL client libraries with MinGW
Date: 2011-01-27 12:31:38
Message-ID: AANLkTikOC-Sh1sW5shpCAgsQ=GUWyUwkewhDYG81tSqB@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs 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(at)dunslane(dot)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
>
>

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message lxzou 2011-01-27 13:18:08 BUG #5853: when the walsender cannot exit when reboot slave computer
Previous Message Jens Kapp 2011-01-27 11:14:47 Re: NO DATA error message in Frontend when querying large datasets

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2011-01-27 12:38:32 COPYRIGHT vs psql \copyright
Previous Message Robert Haas 2011-01-27 12:27:50 Re: [HACKERS] Seeking Mentors for Funded Reviewers