pg.ddx.io pgsql-interfaces@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Fernando Schapachnik <fschapachnik@vianetworks.com.ar>
To: pgsql-interfaces@postgresql.org
Subject: Compiling libpgtcl.dll
Date: Mon, 15 Apr 2002 15:29:09 -0300
Message-ID: <20020415152909.D45726@ns1.via-net-works.net.ar> (raw)
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
Message-ID: <20020415152909.D45726@ns1.via-net-works.net.ar> Permalink: ../20020415152909.D45726@ns1.via-net-works.net.ar/ Also on: postgresql.org/message-id/20020415152909.D45726@ns1.via-net-works.net.ar ·
reply
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Reply to all the recipients using the --to and --cc options: reply via email To: pgsql-interfaces@postgresql.org Cc: fschapachnik@vianetworks.com.ar Subject: Re: Compiling libpgtcl.dll In-Reply-To: <20020415152909.D45726@ns1.via-net-works.net.ar> * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox
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