Skip Menu |

This queue is for tickets about the Win32-API CPAN distribution.

Report information
The Basics
Id: 13671
Status: resolved
Priority: 0/
Queue: Win32-API

People
Owner: cosimo [...] cpan.org
Requestors:
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: cannot make with cygwin make and gcc (itoa unknown)
bash-2.05b$ perl Makefile.pl Checking if your kit is complete... Looks good Writing Makefile for Win32::API::Callback Writing Makefile for Win32::API bash-2.05b$ make 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 make[1]: Entering directory `/cygdrive/d/users/ramming/tools_archive/PerlModules/serialport/Win32/Wi n32-API-0.41/Win32-API-0.41/Callback' /usr/bin/perl.exe /usr/lib/perl5/5.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.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/include -DUSEIMPORTLIB -O3 -DVERSION=\"0.41\" -DXS_VERSION=\"0.41\" "-I/usr/lib/perl5/5.8/cygwin/CORE" Callback.c Callback.xs: In function `XS_Win32__API__Callback_PushSelf': Callback.xs:893: Warnung: Typkonvertierung in Zeiger von Ganzzahl anderer Breite Callback.xs: In function `XS_Win32__API__Callback_DESTROY': Callback.xs:905: Warnung: Typkonvertierung in Zeiger von Ganzzahl anderer Breite Running Mkbootstrap for Win32::API::Callback () chmod 644 Callback.bs rm -f ../blib/arch/auto/Win32/API/Callback/Callback.dll LD_RUN_PATH="" ld2 -s -L/usr/local/lib Callback.o -o ../blib/arch/auto/Win32/API/Callback/Callback .dll /usr/lib/perl5/5.8/cygwin/CORE/libperl.dll.a gcc -shared -o Callback.dll -Wl,--out-implib=libCallback.dll.a -Wl,--export-all-symbols -Wl,--enabl e-auto-import -Wl,--stack,8388608 \ -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 gab 1 als Ende-Status zur"uck perlld: *** system() failed to execute gcc -shared -o Callback.dll -Wl,--out-implib=libCallback.dll.a -Wl,--export-all-symbols -Wl,--enabl e-auto-import -Wl,--stack,8388608 \ -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] Fehler 2 make[1]: Leaving directory `/cygdrive/d/users/ramming/tools_archive/PerlModules/serialport/Win32/Win 32-API-0.41/Win32-API-0.41/Callback' make: *** [subdirs] Fehler 2 bash-2.05b$
From: bunk [...] iat.uni-leipzig.de
Show quoted text
> Callback.o:Callback.c:(.text+0x51e): undefined reference to `_itoa' > Callback.o:Callback.c:(.text+0x966): undefined reference to `_itoa'
#7334 fixed this. The patch available from its bug page is only against 0.41. An inofficial 0.42 with that patch applied is also available (currently 0.44 i out with the same bug still).
This bug is fixed in Win32::API v0.46.