Subject: | Time-timegm-0.01 stuck on Windows: test-1.exe - Entry Point Not Found |
Date: | Thu, 27 Dec 2012 22:19:29 +0200 |
To: | bug-Time-timegm [...] rt.cpan.org |
From: | Gabor Szabo <gabor [...] szabgab.com> |
While all the tests pass and the module installs in the end, during
the build process there is a pop-up error with the title:
test-1.exe - Entry Point Not Found
and text: The procedure entry point_mkgmtime could not be located in
the dynamic link library msvcrt.dll
This happens after printing "collect2: ld returned 1 exit status"
When I click on the pop-up to dismiss it, the installation continues.
Strawberry Perl 5.12.3 32 bit on Windows XP.
This is the output:
CPAN.pm: Building P/PE/PEVANS/Time-timegm-0.01.tar.gz
CPAN: CPAN::Reporter loaded ok (v1.2009)
test-0.o:test-0.c:(.text+0x16): undefined reference to `timegm'
collect2: ld returned 1 exit status
Can't spawn "./test-1.exe": Inappropriate I/O control operation at
C:/strawberry/perl/site/lib/ExtUtils/CChecker.pm line 315.
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Time-timegm' version '0.01'
(C:\strawberry\perl\bin\perl.exe Build.PL exited with 0)
CPAN::Reporter: Build.PL result is 'pass', No errors.
Building Time-timegm
gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing
-mms-bitfields
-DPERL_MSVCRT_READFIX -s -O2 "-DXS_VERSION=\"0.01\""
"-DVERSION=\"0.01\"" -I"C:\strawberry\perl\lib\CORE"
-I"C:\strawberry\c\include" -o "l
ib\Time\timegm.o" "lib\Time\timegm.c"
ExtUtils::Mkbootstrap::Mkbootstrap('blib\arch\auto\Time\timegm\timegm.bs')
Generating script 'lib\Time\timegm.lds'
dlltool --def "lib\Time\timegm.def" --output-exp "lib\Time\timegm.exp"
g++ -o "blib\arch\auto\Time\timegm\timegm.dll"
-Wl,--base-file,"lib\Time\timegm.base" -Wl,--image-base,0x13040000
-mdll -s -L"C:\strawberry\
perl\lib\CORE" -L"C:\strawberry\c\lib" "lib\Time\timegm.lds"
"lib\Time\timegm.exp"
dlltool --def "lib\Time\timegm.def" --output-exp "lib\Time\timegm.exp"
--base-file "lib\Time\timegm.base"
g++ -o "blib\arch\auto\Time\timegm\timegm.dll"
-Wl,--image-base,0x13040000 -mdll -s -L"C:\strawberry\perl\lib\CORE"
-L"C:\strawberry\c\lib"
"lib\Time\timegm.lds" "lib\Time\timegm.exp"
(C:\strawberry\perl\bin\perl.exe ./Build exited with 0)
CPAN::Reporter: Build result is 'pass', No errors.
PEVANS/Time-timegm-0.01.tar.gz
C:\strawberry\perl\bin\perl.exe ./Build -- OK
Running Build test
t\00use.t ..... ok
Use of uninitialized value $monstart in modulus (%) at
C:\strawberry\cpan\build\Time-timegm-0.01-vzwUYh\blib\lib/Time/timegm.pm
line 104.
t\01timegm.t .. ok
t\99pod.t ..... ok
All tests successful.
Files=3, Tests=14, 1 wallclock secs ( 0.00 usr + 0.05 sys = 0.05 CPU)
Result: PASS
(C:\strawberry\perl\bin\perl.exe ./Build test exited with 0)
CPAN::Reporter: Test result is 'pass', All tests successful.
CPAN::Reporter: preparing a CPAN Testers report for Time-timegm-0.01
CPAN::Reporter: sending test report with 'pass' via Metabase
PEVANS/Time-timegm-0.01.tar.gz
C:\strawberry\perl\bin\perl.exe ./Build test -- OK
Running Build install
Building Time-timegm
Files found in blib\arch: installing files in blib\lib into
architecture dependent library tree
Installing C:\strawberry\perl\site\lib\auto\Time\timegm\timegm.bs
Installing C:\strawberry\perl\site\lib\auto\Time\timegm\timegm.dll
Installing C:\strawberry\perl\site\lib\Time\timegm.pm
PEVANS/Time-timegm-0.01.tar.gz
C:\strawberry\perl\bin\perl.exe ./Build install --uninst 1 -- OK