BCC32.mak will not complile

From: bknight(at)softhome(dot)net
To: pgsql-ports(at)postgresql(dot)org
Subject: BCC32.mak will not complile
Date: 2004-02-16 00:28:59
Message-ID: courier.40300ECB.00006DBB@softhome.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

I am trying to compile 7.4.1 with Borland 5.5 using that make file that is
suppiled with PostgreSQL and i can not get it to compile.

Here is the output from Borland 5.5 Compliler

MAKE Version 5.2 Copyright (c) 1987, 2000 Borland

cd include

if not exist pg_config.h copy pg_config.h.win32 pg_config.h

cd ..

cd interfaces\libpq

make -DCFG=Release /f bcc32.mak

MAKE Version 5.2 Copyright (c) 1987, 2000 Borland

Building the Win32 DLL and Static Library...

Configuration "Release"

bcc32.exe -o".\Release\win32" -I\include;..\..\include -WD -c
-DFRONTEND;NDEBUG;WIN32;_WINDOWS;HAVE_VSNPRINTF;HAVE_STRDUP; -tWM -a8 -X
-w-use -w-par -w-pia -w-csu -w-aus -w-ccc -O -Oi -OS -DNDEBUG .\win32.c

Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland

.\win32.c:

Error E2209 .\win32.c 28: Unable to open include file 'windows.h'

Error E2209 .\win32.c 29: Unable to open include file 'winsock.h'

Error E2209 .\win32.c 30: Unable to open include file 'stdio.h'

Error E2303 .\win32.h 40: Type name expected

Error E2139 .\win32.c 35: Declaration missing ;

Error E2451 .\win32.c 44: Undefined symbol 'WSAEINTR'

Error E2040 .\win32.c 44: Declaration terminated incorrectly

Error E2190 .\win32.c 45: Unexpected }

Error E2190 .\win32.c 45: Unexpected }

Error E2040 .\win32.c 45: Declaration terminated incorrectly

Error E2190 .\win32.c 199: Unexpected }

Error E2190 .\win32.c 199: Unexpected }

Error E2147 .\win32.c 208: 'DWORD' cannot start a parameter declaration

Error E2451 .\win32.c 214: Undefined symbol 'error' in function
LookupWSErrorMessage

Warning W8065 .\win32.c 216: Call to function 'strcpy' with no prototype in
function LookupWSErrorMessage

Error E2303 .\win32.c 274: Type name expected

*** 15 errors in Compile ***

** error 1 ** deleting ".\Release\win32.obj"

** error 1 ** deleting ALL

Browse pgsql-ports by date

  From Date Subject
Next Message John Griffiths 2004-02-17 00:58:24 RPM build on SuSE 9.0 Professional
Previous Message Chris Langlois 2004-02-11 18:03:19 Re: pgsql-7.4.1 build on darwin-x86