pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: Hiroshi Inoue <inoue@tpf.co.jp>
Cc: PostgreSQL mailing lists <pgsql-odbc@postgresql.org>
Subject: Re: Mentioning CPU for Windows build in docs
Date: Tue, 03 Jun 2014 12:42:37 +0300
Message-ID: <538D988D.4030108@vmware.com> (raw)
In-Reply-To: <CAB7nPqRzRaUtY5peiS4mSuhK_Wu6=BJP83AJ1jwa-JaK8WP2Uw@mail.gmail.com>
References: <CAB7nPqTTMCxqSrkXtOEZJfs=v4bxFvtqZFZwTT+n19xoG0oqNg@mail.gmail.com>
	<538C2719.1020405@vmware.com>
	<CAB7nPqRtwVV0YP9JtxjzFs5oNxeeiO+YBNwXfpasQr31kG4JHQ@mail.gmail.com>
	<538C2A94.4090904@vmware.com>
	<538C5674.8020407@vmware.com>
	<CAB7nPqS_-=oijw5_2c9f37pqnapu9DBkqBdeo05BHwcXuOqZqw@mail.gmail.com>
	<538C619A.8000505@tpf.co.jp>
	<538C660F.50505@vmware.com>
	<538C9FB2.8050103@tpf.co.jp>
	<538CC1C6.9010007@vmware.com>
	<538CC457.7020703@vmware.com>
	<CAB7nPqRzRaUtY5peiS4mSuhK_Wu6=BJP83AJ1jwa-JaK8WP2Uw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

On 06/03/2014 11:04 AM, Michael Paquier wrote:
> When building with this new infrastructure, I am seeing a couple of
> failures with MSDTC:

By new infrastructure, I assume you mean "nmake /f win64.mak" and not 
the MSBuild stuff?

> 1) If nmake is 6.0 (?), MSDTC=yes build does not work:
> pgenlist.def : error LNK2001: unresolved external symbol DtcOnDisconnect
> pgenlist.def : error LNK2001: unresolved external symbol EnlistInDtc
> pgenlist.def : error LNK2001: unresolved external symbol IsolateDtcConn

Hmm. There was a check in win64.mak for nmake version "6.00.9782.0", 
which I removed in commit f6ea5c07d. I didn't think anyone would care 
about such an old version. How old is that nmake version? Do we care 
about supporting it?

Even if we still care about that version, checking for that exact minor 
version seemed wrong. And the check actually just forcibly set MSDTC=no 
when building with that version, which also seemed wrong; I would expect 
to get an error if you try to build a configuration that cannot be 
supported, to alert the user that he's not getting what he wanted.

> 2) When specifying MSDTC=no with Visual 10 there are similar errors:
>          link.exe @C:\Users\mpaquier\AppData\Local\Temp\nm27A2.tmp
> LINK : fatal error LNK1181: cannot open input file '.\x64\pgenlist.lib'
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0
> \VC\Bin\amd64\link.exe"' : return code '0x49d'
>
> I saw it working in case 2) with MSDTC=yes though.

Fixed, I think. AFAICS that library was always passed to the linker 
command line regardless of MSDTC setting, even before my changes, which 
is wrong. I changed it so that it's only passed to the linker when 
MSDTC=yes. I wonder why it didn't fail before, but should be fixed now 
anyway.

- Heikki


-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



view thread (23+ messages)  latest in thread

Message-ID: <538D988D.4030108@vmware.com>
Permalink:  ../538D988D.4030108@vmware.com/
Also on:    postgresql.org/message-id/538D988D.4030108@vmware.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: hlinnakangas@vmware.com, michael.paquier@gmail.com, inoue@tpf.co.jp
  Subject: Re: Mentioning CPU for Windows build in docs
  In-Reply-To: <538D988D.4030108@vmware.com>
  References: <CAB7nPqTTMCxqSrkXtOEZJfs=v4bxFvtqZFZwTT+n19xoG0oqNg@mail.gmail.com> <538C2719.1020405@vmware.com> <CAB7nPqRtwVV0YP9JtxjzFs5oNxeeiO+YBNwXfpasQr31kG4JHQ@mail.gmail.com> <538C2A94.4090904@vmware.com> <538C5674.8020407@vmware.com> <CAB7nPqS_-=oijw5_2c9f37pqnapu9DBkqBdeo05BHwcXuOqZqw@mail.gmail.com> <538C619A.8000505@tpf.co.jp> <538C660F.50505@vmware.com> <538C9FB2.8050103@tpf.co.jp> <538CC1C6.9010007@vmware.com> <538CC457.7020703@vmware.com> <CAB7nPqRzRaUtY5peiS4mSuhK_Wu6=BJP83AJ1jwa-JaK8WP2Uw@mail.gmail.com> <538D988D.4030108@vmware.com>

* 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