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

From: "Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>
To: "Tony Caduto" <tony_caduto(at)amsoftwaredesign(dot)com>, "Dann Corbit" <DCorbit(at)connx(dot)com>, "Dave Page" <dpage(at)pgadmin(dot)org>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Trying Compile libpq.dll with VC++ 9.0, but need help
Date: 2008-11-18 00:50:04
Message-ID: 39E6FC4547C24F9884435E23698B11DC@HIRO57887DE653
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi.

It is very strange....

I checked that it was ready in VC9 again.
http://winpg.jp/~saito/pg_work/WIN32_BUILD_INF/LOG_LIBPQ_WIN32MAK.txt
Furthermore, even psql was checked.
http://winpg.jp/~saito/pg_work/WIN32_BUILD_INF/psql_win32_pg83.mak
Please move psql_win32_pg83 win32.mak on src\bin\psql.
http://winpg.jp/~saito/pg_work/WIN32_BUILD_INF/LOG_PSQL_WIN32MAK.txt

However, It will be necessary what is bad and to investigate in your environment.

I think....

1. One proposal
nmake -f win32.mak clean

Regards,
Hiroshi Saito

----- Original Message -----
From: "Tony Caduto" <tony_caduto(at)amsoftwaredesign(dot)com>

> 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.
>
>
>
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Darren Govoni 2008-11-18 01:26:29 Re: row locking question
Previous Message Tom Lane 2008-11-18 00:37:24 Re: row locking question