TDBC

Artifact [7986673ab0]
Login

Artifact 7986673ab0c12a4a91f7cc1c8a4faf7a322a2860d3310d413b729519ec30b4e8:

Ticket change [7986673ab0] - New ticket [d6c4db2556] makefile.vc: compile tdbcStubLib.c with -DTCL_USE_STUBS to not make tdbcodbc.dll dependent on tcl86t.dll. by oehhar 2019-08-28 20:21:17.
D 2019-08-28T20:21:17.916
J foundin 1.1.0
J icomment <H1>Issue</H1>\r\n\r\n"tdbcodbc1.1.0.dll"\swill\srefuse\sto\sload\swith\san\serror\s"a\sdepend\slibrary\smay\snot\sbe\sfound"\sunder\sthe\sfollowing\sconditions:\r\n\r\n\s\s\s*\s\s\smakefile.vc\sbuild\smethod\r\n\s\s\s*\s\s\sthe\sonly\svisible\stcl\sis\sincluded\sin\sa\sstarkit\s(no\stcl86t.dll\savailable\sas\ssingle\sfile)\r\n\r\n<H1>Problem\sreason</H1>\r\n\r\n"tdbcstublib.c"\sis\scompiled\swithout\s"-DUSE_TCL_STUBS"\sand\sbuild\sinto\sthe\slibrary\s"tdbcstub110.lib".\r\nThis\slibrary\shas\sa\sdependency\sto\stcl86t.dll.\r\n\r\nThis\slibrary\sis\sthen\slinked\sinto\stdbcodbc.1.1.0.dll\swith\sthe\ssource\sfile\s"tcl86t.lib".\r\n\r\nThis\sresults\sin\sa\sdependency\son\stcl86t.dll.\r\nThis\sis\snot\sa\sproblem\swhen\sthere\sis\sa\stcl86t.dll\savailable\s(no\sstarkit).\r\n\r\nThe\sdependency\smay\sbe\sverified\susing\sthe\stool\sDependency\sWalker.\sJust\sdrop\sthe\sdll\sinto\sthe\swindow\sand\slook\sto\sthe\smiddle\spane.\sIt\slists\s"tcl86t.dll".\r\n\r\nAs\sa\sside\snote,\ssupplying\sbeside\sthe\sstarkit\sa\s"tcl86t.dll"\sstopped\smy\sapplication\swithout\sany\snotice\swhen\stdbcodbc1.1.0.dll\sis\sloaded.\r\n\r\n<H1>Manual\ssolution</H1>\r\n\r\nHere\sis\smy\smodified\sbuild\sline\sbroken\sinto\smultiple\slines\sfor\sreadability:\r\n\r\n<verbatim>\r\ncl\s-nologo\s-c\s/D_ATL_XP_TARGETING\s\s-W3\r\n\s\s-FpC:\\test\\tcl8.6.9_tdbcodbc\\pkgs\\tdbc1.1.0\\win\\Release\\tdbc_ThreadedDynamic\\\s-Op\s-QI0f\s-O2\s-YX\r\n\s\s-DPACKAGE_NAME="\\"tdbc\\""\s\s-DPACKAGE_TCLNAME="\\"tdbc\\""\s\s-DPACKAGE_VERSION="\\"1.1.0\\""\r\n\s\s-DMODULE_SCOPE=extern\s\s-DTCL_CFGVAL_ENCODING=\\"cp1252\\"\s-DSTDC_HEADERS\s-DTCL_THREADS=1\r\n\s\s-DUSE_THREAD_ALLOC=1\s-DNDEBUG\s-DTCL_CFG_OPTIMIZED\s-DNO_STRTOI64\s-DUSE_TCL_STUBS\s-Zl\r\n\s\s-DSTATIC_BUILD\s-I"C:\\test\\tcl8.6.9_tdbcodbc\\win\\..\\generic"\r\n\s\s-I"C:\\test\\tcl8.6.9_tdbcodbc\\win\\..\\win"\r\n\s\s-I"C:\\test\\tcl8.6.9_tdbcodbc\\pkgs\\tdbc1.1.0\\win\\..\\generic"\r\n\s\s-I"C:\\test\\tcl8.6.9_tdbcodbc\\pkgs\\tdbc1.1.0\\win\\..\\win"\r\n\s\s-I"C:\\test\\tcl8.6.9_tdbcodbc\\pkgs\\tdbc1.1.0\\win\\..\\compat"\r\n\s\s-FoC:\\test\\tcl8.6.9_tdbcodbc\\pkgs\\tdbc1.1.0\\win\\Release\\tdbc_ThreadedDynamic\\\r\n\s\sC:\\test\\tcl8.6.9_tdbcodbc\\pkgs\\tdbc1.1.0\\win\\..\\generic\\tdbcStubLib.c\r\n</verbatim>\r\n\r\n(this\sis\sms-vc6\sPSDK\s2003SP1\s32\sbit\sbuild\son\sa\s64\sbit\swindows\s10).
J login oehhar
J mimetype text/x-fossil-wiki
J private_contact 0f366eb3e9e2fcab52b8ebacd197db9047186a5f
J severity Critical
J status Open
J title makefile.vc:\scompile\stdbcStubLib.c\swith\s-DTCL_USE_STUBS\sto\snot\smake\stdbcodbc.dll\sdependent\son\stcl86t.dll
J type Build_Problem
K d6c4db25560b1a8c3a26f9369e57cf00327cb9b4
U oehhar
Z f8f4cbe0145e3cc708f59577ac22fcaf