Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WrlF1-0002ML-Lr for pgsql-odbc@arkaria.postgresql.org; Tue, 03 Jun 2014 09:42:47 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WrlF1-0001xE-4l for pgsql-odbc@arkaria.postgresql.org; Tue, 03 Jun 2014 09:42:47 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1WrlF0-0001x7-6U for pgsql-odbc@postgresql.org; Tue, 03 Jun 2014 09:42:46 +0000 Received: from smtp-outbound-1.vmware.com ([208.91.2.12]) by makus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1WrlEw-0006mp-R1 for pgsql-odbc@postgresql.org; Tue, 03 Jun 2014 09:42:44 +0000 Received: from sc9-mailhost3.vmware.com (sc9-mailhost3.vmware.com [10.113.161.73]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 9E54E286D8; Tue, 3 Jun 2014 02:42:40 -0700 (PDT) Received: from zcs-prod-ext-mta-1.vmware.com (zcs-prod-ext-mta-1.vmware.com [10.113.62.223]) by sc9-mailhost3.vmware.com (Postfix) with ESMTP id 9A3204034D; Tue, 3 Jun 2014 02:42:40 -0700 (PDT) Received: from zcs-prod-ext-mta-1.vmware.com (localhost.localdomain [127.0.0.1]) by zcs-prod-ext-mta-1.vmware.com (Postfix) with ESMTP id 18E48120030; Tue, 3 Jun 2014 02:42:51 -0700 (PDT) Received: from [192.168.1.44] (zimbra-prod-ext-proxy-vip.vmware.com [10.113.63.87]) by zcs-prod-ext-mta-1.vmware.com (Postfix) with ESMTPSA; Tue, 3 Jun 2014 02:42:49 -0700 (PDT) Message-ID: <538D988D.4030108@vmware.com> Date: Tue, 03 Jun 2014 12:42:37 +0300 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.5.0 MIME-Version: 1.0 To: Michael Paquier CC: Hiroshi Inoue , PostgreSQL mailing lists Subject: Re: Mentioning CPU for Windows build in docs References: <538C2719.1020405@vmware.com> <538C2A94.4090904@vmware.com> <538C5674.8020407@vmware.com> <538C619A.8000505@tpf.co.jp> <538C660F.50505@vmware.com> <538C9FB2.8050103@tpf.co.jp> <538CC1C6.9010007@vmware.com> <538CC457.7020703@vmware.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -7.6 (-------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org 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