2.6.0-test5: Undefined reference to 'monotonic_clock'

From: Stephen Torri
Date: Wed Sep 17 2003 - 04:25:23 EST


I am compiling 2.6.0-test5 on a Alpha box. I grepped for the phrase
'monotonic_clock' because for some reason the file that was to provide
it was missing. The machine is a Alpha EV56 EB164 type, PC164 variation
using the 2.95.4. Here is the error message:

storri@alpha:$ sudo make vmlinux
make[1]: `arch/alpha/kernel/asm-offsets.s' is up to date.
CHK include/linux/compile.h
CC kernel/configs.o
LD kernel/built-in.o
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
drivers/built-in.o: In function `hangcheck_fire':
/usr/src/linux-2.6.0-test5/drivers/char/hangcheck-timer.c:87: undefined
reference to `monotonic_clock'
/usr/src/linux-2.6.0-test5/drivers/char/hangcheck-timer.c:87: undefined
reference to `monotonic_clock'
/usr/src/linux-2.6.0-test5/drivers/char/hangcheck-timer.c:103: undefined
reference to `monotonic_clock'
/usr/src/linux-2.6.0-test5/drivers/char/hangcheck-timer.c:103: undefined
reference to `monotonic_clock'
drivers/built-in.o: In function `pnp_device_probe':
/usr/src/linux-2.6.0-test5/drivers/pnp/driver.c:119: undefined reference
to `monotonic_clock'
drivers/built-in.o:/usr/src/linux-2.6.0-test5/drivers/pnp/driver.c:119:
more undefined references to `monotonic_clock' follow
make: *** [.tmp_vmlinux1] Error 1

Stephen
--
Stephen Torri
GPG Key: http://www.cs.wustl.edu/~storri/storri.asc

Attachment: signature.asc
Description: This is a digitally signed message part