Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Devel-Cover CPAN distribution.

Report information
The Basics
Id: 5614
Status: resolved
Priority: 0/
Queue: Devel-Cover

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

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



Subject: unresolved external symbol _get_elapsed
This broken in 0.36, 0.37 On Win32 HAS_GETTIMEOFDAY is undefined, and get_elapsed() and elapsed() are defined in an #ifdef HAS_GETTIMEOFDAY Time::HiRes provides a gettimeofday function. Checkout "Returning a list of values" in perlcall on how to call it.
Date: Thu, 11 Mar 2004 01:25:58 +0100
From: Paul Johnson <paul [...] pjcj.net>
To: via RT <bug-Devel-Cover [...] rt.cpan.org>
Subject: Re: [cpan #5614] unresolved external symbol _get_elapsed
RT-Send-Cc:
On Wed, Mar 10, 2004 at 03:03:52AM -0500, via RT wrote: Show quoted text
> This message about Devel-Cover was sent to you by PODMASTER <PODMASTER@cpan.org> via rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=5614 > > > This broken in 0.36, 0.37 > > On Win32 HAS_GETTIMEOFDAY is undefined, > and get_elapsed() and elapsed() > are defined in an #ifdef HAS_GETTIMEOFDAY > > Time::HiRes provides a gettimeofday function. > Checkout "Returning a list of values" in perlcall on how to call it.
Thanks for the report. I've had reports of 0.37 building on certain Windows systems - in particular on XP using VC++ 6.0. Could you give me some details about your system? Maybe the output of perl -V? Thanks again, -- Paul Johnson - paul@pjcj.net http://www.pjcj.net
I doubt it'll help much, but here goes (Win2000SP4, MSVS 6.0 SP5) Summary of my perl5 (revision 5 version 6 subversion 1) configuration: Platform: osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef usethreads=undef use5005threads=undef useithreads=define usemultiplicity=define useperlio=undef d_sfio=undef uselargefiles=undef usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef Compiler: cc='cl', ccflags ='-nologo -O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE - DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT - DPERL_IMPLICIT_SYS -DPERL_MSVCRT_READFIX', optimize='-O1 -MD -DNDEBUG', cppflags='-DWIN32' ccversion='', gccversion='', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4 alignbytes=8, usemymalloc=n, prototype=define Linker and Libraries: ld='link', ldflags ='-nologo -nodefaultlib -release - libpath:"C:\Perl\lib\CORE" -machine:x86' libpth=C:\DEVSTU~2\VC98\lib libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl56.lib Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -release - libpath:"C:\Perl\lib\CORE" -machine:x86' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS Locally applied patches: ActivePerl Build 633 Built under MSWin32 Compiled at Jun 17 2002 21:33:05 @INC: C:/Perl/lib C:/Perl/site/lib .
It appears on perl-5.8.x HAS_GETTIMEOFDAY is defined and the underlying function used is DllExport int win32_gettimeofday(struct timeval *tp, void *not_used); it's defined in bleadperl/win32/win32.c