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

Can not build libpq.dll with BCC

From: "CN" <cnliou9(at)fastmail(dot)fm>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Can not build libpq.dll with BCC
Date: 2005-09-27 07:35:14
Message-ID: 1127806514.15816.243828657@webmail.messagingengine.com (view raw or flat)
Thread:
Lists: 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

Next:From: Magnus HaganderDate: 2005-09-27 07:53:14
Subject: Re: Can not build libpq.dll with BCC
Previous:From: Alvaro HerreraDate: 2005-09-26 21:22:48
Subject: Re: BUG #1862: ECPG Connect, host variable trailing blanks

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