Re: Mentioning CPU for Windows build in docs - Mailing list pgsql-odbc

From Michael Paquier
Subject Re: Mentioning CPU for Windows build in docs
Date
Msg-id CAB7nPqR077MivJ9YSdPK-yCy6as2N7jAi6dna5wt7ug4Vt=Bjg@mail.gmail.com
Whole thread Raw
In response to Re: Mentioning CPU for Windows build in docs  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Responses Re: Mentioning CPU for Windows build in docs  (Heikki Linnakangas <hlinnakangas@vmware.com>)
List pgsql-odbc
On Tue, Jun 3, 2014 at 2:42 AM, Heikki Linnakangas
<hlinnakangas@vmware.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@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@XZ)
msdtc_enlist.obj : error LNK2019: unresolved external symbol __imp_PgDtc_isolate
 referenced in function "private: void * __cdecl IAsyncPG::generateXAConn(bool)"
 (?generateXAConn@IAsyncPG@@AEAAPEAX_N@Z)
msdtc_enlist.obj : error LNK2019: unresolved external symbol __imp_PgDtc_connect
 referenced in function "private: void * __cdecl IAsyncPG::isolateXAConn(bool,bo
ol)" (?isolateXAConn@IAsyncPG@@AEAAPEAX_N0@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@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@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@IAsyncPG@@QEAAJKJ@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@IAsyncPG@@QEAAJKJ@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@IAsyncPG@@QEAAJKJ@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


pgsql-odbc by date:

Previous
From: Walter Couto
Date:
Subject: Re: Problem retrieving a numeric(38,0) value as SQL_NUMERIC_STRUCT if value needs to use all 16 SQLCHAR elements of the val array
Next
From: Heikki Linnakangas
Date:
Subject: Re: Mentioning CPU for Windows build in docs