Re: Trying Compile libpq.dll with VC++ 9.0, but need help

From: Tony Caduto <tony_caduto(at)amsoftwaredesign(dot)com>
To: Dann Corbit <DCorbit(at)connx(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Trying Compile libpq.dll with VC++ 9.0, but need help
Date: 2008-11-17 21:22:07
Message-ID: 4921E07F.30200@amsoftwaredesign.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dann Corbit wrote:
> Change from /MD to /MT and it will not use the runtime DLL.
> Look under: Properties -> Configuration Properties -> C/C++ -> Code
> Generation -> Runtime Library
>
>
>

Hi Dann,

I changed that in the win32.mak file and now it gives this error:

link.exe @C:\DOCUME~1\20659\LOCALS~1\Temp\nmA6.tmp
Creating library .\Release\libpqdll.lib and object .\Release\libpqdll.exp
LIBCMT.lib(dosmap.obj) : error LNK2005: __dosmaperr already defined in
libpq.lib(win32error.obj)
.\Release\libpq.dll : fatal error LNK1169: one or more multiply defined
symbols found
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
Studio 9.0\VC\BIN\link.exe"' : return code '0x491'
Stop.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2008-11-17 21:31:53 Re: Fwd: Performance Tuning
Previous Message Tomas Lanczos 2008-11-17 20:56:51 Re: citing postgresql