Skip site navigation (1) Skip section navigation (2)

Re: Can not build libpq.dll with BCC

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "CN" <cnliou9(at)fastmail(dot)fm>, <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Can not build libpq.dll with BCC
Date: 2005-09-27 07:53:14
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE6C79F7@algol.sollentuna.se (view raw or flat)
Thread:
Lists: pgsql-bugs
> Error E2451 ..\..\port\getaddrinfo.c 245: Undefined symbol 
> 'WSA_NOT_ENOUGH_MEMORY' in function pg_getaddrinfo Error 
> E2451 ..\..\port\getaddrinfo.c 335: Undefined symbol 
> 'WSA_NOT_ENOUGH_MEMORY' in function pg_gai_strerror Error 
> E2451 ..\..\port\getaddrinfo.c 404: Undefined symbol 
> 'WSA_NOT_ENOUGH_MEMORY' in function pg_getnameinfo Error 
> E2451 ..\..\port\getaddrinfo.c 417: Undefined symbol 
> 'WSA_NOT_ENOUGH_MEMORY' in function pg_getnameinfo
> *** 4 errors in Compile ***
> 
> ** 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=/library/en-us/winsock
/winsock/windows_sockets_error_codes_2.asp. Probably your includes from
BCC are too old and needs updating.

//Magnus

Responses

pgsql-bugs by date

Next:From: Keith RandallDate: 2005-09-27 08:13:37
Subject: BUG #1912: select into a table missing a row
Previous:From: CNDate: 2005-09-27 07:35:14
Subject: Can not build libpq.dll with BCC

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group