Subject: | mingw 4.4.0 can't compile Win32-API-0.58.tar.gz.. |
Date: | Sat, 27 Jun 2009 22:19:06 -0400 |
To: | bug-Win32-API [...] rt.cpan.org |
From: | val <valkoles [...] gmail.com> |
Win32-API-0.58.tar.gz
perl -V
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
Platform:
osname=MSWin32, osvers=5.1, archname=MSWin32-x86-multi-thread
uname=''
config_args='undef'
hint=recommended, useposix=true, d_sigaction=undef
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags =' -s -O2 -DWIN32 -DHAVE_DES_FCRYPT
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing
-DPERL_MSVCRT_READFIX',
optimize='-s -O2',
cppflags='-DWIN32'
ccversion='', gccversion='4.4.0', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='long
long', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='g++', ldflags ='-s -L"d:\soft\perl-5.10.0\lib\CORE"
-L"D:\soft\mingw\lib"'
libpth=D:\soft\mingw\lib
libs=-lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool
-lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid
-lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32
perllibs=-lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32
-lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32
-lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32
libc=-lmsvcrt, so=dll, useshrplib=true, libperl=libperl510.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-mdll -s
-L"d:\soft\perl-5.10.0\lib\CORE" -L"D:\soft\mingw\lib"'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS
PERL_MALLOC_WRAP PL_OP_SLAB_ALLOC USE_ITHREADS
USE_LARGE_FILES USE_PERLIO
Built under MSWin32
Compiled at Jun 27 2009 14:28:03
@INC:
d:/soft/perl-5.10.0/lib
d:/soft/perl-5.10.0/site/lib
.
C:\temp\Win32-API-0.58\Win32-API-0.58>perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Win32::API::Callback
Writing Makefile for Win32::API
C:\temp\Win32-API-0.58\Win32-API-0.58>dmake
cp Type.pm blib\lib\Win32/API/Type.pm
cp Callback.pm blib\lib\Win32/API/Callback.pm
cp Test.pm blib\lib\Win32/API/Test.pm
cp Struct.pm blib\lib\Win32/API/Struct.pm
cp API.pm blib\lib\Win32/API.pm
D:\soft\perl-5.10.0\bin\perl.exe
D:\soft\perl-5.10.0\lib\ExtUtils\xsubpp -typemap
D:\soft\perl-5.10.0\lib\ExtUtils\typemap Callback.xs > Callback.xsc
&& D:\soft\perl-5.10.0\bin\perl.exe -MExtUtils::Command -e mv
Callback.xsc Callback.c
gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing
-DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"0.58\"
-DXS_VERSION=\"0.58\" "-ID:\soft\perl-5.10.0\lib\CORE" Callback.c
Running Mkbootstrap for Win32::API::Callback ()
D:\soft\perl-5.10.0\bin\perl.exe -MExtUtils::Command -e chmod 644 Callback.bs
D:\soft\perl-5.10.0\bin\perl.exe -MExtUtils::Mksymlists \
-e "Mksymlists('NAME'=>\"Win32::API::Callback\", 'DLBASE' =>
'Callback', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { },
'DL_VARS' => []);"
dlltool --def Callback.def --output-exp dll.exp
g++ -o ..\blib\arch\auto\Win32\API\Callback\Callback.dll
-Wl,--base-file -Wl,dll.base -mdll -s -L"d:\soft\perl-5.10.0\lib\CORE"
-L"D:\soft\mingw\lib" Callback.o -Wl,--image-base,0x21000000
D:\soft\perl-5.10.0\lib\CORE\libperl510.a -lmsvcrt -lmoldname
-lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32
-lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion
-lodbc32 -lodbccp32 dll.exp
dlltool --def Callback.def --base-file dll.base --output-exp dll.exp
g++ -o ..\blib\arch\auto\Win32\API\Callback\Callback.dll -mdll -s
-L"d:\soft\perl-5.10.0\lib\CORE" -L"D:\soft\mingw\lib" Callback.o
-Wl,--image-base,0x21000000 D:\soft\perl-5.10.0\lib\CORE\libperl510.a
-lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32
-ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32
-lmpr -lwinmm -lversion -lodbc32 -lodbccp32dll.exp
D:\soft\perl-5.10.0\bin\perl.exe -MExtUtils::Command -e chmod 755
..\blib\arch\auto\Win32\API\Callback\Callback.dll
D:\soft\perl-5.10.0\bin\perl.exe -MExtUtils::Command -e cp Callback.bs
..\blib\arch\auto\Win32\API\Callback\Callback.bs
D:\soft\perl-5.10.0\bin\perl.exe -MExtUtils::Command -e chmod 644
..\blib\arch\auto\Win32\API\Callback\Callback.bs
D:\soft\perl-5.10.0\bin\perl.exe
D:\soft\perl-5.10.0\lib\ExtUtils\xsubpp -typemap
D:\soft\perl-5.10.0\lib\ExtUtils\typemap -typemap typemap API.xs >
API.xsc && D:\soft\perl-5.10.0\bin\perl.exe -MExtUtils::Command -e mv
API.xsc API.c
gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing
-DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"0.58\"
-DXS_VERSION=\"0.58\" "-ID:\soft\perl-5.10.0\lib\CORE" API.c
C:\DOCUME~1\valera\LOCALS~1\Temp\ccDYYCKp.s: Assembler messages:
C:\DOCUME~1\valera\LOCALS~1\Temp\ccDYYCKp.s:3386: Error: junk `.0'
after expression
dmake.EXE: Error code 129, while making 'API.o'
and installation aborts...