Subject: | linking fail on 5.14.0/Windows |
Strawberry Portable 5.14.0
Build log:
cp lib/version/Internals.pod blib\lib/version/Internals.pod
cp lib/version.pm blib\lib/version.pm
cp lib/version.pod blib\lib/version.pod
cp lib/version/vxs.pm ..\blib\lib\version\vxs.pm
gcc -c -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing
-mms-bitfields -s -O2 -DVERSION=\"0.9\" -DXS_VERSION=\"0.9\"
"-IE:\pperl\perl\lib\CORE" vutil.c
vutil.c:25: warning: 'Perl_prescan_version' redeclared without dllimport
attribute: previous dllimport ignored
vutil.c:676: warning: 'Perl_vnumify' redeclared without dllimport
attribute: previous dllimport ignored
vutil.c:755: warning: 'Perl_vnormal' redeclared without dllimport
attribute: previous dllimport ignored
vutil.c:853: warning: 'Perl_vcmp' redeclared without dllimport
attribute: previous dllimport ignored
E:\pperl\perl\bin\perl.exe E:\pperl\perl\lib\ExtUtils\xsubpp -typemap
E:\pperl\perl\lib\ExtUtils\typemap -typemap ../lib/version/typemap
vxs.xs > vxs.xsc && E:\pperl\perl\bin\perl.exe -MExtUtils::Command -e
"mv" -- vxs.xsc vxs.c
gcc -c -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing
-mms-bitfields -s -O2 -DVERSION=\"0.9\" -DXS_VERSION=\"0.9\"
"-IE:\pperl\perl\lib\CORE" vxs.c
Running Mkbootstrap for version::vxs ()
E:\pperl\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644 vxs.bs
E:\pperl\perl\bin\perl.exe -MExtUtils::Mksymlists \
-e "Mksymlists('NAME'=>\"version::vxs\", 'DLBASE' => 'vxs',
'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);"
dlltool --def vxs.def --output-exp dll.exp
g++.exe -o ..\blib\arch\auto\version\vxs\vxs.dll -Wl,--base-file
-Wl,dll.base -mdll -s -L"E:\pperl\perl\lib\CORE" -L"E:\pperl\c\lib"
vutil.o vxs.o E:\pperl\perl\lib\CORE\libperl514.a -lmoldname
-lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32
-lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion
-lodbc32 -lodbccp32 -lcomctl32 dll.exp
E:\pperl\perl\lib\CORE\libperl514.a(dqofs01003.o):(.text+0x0): multiple
definition of `Perl_vnormal'
vutil.o:vutil.c:(.text+0xc60): first defined here
E:\pperl\perl\lib\CORE\libperl514.a(dqofs00995.o):(.text+0x0): multiple
definition of `Perl_vcmp'
vutil.o:vutil.c:(.text+0x760): first defined here
E:\pperl\perl\lib\CORE\libperl514.a(dqofs01004.o):(.text+0x0): multiple
definition of `Perl_vnumify'
vutil.o:vutil.c:(.text+0x1010): first defined here
collect2: ld returned 1 exit status
dmake: Error code 129, while making '..\blib\arch\auto\version\vxs\vxs.dll'
dmake: Error code 255, while making 'subdirs'
--
Alexandr Ciornii, http://chorny.net