From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Oliver Pitzeier" Subject: RE: linux-2.6.0-test6 error during linking Date: Mon, 29 Sep 2003 11:06:46 +0200 Sender: linux-alpha-owner@vger.kernel.org Message-ID: <000901c38669$031d3640$020b10ac@pitzeier.priv.at> References: <200309291148.14567.rezso@rdsor.ro> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200309291148.14567.rezso@rdsor.ro> List-Id: Content-Type: text/plain; charset="us-ascii" To: 'Balint Cristian' , 'Falk Hueffner' , 'Paolo Dovera' Cc: linux-alpha@vger.kernel.org > On Sunday 28 September 2003 23:51, Falk Hueffner wrote: > > Paolo Dovera 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. > > Can post here a patch based on arm ? > > I am courious to see it ! > > Eventualy post it on linux kernel list or to Richard Henderson ? > > Thx a lot ! Please take a look at the LKML. I had the same problem with -test6 and viro already posted a workaround! Best, Oliver