Re: Mentioning CPU for Windows build in docs

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
Cc: Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp>, PostgreSQL mailing lists <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Mentioning CPU for Windows build in docs
Date: 2014-06-03 11:28:59
Message-ID: CAB7nPqR077MivJ9YSdPK-yCy6as2N7jAi6dna5wt7ug4Vt=Bjg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

On Tue, Jun 3, 2014 at 2:42 AM, Heikki Linnakangas
<hlinnakangas(at)vmware(dot)com> wrote:
> 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.
Now the case MSTDC=no works fine, but not the opposite :)

More details here:
cl.exe @C:\Users\ioltas\AppData\Local\Temp\nmB924.tmp
msdtc_enlist.cpp
cl.exe @C:\Users\ioltas\AppData\Local\Temp\nmBB87.tmp
xalibname.c
lib.exe @C:\Users\ioltas\AppData\Local\Temp\nmBBF5.tmp
Creating library .\x64_Unicode_Release\pgenlist.lib and object .\x64_Unicode_
Release\pgenlist.exp
link.exe @C:\Users\ioltas\AppData\Local\Temp\nmBC54.tmp
Creating library .\x64_Unicode_Release\psqlodbc35w.lib and object .\x64_Unico
de_Release\psqlodbc35w.exp
LINK : warning LNK4199: /DELAYLOAD:pgenlist.dll ignored; no imports found from p
genlist.dll
cl.exe @C:\Users\ioltas\AppData\Local\Temp\nmBCA3.tmp
pgxalib.cpp
link.exe @C:\Users\ioltas\AppData\Local\Temp\nmC01F.tmp
Creating library .\x64_Unicode_Release\pgxalib.lib and object .\x64_Unicode_R
elease\pgxalib.exp
link.exe @C:\Users\ioltas\AppData\Local\Temp\nmC03F.tmp
msdtc_enlist.obj : error LNK2019: unresolved external symbol __imp_PgDtc_free_co
nnect referenced in function "private: __cdecl IAsyncPG::~IAsyncPG(void)" (??1IA
syncPG@@AEAA(at)XZ)
msdtc_enlist.obj : error LNK2019: unresolved external symbol __imp_PgDtc_set_asy
nc referenced in function "private: __cdecl IAsyncPG::~IAsyncPG(void)" (??1IAsyn
cPG@@AEAA(at)XZ)
msdtc_enlist.obj : error LNK2019: unresolved external symbol __imp_PgDtc_isolate
referenced in function "private: void * __cdecl IAsyncPG::generateXAConn(bool)"
(?generateXAConn(at)IAsyncPG@@AEAAPEAX_N(at)Z)
msdtc_enlist.obj : error LNK2019: unresolved external symbol __imp_PgDtc_connect
referenced in function "private: void * __cdecl IAsyncPG::isolateXAConn(bool,bo
ol)" (?isolateXAConn(at)IAsyncPG@@AEAAPEAX_N0(at)Z)
msdtc_enlist.obj : error LNK2019: unresolved external symbol __imp_PgDtc_lock_cn
trl referenced in function "private: void * __cdecl IAsyncPG::getLockedXAConn(vo
id)" (?getLockedXAConn(at)IAsyncPG@@AEAAPEAXXZ)
msdtc_enlist.obj : error LNK2019: unresolved external symbol __imp_PgDtc_get_pro
perty referenced in function "private: void * __cdecl IAsyncPG::getLockedXAConn(
void)" (?getLockedXAConn(at)IAsyncPG@@AEAAPEAXXZ)
msdtc_enlist.obj : error LNK2019: unresolved external symbol __imp_PgDtc_get_asy
nc referenced in function IsolateDtcConn
msdtc_enlist.obj : error LNK2019: unresolved external symbol __imp_PgDtc_one_pha
se_operation referenced in function "public: long __cdecl IAsyncPG::RequestExec(
unsigned long,long)" (?RequestExec(at)IAsyncPG@@QEAAJKJ(at)Z)
msdtc_enlist.obj : error LNK2019: unresolved external symbol __imp_PgDtc_two_pha
se_operation referenced in function "public: long __cdecl IAsyncPG::RequestExec(
unsigned long,long)" (?RequestExec(at)IAsyncPG@@QEAAJKJ(at)Z)
msdtc_enlist.obj : error LNK2019: unresolved external symbol __imp_PgDtc_set_pro
perty referenced in function "public: long __cdecl IAsyncPG::RequestExec(unsigne
d long,long)" (?RequestExec(at)IAsyncPG@@QEAAJKJ(at)Z)
msdtc_enlist.obj : error LNK2019: unresolved external symbol __imp_PgDtc_set_err
or referenced in function "short __cdecl EnlistInDtc_1pipe(void *,struct ITransa
ction *,struct ITransactionDispenser *)" (?EnlistInDtc_1pipe@@YAFPEAXPEAUITransa
ction@@PEAUITransactionDispenser@@@Z)
msdtc_enlist.obj : error LNK2019: unresolved external symbol __imp_PgDtc_create_
connect_string referenced in function "short __cdecl EnlistInDtc_1pipe(void *,st
ruct ITransaction *,struct ITransactionDispenser *)" (?EnlistInDtc_1pipe@@YAFPEA
XPEAUITransaction@@PEAUITransactionDispenser@@@Z)
.\x64_Unicode_Release\pgenlist.dll : fatal error LNK1120: 12 unresolved external
s
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0
\VC\Bin\amd64\link.exe"' : return code '0x460'
Stop.
--
Michael

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Heikki Linnakangas 2014-06-03 12:26:34 Re: Mentioning CPU for Windows build in docs
Previous Message David Joffe 2014-06-03 11:06:15 Re: Recent ODBC drivers possibly broken on XP - missing msvcrt dll