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

From CN
Subject Can not build libpq.dll with BCC
Date
Msg-id 1127806514.15816.243828657@webmail.messagingengine.com
Whole thread Raw
List pgsql-bugs
Hi!

I filled out the bug form but I don't see my report appear in bug
archive. Hence I am resorting to pgsql-bug list.

Regards,

CN
============
OS: Win98 on top of win4lin on top of Linux
Compiler BC++ 5.6.4

Possible bug 1: Unless lines 142 and 143 in ~/interfaces/libpq/bcc32.mak
are changed to as the following, make aborts when copying:

pthread.h: pthread-win32.h
    copy pthread-win32.h pthread.h

Possible bug 2: With lines 142 and 143 in bcc32.mak changed to the above
lines, make still fails with the messages:

MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
Building the Win32 DLL and Static Library...

No configuration specified. Defaulting to Release.

    echo #define SYSCONFDIR pg_config_paths.h
#define SYSCONFDIR pg_config_paths.h
    bcc32.exe @MAKE0002.@@@
Borland C++ 5.6.4 for Win32 Copyright (c) 1993, 2002 Borland
..\..\port\getaddrinfo.c:
Warning W8017 ..\..\include\port/win32.h 46: Redefinition of 'DLLIMPORT'
is not identical
Warning W8017 ..\..\include\port/win32.h 149: Redefinition of 'SIGUSR1'
is not identical
Warning W8017 ..\..\include\port/win32.h 150: Redefinition of 'SIGUSR2'
is not identical
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"

--
http://www.fastmail.fm - The way an email service should be

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: BUG #1862: ECPG Connect, host variable trailing blanks
Next
From: "Magnus Hagander"
Date:
Subject: Re: Can not build libpq.dll with BCC