Subject: | build failure on Windows. |
Hi,
I got the error messages when I upgrade Scope::Upper module on Windows(
win7 x64).
CPAN.pm: Building V/VP/VPIT/Scope-Upper-0.16.tar.gz
CPAN: CPAN::Reporter loaded ok (v1.2002)
Checking if this is an official release of perl... yes
Checking if your kit is complete...
Looks good
Writing Makefile for Scope::Upper
Writing MYMETA.yml and MYMETA.json
(C:\strawberry-perl-5.12.3.0-portable\perl\bin\perl.exe Makefile.PL
exited with
0)
CPAN::Reporter: Makefile.PL result is 'pass', No errors.
cp lib/Scope/Upper.pm blib\lib\Scope\Upper.pm
C:\strawberry-perl-5.12.3.0-portable\perl\bin\perl.exe
C:\strawberry-perl-5.12.3
.0-portable\perl\site\lib\ExtUtils\xsubpp -typemap
C:\strawberry-perl-5.12.3.0-
portable\perl\lib\ExtUtils\typemap Upper.xs > Upper.xsc &&
C:\strawberry-perl-5
.12.3.0-portable\perl\bin\perl.exe -MExtUtils::Command -e "mv" --
Upper.xsc Uppe
r.c
gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE
-DPERL_IMPL
ICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields
-DPERL_MSVC
RT_READFIX -s -O2 -DVERSION=\"0.16\" -DXS_VERSION=\"0.16\"
"-IC:\str
awberry-perl-5.12.3.0-portable\perl\lib\CORE" -DSU_RELEASE=1 Upper.c
Running Mkbootstrap for Scope::Upper ()
C:\strawberry-perl-5.12.3.0-portable\perl\bin\perl.exe
-MExtUtils::Command -e "c
hmod" -- 644 Upper.bs
C:\strawberry-perl-5.12.3.0-portable\perl\bin\perl.exe
-MExtUtils::Mksymlists \
-e "Mksymlists('NAME'=>\"Scope::Upper\", 'DLBASE' => 'Upper',
'DL_FUNCS' =>
{ }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);"
dlltool --def Upper.def --output-exp dll.exp
g++.exe -o blib\arch\auto\Scope\Upper\Upper.dll -Wl,--base-file
-Wl,dll.base -md
ll -s -L"C:\strawberry-perl-5.12.3.0-portable\perl\lib\CORE"
-L"C:\strawberry-pe
rl-5.12.3.0-portable\c\lib" Upper.o
C:\strawberry-perl-5.12.3.0-portable\perl\
lib\CORE\libperl512.a -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool
-lcomdlg
32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32
-lmpr -lwi
nmm -lversion -lodbc32 -lodbccp32 -lcomctl32 dll.exp
Upper.o:Upper.c:(.text+0x19a0): undefined reference to `Perl_cv_clone'
collect2: ld returned 1 exit status
dmake.exe: Error code 129, while making
'blib\arch\auto\Scope\Upper\Upper.dll'
(C:\strawberry-perl-5.12.3.0-portable\c\bin\dmake.exe exited with 65280)
CPAN::Reporter: dmake result is 'unknown', Stopped with an error.
CPAN::Reporter: preparing a CPAN Testers report for Scope-Upper-0.16
CPAN::Reporter: this appears to be a duplicate report for the make phase:
UNKNOWN Scope-Upper-0.16 MSWin32-x86-multi-thread 5.1
I hope this will be fixed.
Thanks.