Skip to contentSkip to conversation

2.6.0-test5: Undefined reference to 'monotonic_clock'

DISCUSSION Stephen Torri 2 participants 2 messages Sep 17, 2003

lore
Share & tools
lore
#0 lore raw

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

Signature · 2 lines
Stephen Torri
GPG Key: http://www.cs.wustl.edu/~storri/storri.asc
#1 lore raw
Quoted 7 lines · Stephen Torri

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:

/usr/src/linux-2.6.0-test5/drivers/char/hangcheck-timer.c:87: undefined reference to `monotonic_clock'

Yea, monotonic_clock, which the hangcheck-timer module uses is not yet defined on all arches (only i386/x86-64 at the moment)

Patch to follow soon.

thanks
-john