Tue Dec 02 10:41:06 2014: Request 100666 was acted upon. Transaction: Ticket created by hugh.w.ba...@lmco.com Queue: Win32-API Subject: Win32::API::Callback Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: hugh.w.ba...@lmco.com Status: new Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=100666 >
While attempting to install on Cygwin, I received the following error: g++ --shared -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--enable-auto-image-base -fstack-protector Callback.o -o ../blib/arch/auto/Win32/API/Callback/Callback.dll \ /usr/lib/perl5/5.14/x86_64-cygwin-threads/CORE/cygperl5_14.dll \ Callback.o:Callback.c:(.text+0x779): undefined reference to `strnicmp' I modified ./build/Win32-API-0.79-g9Rask/Callback/Callback.xs by changing strnicmp to strncasecmp and the install was successful. Environment: Module id = Win32::API CPAN_USERID BULKDD (Daniel Dragan <bul...@cpan.org>) CPAN_VERSION 0.79 CPAN_FILE B/BU/BULKDD/Win32/Win32-API-0.79.tar.gz UPLOAD_DATE 2014-08-25 MANPAGE Win32::API - Perl Win32 API Import Facility INST_FILE /usr/lib/perl5/site_perl/5.14/x86_64-cygwin-threads/Win32/API.pm INST_VERSION 0.79 $ perl -v This is perl 5, version 14, subversion 4 (v5.14.4) built for cygwin-thread-multi (with 7 registered patches, see perl -V for more detail) Copyright 1987-2013, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. $ uname -a CYGWIN_NT-6.1 SSCW04S217L1 1.8.6-2(0.280/5/3) 2014-11-07 09:47 x86_64 Cygwin