Re: linux-2.6.0-test6 error during linking
From: Falk Hueffner <hidden>
Date: 2003-09-28 20:51:34
From: Falk Hueffner <hidden>
Date: 2003-09-28 20:51:34
Paolo Dovera [off-list ref] writes:
Applied patch-2.6.0-test6 I receive the following error: kernel/built-in.o(.text+0x5068): In function `copy_process': : undefined reference to `sched_clock' kernel/built-in.o(.text+0x506c): more undefined references to `sched_clock' follow
sched_clock is not implemented yet for Alpha. It is supposed to return a high resolution timer. As workaround, you could just copy the implementation from ARM, which simply returns the value based on jiffies. Ideally, one would take into account the cycle counter, but it wraps every few seconds, which has to be taken care of. -- Falk