Re: compilig libpq with borland 5.5

From: "claudio lezcano" <claudiogmi(at)gmail(dot)com>
To: "Bruce Momjian" <bruce(at)momjian(dot)us>
Cc: "Merlin Moncure" <mmoncure(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: compilig libpq with borland 5.5
Date: 2008-08-19 18:53:31
Message-ID: 9fe2fa870808191153q2c608da7r3421de741208224f@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I made tests compiling both sources (from CVS repository and from HTTP), and
i got the next results:

1-) MSVS 2005
*Source from CVS repository: *fatal error U1073: "Don't know how to make
'libpq-dist.rc'"
*Source from http (ver. 8.3.3): **Successfully generated*

2.) Borland 5.5.1
* Source from CVS repository:*
Error E2451 ..\..\port\dirent.c 35: Undefined symbol
'INVALID_FILE_ATTRIBUTES' in function opendir
Error E2451 ..\..\port\dirent.c 52: Undefined symbol 'dirname' in function
opendir
Error E2451 ..\..\port\dirent.c 53: Undefined symbol 'dirname' in function
opendir
Error E2451 ..\..\port\dirent.c 59: Undefined symbol 'dirname' in function
opendir
Error E2451 ..\..\port\dirent.c 60: Undefined symbol 'dirname' in function
opendir
Error E2451 ..\..\port\dirent.c 60: Undefined symbol 'dirname' in function
opendir
Error E2451 ..\..\port\dirent.c 61: Undefined symbol 'dirname' in function
opendir
Error E2451 ..\..\port\dirent.c 61: Undefined symbol 'dirname' in function
opendir
Error E2451 ..\..\port\dirent.c 62: Undefined symbol 'dirname' in function
opendir
Error E2451 ..\..\port\dirent.c 64: Undefined symbol 'dirname' in function
opendir
Error E2451 ..\..\port\dirent.c 65: Undefined symbol 'handle' in function
opendir
Error E2451 ..\..\port\dirent.c 66: Undefined symbol 'ret' in function
opendir
Error E2451 ..\..\port\dirent.c 67: Undefined symbol 'ret' in function
opendir
Error E2451 ..\..\port\dirent.c 77: Undefined symbol 'handle' in function
readdir
Error E2451 ..\..\port\dirent.c 79: Undefined symbol 'handle' in function
readdir
Error E2451 ..\..\port\dirent.c 79: Undefined symbol 'dirname' in function
readdir
Error E2451 ..\..\port\dirent.c 80: Undefined symbol 'handle' in function
readdir
Error E2451 ..\..\port\dirent.c 88: Undefined symbol 'handle' in function
readdir
Error E2451 ..\..\port\dirent.c 100: Undefined symbol 'ret' in function
readdir
Error E2451 ..\..\port\dirent.c 102: Undefined symbol 'ret' in function
readdir
Error E2451 ..\..\port\dirent.c 102: Undefined symbol 'ret' in function
readdir
Error E2451 ..\..\port\dirent.c 103: Undefined symbol 'ret' in function
readdir
Error E2451 ..\..\port\dirent.c 109: Undefined symbol 'handle' in function
closedir
Error E2451 ..\..\port\dirent.c 110: Undefined symbol 'handle' in function
closedir
Error E2451 ..\..\port\dirent.c 111: Undefined symbol 'dirname' in function
closedir
Error E2228 ..\..\port\dirent.c 111: Too many error or warning messages in
function closedir
*** 26 errors in Compile ***
** error 1 ** deleting ".\Release\dirent.obj"

*Source from http (ver. 8.3.3):*
Warning: 'win32' not found in library
Warning: 'getaddrinfo' not found in library
Warning: 'pgstrcasecmp' 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: 'snprintf' not found in library
Warning: 'strlcpy' not found in library
Warning: 'pthread-win32' not found in library
Warning: '' not found in library
Warning: '.OBJ' file not found
brcc32.exe -l 0x409 -iC:\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 '_pgwin32_safestat' referenced from C:\SOURCE
POSTGRES 8.3\SRC\INTERFACES\LIBPQ\REL
EASE\BLIBPQ.LIB|fe-connect

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

He would welcome any suggestions or help

Claudio Lezcano

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2008-08-19 18:58:05 Re: Patch: plan invalidation vs stored procedures
Previous Message Tom Lane 2008-08-19 18:47:13 Re: Patch: plan invalidation vs stored procedures