Skip Menu |

This queue is for tickets about the CDB_File CPAN distribution.

Report information
The Basics
Id: 2341
Status: rejected
Priority: 0/
Queue: CDB_File

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: unknown include uninstd.h and unresolved external symbol errors _fsync and _Perl_report_uninit
And here is the fix (however dirty it may be) #ifndef WIN32 #include <unistd.h> #endif //Pretty unusual unresolved external symbol errors (maybe mah system is forked) #ifdef WIN32 #define Perl_report_uninit #define fsync #endif It's probably related but, a whole bunch of tests fail (probably due to the fsync than the Perl_report_uninit) Here goes E:\new\CDB_File-0.93>perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for CDB_File E:\new\CDB_File-0.93>nmake test Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. cp bun-x.pl blib\lib\bun-x.pl cp CDB_File.pm blib\lib\CDB_File.pm G:\Perl\bin\perl.exe G:\Perl\lib\ExtUtils/xsubpp -typemap G:\Perl\lib\ExtUtils\typemap -typemap typemap CDB_File.xs > CDB_File.xsc && G:\Perl\bin\perl.exe -MExtUtils::Command -e mv CDB_File.xsc CDB_File.c cl -c -nologo -Gf -W3 -MD -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_S YS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -DNDEBUG -O1 -DVERSION=\"0.93\" -DXS_VERSION=\"0.93\" "-IG:\Perl\lib\CORE" CDB_File.c CDB_File.c CDB_File.xs(202) : warning C4244: '=' : conversion from 'unsigned long ' to 'char ', possible loss of data CDB_File.xs(204) : warning C4244: '=' : conversion from 'unsigned long ' to 'char ', possible loss of data CDB_File.xs(206) : warning C4244: '=' : conversion from 'unsigned long ' to 'char ', possible loss of data CDB_File.xs(207) : warning C4244: '=' : conversion from 'unsigned long ' to 'char ', possible loss of data CDB_File.xs(264) : warning C4018: '>' : signed/unsigned mismatch CDB_File.xs(392) : warning C4101: 'packname' : unreferenced local variable CDB_File.xs(391) : warning C4101: 'gv' : unreferenced local variable CDB_File.xs(429) : warning C4101: 'cdbp' : unreferenced local variable CDB_File.xs(428) : warning C4101: 'io' : unreferenced local variable CDB_File.xs(469) : warning C4101: 'klen0' : unreferenced local variable CDB_File.xs(464) : warning C4101: 'f' : unreferenced local variable CDB_File.xs(468) : warning C4101: 'x' : unreferenced local variable CDB_File.c(545) : warning C4101: 'RETVAL' : unreferenced local variable CDB_File.xs(467) : warning C4101: 'pos' : unreferenced local variable CDB_File.xs(509) : warning C4101: 'buf' : unreferenced local variable CDB_File.xs(513) : warning C4101: 'klen0' : unreferenced local variable CDB_File.xs(508) : warning C4101: 'f' : unreferenced local variable CDB_File.xs(511) : warning C4101: 'pos' : unreferenced local variable CDB_File.xs(568) : warning C4101: 'io' : unreferenced local variable CDB_File.xs(590) : warning C4101: 'buf' : unreferenced local variable CDB_File.xs(591) : warning C4101: 'klen' : unreferenced local variable CDB_File.c(726) : warning C4101: 'RETVAL' : unreferenced local variable CDB_File.xs(606) : warning C4101: 'kp' : unreferenced local variable CDB_File.xs(606) : warning C4101: 'buf' : unreferenced local variable CDB_File.xs(609) : warning C4101: 'klen0' : unreferenced local variable CDB_File.xs(610) : warning C4101: 'klen1' : unreferenced local variable CDB_File.c(762) : warning C4101: 'RETVAL' : unreferenced local variable CDB_File.xs(609) : warning C4101: 'dlen' : unreferenced local variable CDB_File.xs(607) : warning C4101: 'found' : unreferenced local variable CDB_File.xs(608) : warning C4101: 'pos' : unreferenced local variable CDB_File.xs(639) : warning C4101: 'i' : unreferenced local variable CDB_File.xs(697) : warning C4018: '<' : signed/unsigned mismatch CDB_File.xs(698) : warning C4018: '<' : signed/unsigned mismatch CDB_File.xs(685) : warning C4101: 'c' : unreferenced local variable CDB_File.xs(685) : warning C4101: 'i' : unreferenced local variable Running Mkbootstrap for CDB_File () G:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 CDB_File.bs G:\Perl\bin\perl.exe -MExtUtils::Mksymlists -e "Mksymlists('NAME'=>\"CDB_File\", 'DLBASE' => 'CDB_File', 'DL_FUNCS' => { }, 'FUNCL IST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);" link -out:blib\arch\auto\CDB_File\CDB_File.dll -dll -nologo -nodefaultlib -release -libpath:"G:\Perl\lib\CORE" -machine:x86 CDB_Fi le.obj G:\Perl\lib\CORE\perl58.lib oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole3 2.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib -def:CDB_File.def Creating library blib\arch\auto\CDB_File\CDB_File.lib and object blib\arch\auto\CDB_File\CDB_File.exp G:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 755 blib\arch\auto\CDB_File\CDB_File.dll G:\Perl\bin\perl.exe -MExtUtils::Command -e cp CDB_File.bs blib\arch\auto\CDB_File\CDB_File.bs G:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 blib\arch\auto\CDB_File\CDB_File.bs G:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t\01main.t t\02last.t t\01main....NOK 65# Failed test 65 in t\01main.t at line 166 t\01main....NOK 67# Failed test 67 in t\01main.t at line 170 t\01main....NOK 74# Failed test 74 in t\01main.t at line 189 t\01main....NOK 87# Failed test 87 in t\01main.t at line 226 t\01main....NOK 89# Test 89 got: 'x' (t\01main.t at line 241) # Expected: '0' t\01main....NOK 91# Test 91 got: 'x' (t\01main.t at line 241 fail #2) # Expected: '1' t\01main....NOK 93# Test 93 got: <UNDEF> (t\01main.t at line 241 fail #3) # Expected: '2' t\01main....NOK 94# Test 94 got: <UNDEF> (t\01main.t at line 242 fail #3) # Expected: '2' t\01main....NOK 95# Test 95 got: 'x' (t\01main.t at line 241 fail #4) # Expected: '3' t\01main....NOK 96# Test 96 got: '0' (t\01main.t at line 242 fail #4) # Expected: '3' t\01main....NOK 97# Test 97 got: 'x' (t\01main.t at line 241 fail #5) # Expected: '4' t\01main....NOK 98# Test 98 got: '1' (t\01main.t at line 242 fail #5) # Expected: '4' t\01main....NOK 99# Test 99 got: <UNDEF> (t\01main.t at line 241 fail #6) # Expected: '5' t\01main....NOK 100# Test 100 got: <UNDEF> (t\01main.t at line 242 fail #6) # Expected: '5' t\01main....NOK 101# Test 101 got: 'x' (t\01main.t at line 241 fail #7) # Expected: '6' t\01main....NOK 102# Test 102 got: '0' (t\01main.t at line 242 fail #7) # Expected: '6' t\01main....NOK 103# Test 103 got: 'x' (t\01main.t at line 241 fail #8) # Expected: '7' t\01main....NOK 104# Test 104 got: '1' (t\01main.t at line 242 fail #8) # Expected: '7' t\01main....NOK 105# Test 105 got: <UNDEF> (t\01main.t at line 241 fail #9) # Expected: '8' t\01main....NOK 106# Test 106 got: <UNDEF> (t\01main.t at line 242 fail #9) # Expected: '8' t\01main....NOK 107# Test 107 got: 'x' (t\01main.t at line 241 fail #10) # Expected: '9' t\01main....NOK 108# Test 108 got: '0' (t\01main.t at line 242 fail #10) # Expected: '9' t\01main....FAILED tests 65, 67, 74, 87, 89, 91, 93-112 Failed 26/112 tests, 76.79% okay t\02last....ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t\01main.t 112 26 23.21% 65 67 74 87 89 91 93-112 Failed 1/2 test scripts, 50.00% okay. 26/130 subtests failed, 80.00% okay. NMAKE : fatal error U1077: 'G:\Perl\bin\perl.exe' : return code '0xff' Stop. E:\new\CDB_File-0.93>perl -V 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=define 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_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMP LICIT_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='__int64', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='link', ldflags ='-nologo -nodefaultlib -release -libpath:"G:\Perl\lib\CORE" -machine:x86' libpth="C:\Program Files\Microsoft Visual Studio\VC98\mfc\lib" "C:\Program Files\Microsoft Visual Studio\VC98\lib" "G:\Perl\lib\CORE" libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi 32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib ne tapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib 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:"G:\Perl\lib\CORE" -machine:x86' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS Locally applied patches: ActivePerl Build 804 Built under MSWin32 Compiled at Dec 1 2002 23:15:13 @INC: G:/Perl/lib G:/Perl/site/lib . E:\new\CDB_File-0.93>
I think this was fixed. I see unistd.h always included.
Cannot reproduce this problem. Resolving till I see a problem on CPAN Testers.