[Dbi-interbase-devel] Perl 5.8.0 build failure ?
Status: Beta
Brought to you by:
edpratomo
From: DeeOnFusijamail <de...@cl...> - 2002-08-28 22:51:10
|
DBD-Interbase-0.3 seems to fail to build under perl 5.8.0/DBD 1.3.0/Win2K - It seems to have something to do with the new perlio interface according to the build logs. Not being an expert on either Perlio internals or building DBI extensions it is a bit difficult for me to hack my way through, so I throught I'd just post the observation without a cure. Note also the largish number of warnings - many of these are also valid when compiling under 5.6.0(ActiveState build 623), but aren't seen by default since this build does not enable the -W3 warning switch of MS Visual C. Some of them are pretty grim: Use of functions without including a prototype etc. /Claus -------------------- Perl 5.8.0 config: Summary of my perl5 (revision 5 version 8 subversion 0) configuration: Platform: osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef usethreads=undef use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=undef usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cl', ccflags ='-nologo -Gf -W3 -MD -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES _FC RYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_ READFIX', optimize='-MD -DNDEBUG -O1', cppflags='-DWIN32' ccversion='', gccversion='', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4 alignbytes=8, prototype=define Linker and Libraries: ld='link', ldflags ='-nologo -nodefaultlib -release -libpath:"c:\app\perl580\lib\CORE" -machin e:x86' libpth=C:\app\DEVSTU~1\VC98\lib libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib sh ell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib o dbc32.lib odbccp32.lib msvcrt.lib perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.li b shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.l ib odbc32.lib odbccp32.lib msvcrt.lib libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl58.lib gnulibc_version='undef' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -release -libpath:"c:\app\perl580\lib\ COR E" -machine:x86' --------------------- Build log: C:\app\perl580\bin\perl.exe -p -e "s/~DRIVER~/InterBase/g" < c:/app/perl580/site/lib/auto/DBI/Driver.xst > InterBase.xsi C:\app\perl580\bin\perl.exe C:\app\perl580\lib\ExtUtils/xsubpp -noprototypes -typemap C:\app\perl580\lib\ExtUtils\typemap InterBase.xs > InterBase.xsc && C:\app\perl580\bin\perl.exe -MExtUtils::Command -e mv InterBase.xsc InterBase.c cl -c -Id:\app\interbase\SDK\include -Ic:/app/perl580/site/lib/auto/DBI -nol ogo -Gf -W3 -MD -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYP T -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_REA DFIX -MD -DNDEBUG -O1 -DVERSION=\"0.30\" -DXS_VERSION=\"0.30\" "-IC:\app\perl580\lib\CORE" InterBase.c InterBase.c InterBase.xs(65) : warning C4013: 'ib_error_check' undefined; assuming extern returning int InterBase.xs(142) : warning C4013: 'dbd_db_ping' undefined; assuming extern returning int InterBase.c(920) : warning C4101: 'RETVAL' : unreferenced local variable InterBase.xs(389) : warning C4018: '<' : signed/unsigned mismatch InterBase.xs(154) : warning C4101: 'ret' : unreferenced local variable cl -c -Id:\app\interbase\SDK\include -Ic:/app/perl580/site/lib/auto/DBI -nol ogo -Gf -W3 -MD -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYP T -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_REA DFIX -MD -DNDEBUG -O1 -DVERSION=\"0.30\" -DXS_VERSION=\"0.30\" "-IC:\app\perl580\lib\CORE" dbdimp.c dbdimp.c dbdimp.c(57) : warning C4013: 'ib_error_check' undefined; assuming extern returning int dbdimp.c(183) : warning C4244: 'function' : conversion from 'long ' to 'short ', possible loss of data dbdimp.c(286) : warning C4013: 'dbd_db_login6' undefined; assuming extern returning int dbdimp.c(377) : warning C4244: '=' : conversion from 'long ' to 'unsigned short ', possible loss of data dbdimp.c(385) : warning C4244: '=' : conversion from 'long ' to 'unsigned short ', possible loss of data dbdimp.c(497) : warning C4101: 'id' : unreferenced local variable dbdimp.c(567) : warning C4101: 'status' : unreferenced local variable dbdimp.c(600) : warning C4013: 'ib_rollback_transaction' undefined; assuming extern returning int dbdimp.c(590) : warning C4101: 'status' : unreferenced local variable dbdimp.c(613) : warning C4101: 'status' : unreferenced local variable dbdimp.c(1152) : warning C4101: 'fetch' : unreferenced local variable dbdimp.c(1479) : warning C4244: 'function' : conversion from '__int64 ' to 'int ', possible loss of data dbdimp.c(1766) : warning C4018: '<' : signed/unsigned mismatch dbdimp.c(1311) : warning C4101: 'val' : unreferenced local variable dbdimp.c(1309) : warning C4101: 'val_length' : unreferenced local variable dbdimp.c(1569) : warning C4101: 'len' : unreferenced local variable dbdimp.c(2743) : error C2064: term does not evaluate to a function dbdimp.c(2743) : warning C4047: 'function' : 'struct _PerlIO ** ' differs in levels of indirection from 'char [54]' dbdimp.c(2743) : warning C4024: 'PerlIO_printf' : different types for formal and actual parameter 1 dbdimp.c(2743) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int ' dbdimp.c(2743) : warning C4024: 'PerlIO_printf' : different types for formal and actual parameter 2 dbdimp.c(2747) : warning C4244: '=' : conversion from 'double ' to 'float ', possible loss of data NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop. |