Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 2FA7B9FA3AD for ; Fri, 15 Dec 2006 10:08:21 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 48745-05 for ; Fri, 15 Dec 2006 10:08:10 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from smtp3.libero.it (smtp3.libero.it [193.70.192.127]) by postgresql.org (Postfix) with ESMTP id C532E9F9B05 for ; Fri, 15 Dec 2006 10:08:15 -0400 (AST) Received: from localhost (172.16.1.246) by smtp3.libero.it (7.0.027-DD01) id 451C4E6605B475F0 for pgsql-interfaces@postgresql.org; Fri, 15 Dec 2006 15:08:12 +0100 Received: from smtp3.libero.it ([172.16.1.53]) by localhost (asav14.libero.it [193.70.193.42]) (amavisd-new, port 10024) with ESMTP id 10618-02-2 for ; Fri, 15 Dec 2006 15:08:12 +0100 (CET) Received: from libero.it (192.168.17.13) by smtp3.libero.it (7.0.027-DD01) id 44755DBA03578C9D for pgsql-interfaces@postgresql.org; Fri, 15 Dec 2006 15:08:12 +0100 Date: Fri, 15 Dec 2006 15:08:12 +0100 Message-Id: Subject: Problem building libpq BCC 5.5 MIME-Version: 1.0 X-Sensitivity: 3 X-Priority: 1 (Highest) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable From: "f\.guidi\@libero\.it" To: "pgsql-interfaces" X-XaM3-API-Version: 4.3 (R1) (B3pl17) X-notifreq: 123 X-SenderIP: 194.243.137.76 X-Scanned: with antispam and antivirus automated system at libero.it X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.434 tagged_above=0 required=5 tests=BAYES_50, X_PRIORITY_HIGH X-Spam-Level: X-Archive-Number: 200612/9 X-Sequence-Number: 6343 Hello to all, i'm trying to build libpq for postgresql 8.2 with borland b= cc5.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\win= 32;..\..\include\port\win32_msvc;..\..\port -n".\Release" -WD -c -DFRONTE= ND;NDE BUG;WIN32;_WINDOWS -tWM -a8 -X -w-use -w-par -w-pia -w-csu -w-aus -w-cc= c -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 'm= ode_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-cc= c -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\libp= q.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 =0A