One symbol, "fsync" wasn't found, because it doesn't exist on Win32. It should be made equivalent to "_commit" using a macro. But the other symbol is an identical problem as I see here for 'Perl_seed':
D:/PXPerl/.cpan/build/CDB_File-0.94/CDB_File.xs:462: undefined referen +ce to `Perl_report_uninit'
This is the output I get from the latest version of ActivePerl, 5.8.8 build 817, downloaded this morning:
cpan> test CDB_File ... cp bun-x.pl blib\lib\bun-x.pl cp CDB_File.pm blib\lib\CDB_File.pm C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils\xsubpp -typemap C:\ +Perl\lib\ExtUtils\typemap -typemap typemap CDB_File.xs > CDB_File.xs +c && C:\Perl\bin\perl.exe -MExtUtils::Command -e mv CDB_File.xsc CDB_ +File.c gcc -c -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_F +CRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPE +RL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -DHASATTRIBUTE -fn +o-strict-aliasing -O2 -DVERSION=\"0.94\" -DXS_VERSION=\"0.94\" " +-IC:\Perl\lib\CORE" CDB_File.c In file included from CDB_File.xs:39: ppport.h:227:1: warning: "PERL_UNUSED_DECL" redefined In file included from CDB_File.xs:37: C:/Perl/lib/CORE/perl.h:165:1: warning: this is the location of the pr +evious definition Running Mkbootstrap for CDB_File () C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 CDB_File +.bs C:\Perl\bin\perl.exe -MExtUtils::Mksymlists -e "Mksymlists('N +AME'=>\"CDB_File\", 'DLBASE' => 'CDB_File', 'DL_FUNCS' => { }, 'FUNC +LIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);" Set up gcc environment - 3.2.3 (mingw special 20030504-1) dlltool --def CDB_File.def --output-exp dll.exp gcc -o blib\arch\auto\CDB_File\CDB_File.dll -Wl,--base-file -W +l,dll.base -mdll CDB_File.o -Wl,--image-base,0x52d0000 C:\Perl\lib\C +ORE\perl58.lib -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -lad +vapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr +-lwinmm -lversion -lodbc32 -lodbccp32 -lmsvcrt dll.exp CDB_File.o(.text+0x187f):CDB_File.c: undefined reference to `Perl_repo +rt_uninit' CDB_File.o(.text+0x1b08):CDB_File.c: undefined reference to `Perl_repo +rt_uninit' CDB_File.o(.text+0x2076):CDB_File.c: undefined reference to `Perl_repo +rt_uninit' CDB_File.o(.text+0x271c):CDB_File.c: undefined reference to `Perl_repo +rt_uninit' CDB_File.o(.text+0x3632):CDB_File.c: undefined reference to `fsync' NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code + '0x1' Stop. nmake -- NOT OK Running make test Can't test without successful make
Feel free to dig your nails into that one.
In reply to Re^4: Weird problems building Scalar-List-Utils-1.18 on Win32+MinGW
by bart
in thread Weird problems building Scalar-List-Utils-1.18 on Win32+MinGW
by bart
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |