unresolved external symbol _asctime_r then (unresolved external symbol _asctime_r)

[email protected] (DH) Sat, 13 Mar 2004 18:22:19 -0800 (PST)
Newsgroups perl.ponie.dev
Message-ID <[email protected]>
I'm on Win2000 SP4  compiling with MSVS6 SP5
I cd to parrot, run perl Configure.PL, then nmake, and I'm faced with

g:\theperlsource\ponie-2\parrot\src\utils.c(637) : error C2037: left of 'tm_sec' specifies
undefined struct/union 'tm
...

So I do some checking (parrot-1.0 compiles fine on my machine),
and I add to ponie-2/parrot/include/parrot/parrot.h

#  include <time.h>

The I compile again and now i'm hit with


        rem blib/lib/libparrot_s.lib
        link -out:parrot.exe -nologo -nodefaultlib -release    -machine:x86  -debug imcc\main.obj
blib/lib/libparrot_s.l
ib 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
libparrot_s.lib(core_ops.obj) : error LNK2001: unresolved external symbol _asctime_r
libparrot_s.lib(core_ops_prederef.obj) : error LNK2001: unresolved external symbol _asctime_r
libparrot_s.lib(core_ops_switch.obj) : error LNK2001: unresolved external symbol _asctime_r
libparrot_s.lib(core_ops.obj) : error LNK2001: unresolved external symbol _gmtime_r
libparrot_s.lib(core_ops_prederef.obj) : error LNK2001: unresolved external symbol _gmtime_r
libparrot_s.lib(core_ops_switch.obj) : error LNK2001: unresolved external symbol _gmtime_r
libparrot_s.lib(core_ops.obj) : error LNK2001: unresolved external symbol _localtime_r
libparrot_s.lib(core_ops_prederef.obj) : error LNK2001: unresolved external symbol _localtime_r
libparrot_s.lib(core_ops_switch.obj) : error LNK2001: unresolved external symbol _localtime_r
parrot.exe : fatal error LNK1120: 3 unresolved externals
NMAKE : fatal error U1077: 'link' : return code '0x460'

I don't know where asctime_r comes from or how to resolve this

__________________________________
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com