Received: from ns1.via-net-works.net.ar (ns1.via-net-works.net.ar [200.10.100.10]) by postgresql.org (Postfix) with ESMTP id 58A3D478D62 for ; Mon, 15 Apr 2002 14:29:08 -0400 (EDT) Received: (from fpscha@localhost) by ns1.via-net-works.net.ar (8.11.6/8.11.6) id g3FIT9v86239 for pgsql-interfaces@postgresql.org; Mon, 15 Apr 2002 15:29:09 -0300 (ART) (envelope-from fschapachnik@vianetworks.com.ar) X-Authentication-Warning: ns1.via-net-works.net.ar: fpscha set sender to fschapachnik@vianetworks.com.ar using -f Date: Mon, 15 Apr 2002 15:29:09 -0300 From: Fernando Schapachnik To: pgsql-interfaces@postgresql.org Subject: Compiling libpgtcl.dll Message-ID: <20020415152909.D45726@ns1.via-net-works.net.ar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Archive-Number: 200204/29 X-Sequence-Number: 2571 Hello: Is there some document describing how to compile libpgtcl.dll? I've tried nmake /f win32.mak (w2k, MSVC++ 6.0) and fails misserably: No configuration specified. Defaulting to libpgtcl - Win32 Release. link.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nma01160. MSVCRT.lib(MSVCRT.dll) : error LNK2005: _free already defined in LIBCMT.lib(free.obj) MSVCRT.lib(MSVCRT.dll) : error LNK2005: _getenv already defined in LIBCMT.lib(getenv.obj) MSVCRT.lib(MSVCRT.dll) : error LNK2005: _atoi already defined in LIBCMT.lib(atox.obj) MSVCRT.lib(MSVCRT.dll) : error LNK2005: _memmove already defined in LIBCMT.lib(memmove.obj) MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strncpy already defined in LIBCMT.lib(strncpy.obj) MSVCRT.lib(MSVCRT.dll) : error LNK2005: _sprintf already defined in LIBCMT.lib(sprintf.obj) [...] Creating library .\Release\libpgtcl.lib and object .\Release\libpgtcl.exp LINK : warning LNK4098: defaultlib "MSVCRT" conflicts with use of other libs; use /NODEFAULTLIB:library libpq.lib(fe-connect.obj) : error LNK2001: unresolved external symbol _closesocket@4 libpq.lib(fe-misc.obj) : error LNK2001: unresolved external symbol _closesocket@4 libpq.lib(fe-connect.obj) : error LNK2001: unresolved external symbol _connect@12 [...] .\Release\libpgtcl.dll : fatal error LNK1120: 19 unresolved externals Any ideas? Thanks in advance. Fernando P. Schapachnik fschapachnik@vianetworks.com.ar