Subject: | Unresolved external under Windows: _Perl_share_hek |
o OS: Windows
o Perl: 5.8.7
o Distro: Scalar-Util-Clone-0.04
Firstly I had to path the Makefile.PL to not use the gcc optimize flags,
and then...
D:\perl-modules\Scalar-Util-Clone-0.04>nmake
Microsoft (R) Program Maintenance Utility Version 6.00.9782.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cp lib/Scalar/Util/Clone.pm blib\lib\Scalar\Util\Clone.pm
D:\Perl\bin\perl.exe D:\Perl\lib\ExtUtils\xsubpp -typemap
D:\Perl\lib\ExtUtils\typemap Clone.xs > Clone.xsc && D:\Perl\bin\perl.e
e -MExtUtils::Command -e mv Clone.xsc Clone.c
cl -c -nologo -Gf -W3 -MD -DNDEBUG -O1 -DWIN32 -D_CONSOLE
-DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPER
_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX
-MD -DNDEBUG -O1 -DVERSION=\"0.04\" -DXS_VERSION=\"0.04\" "-I
:\Perl\lib\CORE" Clone.c
Clone.c
Running Mkbootstrap for Scalar::Util::Clone ()
D:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 Clone.bs
D:\Perl\bin\perl.exe -MExtUtils::Mksymlists -e
"Mksymlists('NAME'=>\"Scalar::Util::Clone\", 'DLBASE' => 'Clone',
'DL_FUNCS' => {
, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);"
link -out:blib\arch\auto\Scalar\Util\Clone\Clone.dll -dll
-nologo -nodefaultlib -release -libpath:"d:\Perl\lib\CORE" -machine:x86
Clone.obj D:\Perl\lib\CORE\perl58.lib oldnames.lib kernel32.lib
user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib
le32.lib oleaut32.lib netapi32.lib uuid.lib ws2_32.lib mpr.lib
winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib -def:Clone.def
Creating library blib\arch\auto\Scalar\Util\Clone\Clone.lib and
object blib\arch\auto\Scalar\Util\Clone\Clone.exp
Clone.obj : error LNK2001: unresolved external symbol _Perl_share_hek
blib\arch\auto\Scalar\Util\Clone\Clone.dll : fatal error LNK1120: 1
unresolved externals
NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop.
What the heck is hek :-O?