Re: Can not build libpq.dll with BCC - Mailing list pgsql-bugs

From Magnus Hagander
Subject Re: Can not build libpq.dll with BCC
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE6C79F7@algol.sollentuna.se
Whole thread Raw
In response to Can not build libpq.dll with BCC  ("CN" <cnliou9@fastmail.fm>)
Responses Re: Can not build libpq.dll with BCC
List pgsql-bugs
> Error E2451 ..\..\port\getaddrinfo.c 245: Undefined symbol=20
> 'WSA_NOT_ENOUGH_MEMORY' in function pg_getaddrinfo Error=20
> E2451 ..\..\port\getaddrinfo.c 335: Undefined symbol=20
> 'WSA_NOT_ENOUGH_MEMORY' in function pg_gai_strerror Error=20
> E2451 ..\..\port\getaddrinfo.c 404: Undefined symbol=20
> 'WSA_NOT_ENOUGH_MEMORY' in function pg_getnameinfo Error=20
> E2451 ..\..\port\getaddrinfo.c 417: Undefined symbol=20
> 'WSA_NOT_ENOUGH_MEMORY' in function pg_getnameinfo
> *** 4 errors in Compile ***
>=20
> ** error 1 ** deleting ".\Release\getaddrinfo.obj"

This sounds like you need a newer Platform SDK. This define should be in
winsock2.h, per
http://msdn.microsoft.com/library/default.asp?url=3D/library/en-us/winsock
/winsock/windows_sockets_error_codes_2.asp. Probably your includes from
BCC are too old and needs updating.

//Magnus

pgsql-bugs by date:

Previous
From: "CN"
Date:
Subject: Can not build libpq.dll with BCC
Next
From: "Keith Randall"
Date:
Subject: BUG #1913: select into a table missing a row part 2