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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Problem building libpq BCC 5.5



Hello to all, i'm trying to build libpq for postgresql 8.2 with borland bcc5.5

After change the bcc32.mak path i try to execute
make -f bcc32.mak from postgresql_src/src
and i obtain this ...

bcc32.exe -ID:\Borland\BCC55\include;..\..\include;..\..\include\port\win32;..\..\include\port\win32_msvc;..\..\port -n".\Release" -WD -c -DFRONTEND;NDE
BUG;WIN32;_WINDOWS -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 ..\..\include\c.h 64: Unable to open include file 'crtdefs.h'
Error E2209 ..\..\include\pg_config_os.h 20: Unable to open include file 'sys/utime.h'
Warning W8017 ..\..\include\pg_config_os.h 152: Redefinition of 'SIGUSR1' is not identical
Warning W8017 ..\..\include\pg_config_os.h 153: Redefinition of 'SIGUSR2' is not identical
Error E2238 ..\..\include\pg_config_os.h 264: Multiple declaration for 'mode_t'
Error E2344 D:\Borland\BCC55\include\sys/types.h 35: Earlier declaration of 'mode_t'
*** 4 errors in Compile ***

I don't find this file crtdefs.h i drop it
sys/utime wrong directory i correct
multiple declaration for mode_t i comment it

after i try to rebuild all and now i obtain these errors:

Warning: 'win32' not found in library
Warning: 'getaddrinfo' not found in library
Warning: 'pgstrcasecmp' not found in library
Warning: 'strlcpy' not found in library
Warning: 'thread' not found in library
Warning: 'inet_aton' not found in library
Warning: 'crypt' not found in library
Warning: 'noblock' not found in library
Warning: 'md5' not found in library
Warning: 'ip' not found in library
Warning: 'fe-auth' not found in library
Warning: 'fe-protocol2' not found in library
Warning: 'fe-protocol3' not found in library
Warning: 'fe-connect' not found in library
Warning: 'fe-exec' not found in library
Warning: 'fe-lobj' not found in library
Warning: 'fe-misc' not found in library
Warning: public '_pqFlush' in module 'fe-misc' clashes with prior module 'fe-exec'
Warning: 'fe-print' not found in library
Warning: 'fe-secure' not found in library
Warning: 'pqexpbuffer' not found in library
Warning: 'pqsignal' not found in library
Warning: 'wchar' not found in library
Warning: 'encnames' not found in library
Warning: 'pthread-win32' not found in library
Warning: '' not found in library
Warning: '.OBJ' file not found
        bcc32.exe -ID:\Borland\BCC55\include;..\..\include;..\..\include\port\win32;..\..\include\port\win32_msvc;..\..\port -n".\Release" -WD -c -DFRONTEND;NDE
BUG;WIN32;_WINDOWS -tWM   -a8 -X -w-use -w-par -w-pia -w-csu -w-aus -w-ccc -O -Oi -OS -DNDEBUG libpqdll.c
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
libpqdll.c:
        brcc32.exe -l 0x409 -iD:\Borland\BCC55\include -fo".\Release\libpq.res"
libpq.rc
Borland Resource Compiler  Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation.  All rights reserved.
        ilink32.exe @MAKE0000.@@@
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_pg_snprintf' referenced from D:\POSTGRESQL-8.2.0\SRC\INTERFACES\LIBPQ\RELEASE\BLIBPQ.LIB|getaddrinfo
Error: Unresolved external '_pg_vsnprintf' referenced from D:\POSTGRESQL-8.2.0\SRC\INTERFACES\LIBPQ\RELEASE\BLIBPQ.LIB|pqexpbuffer
Error: Unresolved external '_pg_fprintf' referenced from D:\POSTGRESQL-8.2.0\SRC\INTERFACES\LIBPQ\RELEASE\BLIBPQ.LIB|fe-exec
Error: Unresolved external '_pg_sprintf' referenced from D:\POSTGRESQL-8.2.0\SRC\INTERFACES\LIBPQ\RELEASE\BLIBPQ.LIB|fe-protocol2

** error 2 ** deleting ".\Release\blibpq.dll"

** error 1 ** deleting ALL


what can i do now ?

Fabio






Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group