Compiling libpgtcl.dll

From: Fernando Schapachnik <fschapachnik(at)vianetworks(dot)com(dot)ar>
To: pgsql-general(at)postgresql(dot)org
Subject: Compiling libpgtcl.dll
Date: 2002-04-16 13:37:15
Message-ID: 20020416103715.E65620@ns1.via-net-works.net.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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(at)4
libpq.lib(fe-misc.obj) : error LNK2001: unresolved external symbol
_closesocket(at)4
libpq.lib(fe-connect.obj) : error LNK2001: unresolved external symbol
_connect(at)12
[...]
.\Release\libpgtcl.dll : fatal error LNK1120: 19 unresolved externals

Any ideas?

Thanks in advance.

Fernando P. Schapachnik
fschapachnik(at)vianetworks(dot)com(dot)ar

PS: Sorry for the crosspost, didn't get answers in -interfaces.

Browse pgsql-general by date

  From Date Subject
Next Message tom dyson 2002-04-16 13:51:45 Java as PG Procedural Language
Previous Message Tino Wildenhain 2002-04-16 13:30:39 Re: Insert Unicode