Subject: | not work on win32 systems |
I am trying to install the perl-MCrypt 2.5.7
in windows xp (32-bit) and 7 (32-bit) without cygwin. I run the command
"perl Makefile.PL" and the error message is on both systeme with perl
v5.10.1 built for MSWin32-x86-multi-thread (activeperl from activestate)
with libmcrypt and mingw, any helps?
See the log:
cp Mcrypt.pm blib\lib\Mcrypt.pm
AutoSplitting blib\lib\Mcrypt.pm (blib\lib\auto\Mcrypt)
C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils\xsubpp -typemap
C:\Perl\lib\ExtUtils\
typemap -typemap typemap Mcrypt.xs > Mcrypt.xsc && C:\Perl\bin\perl.exe
-MExtUt
ils::Command -e "mv" -- Mcrypt.xsc Mcrypt.c
C:/Perl/site/bin/gcc.exe -c -IC:/libmcrypt-2.5.7/lib -DNDEBUG -DWIN32
-D_CONS
OLE -DNO_STRICT -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE
-DPRIVLIB_LAST_IN_INC -DPE
RL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO
-DPERL_MSVCRT_READFIX -DHAS
ATTRIBUTE -fno-strict-aliasing -mms-bitfields -O2
-DVERSION=\"2.5.7.0\"
-DXS_VERSION=\"2.5.7.0\" "-IC:\Perl\lib\CORE" Mcrypt.c
Running Mkbootstrap for Mcrypt ()
C:\Perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644 Mcrypt.bs
C:\Perl\bin\perl.exe -MExtUtils::Mksymlists \
-e "Mksymlists('NAME'=>\"Mcrypt\", 'DLBASE' => 'Mcrypt', 'DL_FUNCS'
=> { }
, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);"
Set up gcc environment - 3.4.5 (mingw-vista special r3)
dlltool --def Mcrypt.def --output-exp dll.exp
C:\Perl\site\bin\g++.exe -o blib\arch\auto\Mcrypt\Mcrypt.dll
-Wl,--base-file -Wl
,dll.base -mdll -L"C:\Perl\lib\CORE" Mcrypt.o
-Wl,--image-base,0x3d170000 C:\Pe
rl\lib\CORE\perl510.lib C:\Perl\site\lib\auto\MinGW\lib\libkernel32.a
C:\Perl\si
te\lib\auto\MinGW\lib\libuser32.a
C:\Perl\site\lib\auto\MinGW\lib\libgdi32.a C:\
Perl\site\lib\auto\MinGW\lib\libwinspool.a
C:\Perl\site\lib\auto\MinGW\lib\libco
mdlg32.a C:\Perl\site\lib\auto\MinGW\lib\libadvapi32.a
C:\Perl\site\lib\auto\Min
GW\lib\libshell32.a C:\Perl\site\lib\auto\MinGW\lib\libole32.a
C:\Perl\site\lib\
auto\MinGW\lib\liboleaut32.a
C:\Perl\site\lib\auto\MinGW\lib\libnetapi32.a C:\Pe
rl\site\lib\auto\MinGW\lib\libuuid.a
C:\Perl\site\lib\auto\MinGW\lib\libws2_32.a
C:\Perl\site\lib\auto\MinGW\lib\libmpr.a
C:\Perl\site\lib\auto\MinGW\lib\libwin
mm.a C:\Perl\site\lib\auto\MinGW\lib\libversion.a
C:\Perl\site\lib\auto\MinGW\li
b\libodbc32.a C:\Perl\site\lib\auto\MinGW\lib\libodbccp32.a
C:\Perl\site\lib\aut
o\MinGW\lib\libcomctl32.a C:\Perl\site\lib\auto\MinGW\lib\libmsvcrt.a
dll.exp
Mcrypt.o:Mcrypt.c:(.text+0x7a2): undefined reference to `mcrypt_strerror'
Mcrypt.o:Mcrypt.c:(.text+0x9e2): undefined reference to `mcrypt_module_open'
Mcrypt.o:Mcrypt.c:(.text+0xc72): undefined reference to
`mcrypt_module_close'
Mcrypt.o:Mcrypt.c:(.text+0xed9): undefined reference to
`mcrypt_generic_init'
Mcrypt.o:Mcrypt.c:(.text+0x1122): undefined reference to
`mcrypt_generic_end'
Mcrypt.o:Mcrypt.c:(.text+0x12f7): undefined reference to
`mcrypt_enc_get_key_siz
e'
Mcrypt.o:Mcrypt.c:(.text+0x1512): undefined reference to
`mcrypt_enc_is_block_al
gorithm_mode'
Mcrypt.o:Mcrypt.c:(.text+0x15ae): undefined reference to
`mcrypt_enc_is_block_al
gorithm_mode'
Mcrypt.o:Mcrypt.c:(.text+0x1707): undefined reference to
`mcrypt_enc_get_block_s
ize'
Mcrypt.o:Mcrypt.c:(.text+0x1937): undefined reference to
`mcrypt_enc_get_iv_size
'
Mcrypt.o:Mcrypt.c:(.text+0x1bee): undefined reference to `mcrypt_generic'
Mcrypt.o:Mcrypt.c:(.text+0x1ebe): undefined reference to `mdecrypt_generic'
collect2: ld returned 1 exit status
dmake.exe: Error code 129, while making 'blib\arch\auto\Mcrypt\Mcrypt.dll'