pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
AGAIN - problem with BCC55 and libpq 8.2
3+ messages / 3 participants
[nested] [flat]

* AGAIN - problem with BCC55 and libpq 8.2
@ 2006-12-20 18:51 fabio guidi <f.guidi@libero.it>
  2006-12-21 09:47 ` Re: AGAIN - problem with BCC55 and libpq 8.2 Mark Morgan Lloyd <markMLl.pgsql-interfaces@telemetry.co.uk>
  0 siblings, 1 reply; 3+ messages in thread

From: fabio guidi @ 2006-12-20 18:51 UTC (permalink / raw)
  To: pgsql-interfaces

I trying to repost my problem ...

thanks in advance

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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: AGAIN - problem with BCC55 and libpq 8.2
  2006-12-20 18:51 AGAIN - problem with BCC55 and libpq 8.2 fabio guidi <f.guidi@libero.it>
@ 2006-12-21 09:47 ` Mark Morgan Lloyd <markMLl.pgsql-interfaces@telemetry.co.uk>
  0 siblings, 0 replies; 3+ messages in thread

From: Mark Morgan Lloyd @ 2006-12-21 09:47 UTC (permalink / raw)
  To: pgsql-interfaces

fabio guidi wrote:
> 
> I trying to repost my problem ...
> 
> thanks in advance
> 
> Hello to all, i'm trying to build libpq for postgresql 8.2 with borland
> bcc5.5

I'm hoping to look at this at some point but it is most unlikely to be this
year. Are you building from a set of freshly-unpacked sources or have they been
configured on say a Linux system? What I did with v8.1 was take the 8.1.3 source
tree after I'd built the server and work from that.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: AGAIN - problem with BCC55 and libpq 8.2
@ 2006-12-21 12:20 f.guidi@libero.it <f.guidi@libero.it>
  0 siblings, 0 replies; 3+ messages in thread

From: f\.guidi\@libero\.it @ 2006-12-21 12:20 UTC (permalink / raw)
  To: pgsql-interfaces

... i hope that this problem will resolve first than 8.2.3 ... i need only to build a correct library for borland not the entire engine ...

merry christmas to all

> fabio guidi wrote:
> > 
> > I trying to repost my problem ...
> > 
> > thanks in advance
> > 
> > Hello to all, i'm trying to build libpq for postgresql 8.2 with borland
> > bcc5.5
> 
> I'm hoping to look at this at some point but it is most unlikely to be this
> year. Are you building from a set of freshly-unpacked sources or have they been
> configured on say a Linux system? What I did with v8.1 was take the 8.1.3 source
> tree after I'd built the server and work from that.
> 
> -- 
> Mark Morgan Lloyd
> markMLl .AT. telemetry.co .DOT. uk
> 
> [Opinions above are the author's, not those of his employers or colleagues]
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend
> 


------------------------------------------------------
Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom
http://click.libero.it/infostrada21dic06





^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2006-12-21 12:20 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-12-20 18:51 AGAIN - problem with BCC55 and libpq 8.2 fabio guidi <f.guidi@libero.it>
2006-12-21 09:47 ` Mark Morgan Lloyd <markMLl.pgsql-interfaces@telemetry.co.uk>
2006-12-21 12:20 Re: AGAIN - problem with BCC55 and libpq 8.2 f.guidi@libero.it <f.guidi@libero.it>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox