BCC32.mak will not complile

Поиск
Список
Период
Сортировка
От bknight@softhome.net
Тема BCC32.mak will not complile
Дата
Msg-id courier.40300ECB.00006DBB@softhome.net
обсуждение исходный текст
Список 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


В списке pgsql-ports по дате отправления:

Предыдущее
От: raymond.siebert@mobilcom.de
Дата:
Сообщение: building 64bit V7.4.1 on Solaris 9 64bit
Следующее
От: John Griffiths
Дата:
Сообщение: RPM build on SuSE 9.0 Professional