Bug 2901 – link error v2.029 (linux): undefined reference to `CLOCKS_PER_SEC'

Status
RESOLVED
Resolution
INVALID
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2009-04-25T16:06:00Z
Last change time
2015-06-09T01:26:26Z
Assigned to
andrei
Creator
someanon

Comments

Comment #0 by someanon — 2009-04-25T16:06:55Z
I have a link error with v2.029 (linux): undefined reference to `CLOCKS_PER_SEC' and under dmd dir: $ nm ./linux/lib/libdruntime.a | grep CLOCKS_PER_SEC $ nm ./linux/lib/libphobos2.a | grep CLOCKS_PER_SEC shows nothing, is the object file not archived in the library?
Comment #1 by bugzilla — 2010-08-13T02:06:56Z
I don't think this is a valid bug, at least not anymore. Phobos contains no symbol with the name CLOCKS_PER_SEC, and there is no test case in this report. If necessary, reopen with a test case.
Comment #2 by bugzilla — 2010-08-13T02:08:20Z
My bad, there is of course a CLOCKS_PER_SEC in druntime. Still, without a test case, it's hard to do anything about this.