Subject: | Win32::API won't build&install under cygwin Win32 |
CPAN.pm: Going to build A/AC/ACALPINI/Win32-API-0.41.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Win32::API::Callback
Writing Makefile for Win32::API
cp Type.pm blib/lib/Win32/API/Type.pm
cp Callback.pm blib/lib/Win32/API/Callback.pm
cp Struct.pm blib/lib/Win32/API/Struct.pm
cp API.pm blib/lib/Win32/API.pm
/var/cache/CPAN/build/Win32-API-0.41/Callback
make[1]: Entering directory `/var/cache/CPAN/build/Win32-API-0.41/Callback'
/usr/bin/perl.exe /usr/lib/perl5/5.8/ExtUtils/xsubpp -typemap
/usr/lib/perl5/
8/ExtUtils/typemap Callback.xs > Callback.xsc && mv Callback.xsc Callback.c
gcc -c -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe
-I/usr/local/includ
-DUSEIMPORTLIB -O3 -DVERSION=\"0.41\" -DXS_VERSION=\"0.41\"
"-I/usr/lib/per
/5.8/cygwin/CORE" Callback.c
Callback.xs: In function `XS_Win32__API__Callback_PushSelf':
Callback.xs:893: warning: cast to pointer from integer of different size
Callback.xs: In function `XS_Win32__API__Callback_DESTROY':
Callback.xs:905: warning: cast to pointer from integer of different size
Running Mkbootstrap for Win32::API::Callback ()
chmod 644 Callback.bs
rm -f ../blib/arch/auto/Win32/API/Callback/Callback.dll
ld2 -s -L/usr/local/lib Callback.o -o
../blib/arch/auto/Win32/API/Callback/C
lback.dll \
/usr/lib/perl5/5.8/cygwin/CORE/libperl.dll.a \
gcc -shared -o Callback.dll -Wl,--out-implib=libCallback.dll.a
-Wl,--export-a
-symbols -Wl,--enable-auto-import -Wl,--stack,8388608
-Wl,--enable-auto-image-
se \
-s -L/usr/local/lib Callback.o /usr/lib/perl5/5.8/cygwin/CORE/libperl.dll.a
Creating library file: libCallback.dll.a
Callback.o:Callback.c:(.text+0x51e): undefined reference to `_itoa'
Callback.o:Callback.c:(.text+0x966): undefined reference to `_itoa'
collect2: ld returned 1 exit status
perlld: *** system() failed to execute
gcc -shared -o Callback.dll -Wl,--out-implib=libCallback.dll.a
-Wl,--export-a
-symbols -Wl,--enable-auto-import -Wl,--stack,8388608
-Wl,--enable-auto-image-
se \
-s -L/usr/local/lib Callback.o /usr/lib/perl5/5.8/cygwin/CORE/libperl.dll.a
make[1]: *** [../blib/arch/auto/Win32/API/Callback/Callback.dll] Error 2
make[1]: Leaving directory `/var/cache/CPAN/build/Win32-API-0.41/Callback'
make: *** [subdirs] Error 2
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible