Subject: | Cannot compile on Windows |
Distribution: B-Hooks-OP-Check-EntersubForCV-0.08
Perl version: Strawberry perl 5, version 12, subversion 3 (v5.12.3)
built for MSWin32-x86-multi-thread
GCC version: 4.4.3 (Windows MinGW)
Operating system: windows32 2.5.1 2600 i686-pc Intel
Problem: Building EntersubForCV.dll fails with 'Error code 129'.
C:\home\.cpanm\work\1320799731.3540\B-Hooks-OP-Check-EntersubForCV-0.08>perl
makef
ile.pl
Cannot determine perl version info from
lib/B/Hooks/OP/Check/EntersubForCV.pm
Writing Makefile for B::Hooks::OP::Check::EntersubForCV
Writing MYMETA.yml and MYMETA.json
C:\home\.cpanm\work\1320799731.3540\B-Hooks-OP-Check-EntersubForCV-0.08>dmake
test
Skip blib\arch/B\Hooks\OP\Check\EntersubForCV/Install/Files.pm (unchanged)
Skip
blib\arch/B\Hooks\OP\Check\EntersubForCV/Install/hook_op_check_entersubforcv.
h (unchanged)
Skip blib\lib/B/Hooks/OP/Check/EntersubForCV.pm (unchanged)
gcc -c -IC:\strawberry\perl\site\lib\B\Hooks\OP\Check\Install
-IC:\strawberry\per
l\site\lib\B\Utils\Install -s -O2 -DWIN32 -DHAVE_DES_FCRYPT
-DUSE_SITECUSTOMI
ZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing
-mms-bitfields
-DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"0.08\"
-DXS_VERSION=\"0.08\" "-I
C:\strawberry\perl\lib\CORE" EntersubForCV.c
Running Mkbootstrap for B::Hooks::OP::Check::EntersubForCV ()
C:\strawberry\perl\bin\perl.exe "-Iinc" -MExtUtils::Command -e chmod --
644 Enters
ubForCV.bs
dlltool --def EntersubForCV.def --output-exp dll.exp
g++ -o blib\arch\auto\B\Hooks\OP\Check\EntersubForCV\EntersubForCV.dll
-Wl,--base-
file -Wl,dll.base -mdll -s -L"C:\strawberry\perl\lib\CORE"
-L"C:\strawberry\c\lib"
EntersubForCV.o C:\strawberry\perl\lib\CORE\libperl512.a
C:\strawberry\perl\sit
e\lib\auto\B\Hooks\OP\Check\Check.a
C:\strawberry\perl\site\lib\auto\B\Utils\Utils
.a C:\strawberry\c\i686-w64-mingw32\lib\libmoldname.a
C:\strawberry\c\i686-w64-min
gw32\lib\libkernel32.a C:\strawberry\c\i686-w64-mingw32\lib\libuser32.a
C:\strawbe
rry\c\i686-w64-mingw32\lib\libgdi32.a
C:\strawberry\c\i686-w64-mingw32\lib\libwins
pool.a C:\strawberry\c\i686-w64-mingw32\lib\libcomdlg32.a
C:\strawberry\c\i686-w64
-mingw32\lib\libadvapi32.a
C:\strawberry\c\i686-w64-mingw32\lib\libshell32.a C:\st
rawberry\c\i686-w64-mingw32\lib\libole32.a
C:\strawberry\c\i686-w64-mingw32\lib\li
boleaut32.a C:\strawberry\c\i686-w64-mingw32\lib\libnetapi32.a
C:\strawberry\c\i68
6-w64-mingw32\lib\libuuid.a
C:\strawberry\c\i686-w64-mingw32\lib\libws2_32.a C:\st
rawberry\c\i686-w64-mingw32\lib\libmpr.a
C:\strawberry\c\i686-w64-mingw32\lib\libw
inmm.a C:\strawberry\c\i686-w64-mingw32\lib\libversion.a
C:\strawberry\c\i686-w64-
mingw32\lib\libodbc32.a
C:\strawberry\c\i686-w64-mingw32\lib\libodbccp32.a C:\stra
wberry\c\i686-w64-mingw32\lib\libcomctl32.a dll.exp
EntersubForCV.o:EntersubForCV.c:(.text+0x624): undefined reference to
`BUtils_cc_o
pclassname'
collect2: ld returned 1 exit status
dmake: Error code 129, while making
'blib\arch\auto\B\Hooks\OP\Check\EntersubForC
V\EntersubForCV.dll'
Many thanks.