I tried building the recently
released Informix DBD 2005.02 today. I apparently have a successful compile and
link. But I'm having a major problem on the test. Below is the
link input and output, and the first test. All remaining tests look like
the first test. Help and suggestions needed. Here's the message I'm
getting upon running the first test (and all the rest).
Can't find 'boot_DBD__Informix' symbol in
./Informix.dll
I ran into a couple of source problems and
and a couple of makefile problems that I was able to figure out and fix.
Basically what I had found appear to be "Unix-isms" that don't apply to Windows
or the MSVC compiler. And one esqlc command line option bug. I'll
report the details of all that soon when I get a working DBD. Now I'm
running "nmake test".
Note: this is the third time I've built an
Informix DBD for Windows. The previous times were successful, but not
without grief. The process was smother this time, because of that
experience. At least up to this point.
Jonathan Leffler: Yes, I've looked at the
source, I can't understand how the message relates to the source code. I
could get some help on that, maybe we could crack the problem.
My Environment:
My Relevant Make output:
Microsoft (R) Program Maintenance
Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
SET INFORMIXC=C:\Perl\bin\perl.exe
esqlld
SET ESQLLD=link -target:dll -nologo -nodefaultlib -debug -opt:ref,icf -
libpath:"C:\Perl\lib\CORE" -machine:x86
C:\Progra~1\Informix\Client-SDK\bin\ESQL.EXE -out:blib\arch\auto\DBD\Inf
ormix\Informix.dll -target:dll -nologo -nodefaultlib -debug -opt:ref,icf -libpa
th:"C:\Perl\lib\CORE" -machine:x86 Informix.obj dbdimp.obj dbdattr.obj describe
.obj sqltoken.obj sqltype.obj ixblob.obj odbctype.obj kludge.obj link.obj esqlcv
er.obj esqlc_v6.obj /LIBPATH:C:\Progra~1\Informix\Client-SDK/lib /LIBPATH:C:\Pro
gra~1\Informix\Client-SDK/lib/esql "C:\Progra~1\Informix\Client-SDK\lib\isq
lt09a.lib" "C:\Progra~1\Informix\Client-SDK\lib\igl4n304.lib" "C:\Progra~1\Infor
mix\Client-SDK\lib\iglxn304.lib" "C:\Progra~1\Informix\Client-SDK\lib\igo4n304.l
ib" netapi32.lib wsock32.lib user32.lib winmm.lib C:\Perl\lib\CORE\perl58.lib o
ldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi3
2.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib ws2_32.lib mpr.l
ib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib -def:Informix.def
Microsoft (R) Incremental Linker Version 6.00.8447
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
SET ESQLLD=link -target:dll -nologo -nodefaultlib -debug -opt:ref,icf -
libpath:"C:\Perl\lib\CORE" -machine:x86
C:\Progra~1\Informix\Client-SDK\bin\ESQL.EXE -out:blib\arch\auto\DBD\Inf
ormix\Informix.dll -target:dll -nologo -nodefaultlib -debug -opt:ref,icf -libpa
th:"C:\Perl\lib\CORE" -machine:x86 Informix.obj dbdimp.obj dbdattr.obj describe
.obj sqltoken.obj sqltype.obj ixblob.obj odbctype.obj kludge.obj link.obj esqlcv
er.obj esqlc_v6.obj /LIBPATH:C:\Progra~1\Informix\Client-SDK/lib /LIBPATH:C:\Pro
gra~1\Informix\Client-SDK/lib/esql "C:\Progra~1\Informix\Client-SDK\lib\isq
lt09a.lib" "C:\Progra~1\Informix\Client-SDK\lib\igl4n304.lib" "C:\Progra~1\Infor
mix\Client-SDK\lib\iglxn304.lib" "C:\Progra~1\Informix\Client-SDK\lib\igo4n304.l
ib" netapi32.lib wsock32.lib user32.lib winmm.lib C:\Perl\lib\CORE\perl58.lib o
ldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi3
2.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib ws2_32.lib mpr.l
ib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib -def:Informix.def
Microsoft (R) Incremental Linker Version 6.00.8447
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
-DLL -OUT:Informix.dll -MAP
-SUBSYSTEM:CONSOLE Informix.obj dbdimp.obj
dbdattr.obj describe.obj sqltoken.obj sqltype.obj ixblob.obj odbctype.obj
kludge.obj link.obj esqlcver.obj esqlc_v6.obj
C:\Progra~1\Informix\Client-SDK\lib\isqlt09a.lib
C:\Progra~1\Informix\Client-SDK\lib\igl4n304.lib
C:\Progra~1\Informix\Client-SDK\lib\iglxn304.lib
C:\Progra~1\Informix\Client-SDK\lib\igo4n304.lib netapi32.lib wsock32.lib
user32.lib winmm.lib C:\Perl\lib\CORE\perl58.lib oldnames.lib kernel32.lib
user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib
ole32.lib oleaut32.lib netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib
version.lib odbc32.lib odbccp32.lib msvcrt.lib
"C:\Progra~1\Informix\Client-SDK\lib\isqlt09a.lib"
"C:\Progra~1\Informix\Client-SDK\lib\igl4n304.lib"
"C:\Progra~1\Informix\Client-SDK\lib\iglxn304.lib"
"C:\Progra~1\Informix\Client-SDK\lib\igo4n304.lib" netapi32.lib wsock32.lib
user32.lib winmm.lib
LINK : warning LNK4089: all references to "isqlt09a.dll" discarded by /OPT:REF
LINK : warning LNK4089: all references to "perl58.dll" discarded by /OPT:REF
C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 755 blib\arch\auto\DBD
\Informix\Informix.dll
C:\Perl\bin\perl.exe -MExtUtils::Command -e cp InformixTechSupport blib\
script\InformixTechSupport
pl2bat.bat blib\script\InformixTechSupport
C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'bl
ib\lib', 'blib\arch')" t/t00basic.t t/t01stproc.t t/t02ixtype.t t/t05dbase.t t/t
07dblist.t t/t08fork.t t/t09exec.t t/t10sqlca.t t/t12bindval.t t/t13bindref.t t/
t14bindcol.t t/t15bindtyp.t t/t20error.t t/t21mconn.t t/t22mconn.t t/t23mconn.t
t/t24mcurs.t t/t25dratt.t t/t28dtlit.t t/t29update.t t/t30update.t t/t31nulls.t
t/t32nulls.t t/t33holdcurs.t t/t35cursor.t t/t40rows.t t/t41txacoff.t t/t42txaco
n.t t/t43trans.t t/t44txansi.t t/t46chpblk.t t/t50update.t t/t51getinfo.t t/t53t
ypes.t t/t54native.t t/t55mdata.t t/t56tabinfo.t t/t57tables.t t/t58typeinfoall.
t t/t60unlog.t t/t65updcur.t t/t66insert.t t/t72blob.t t/t73blobupd.t t/t74blob.
t t/t75blob.t t/t76blob.t t/t90ius.t t/t91udts.t t/t92rows.t t/t93lvarchar.t t/t
94bool.t t/t95int8.t t/t98pod.t t/t99clean.t
t/t00basic..........install_driver(Informix) failed: Can't find 'boot_DBD__Infor
mix' symbol in ./Informix.dll
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
dbdattr.obj describe.obj sqltoken.obj sqltype.obj ixblob.obj odbctype.obj
kludge.obj link.obj esqlcver.obj esqlc_v6.obj
C:\Progra~1\Informix\Client-SDK\lib\isqlt09a.lib
C:\Progra~1\Informix\Client-SDK\lib\igl4n304.lib
C:\Progra~1\Informix\Client-SDK\lib\iglxn304.lib
C:\Progra~1\Informix\Client-SDK\lib\igo4n304.lib netapi32.lib wsock32.lib
user32.lib winmm.lib C:\Perl\lib\CORE\perl58.lib oldnames.lib kernel32.lib
user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib
ole32.lib oleaut32.lib netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib
version.lib odbc32.lib odbccp32.lib msvcrt.lib
"C:\Progra~1\Informix\Client-SDK\lib\isqlt09a.lib"
"C:\Progra~1\Informix\Client-SDK\lib\igl4n304.lib"
"C:\Progra~1\Informix\Client-SDK\lib\iglxn304.lib"
"C:\Progra~1\Informix\Client-SDK\lib\igo4n304.lib" netapi32.lib wsock32.lib
user32.lib winmm.lib
LINK : warning LNK4089: all references to "isqlt09a.dll" discarded by /OPT:REF
LINK : warning LNK4089: all references to "perl58.dll" discarded by /OPT:REF
C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 755 blib\arch\auto\DBD
\Informix\Informix.dll
C:\Perl\bin\perl.exe -MExtUtils::Command -e cp InformixTechSupport blib\
script\InformixTechSupport
pl2bat.bat blib\script\InformixTechSupport
C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'bl
ib\lib', 'blib\arch')" t/t00basic.t t/t01stproc.t t/t02ixtype.t t/t05dbase.t t/t
07dblist.t t/t08fork.t t/t09exec.t t/t10sqlca.t t/t12bindval.t t/t13bindref.t t/
t14bindcol.t t/t15bindtyp.t t/t20error.t t/t21mconn.t t/t22mconn.t t/t23mconn.t
t/t24mcurs.t t/t25dratt.t t/t28dtlit.t t/t29update.t t/t30update.t t/t31nulls.t
t/t32nulls.t t/t33holdcurs.t t/t35cursor.t t/t40rows.t t/t41txacoff.t t/t42txaco
n.t t/t43trans.t t/t44txansi.t t/t46chpblk.t t/t50update.t t/t51getinfo.t t/t53t
ypes.t t/t54native.t t/t55mdata.t t/t56tabinfo.t t/t57tables.t t/t58typeinfoall.
t t/t60unlog.t t/t65updcur.t t/t66insert.t t/t72blob.t t/t73blobupd.t t/t74blob.
t t/t75blob.t t/t76blob.t t/t90ius.t t/t91udts.t t/t92rows.t t/t93lvarchar.t t/t
94bool.t t/t95int8.t t/t98pod.t t/t99clean.t
t/t00basic..........install_driver(Informix) failed: Can't find 'boot_DBD__Infor
mix' symbol in ./Informix.dll
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
at
D:\build\DBD\DBD-Informix-2005.02\blib\lib/DBD/Informix/TestHarness.pm
line
185
t/t00basic..........dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-41
Failed 41/41 tests, 0.00% okay
185
t/t00basic..........dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-41
Failed 41/41 tests, 0.00% okay
Brian Campbell (E-mail).vcf
Description: Binary data
