All of lore.kernel.org
 help / color / mirror / Atom feed
* 2.6.15-rc5-rt4 fails to compile
@ 2005-12-21 22:21 John Rigg
  0 siblings, 0 replies; 2+ messages in thread
From: John Rigg @ 2005-12-21 22:21 UTC (permalink / raw)
  To: linux-kernel; +Cc: Ingo Molnar

I just tried to compile 2.6.15-rc5-rt4 on x86_64 SMP but it failed with the
following error:

kernel/hrtimer.c: In function 'hrtimer_cancel':
kernel/hrtimer.c:673: error: 'HRTIMER_SOFTIRQ' undeclared (first use in this function)
kernel/hrtimer.c:673: error: (Each undeclared identifier is reported only once
kernel/hrtimer.c:673: error: for each function it appears in.)
make[1]: *** [kernel/hrtimer.o] Error 1
make: *** [kernel] Error 2

HRTIMER_SOFTIRQ is defined in include/linux/interrupt.h on line 24, but it's
dependent on
#ifdef CONFIG_HIGH_RES_TIMERS
which I haven't set in my .config. It's inside an enum so I can't
just remove the #ifdef and make it always defined without changing
the value of the following enum element (not sure what will break if
I try that).

John

^ permalink raw reply	[flat|nested] 2+ messages in thread
* Re: 2.6.15-rc5-rt4 fails to compile - question
@ 2005-12-22 23:11 John Rigg
  2005-12-25  9:43 ` 2.6.15-rc5-rt4 fails to compile Jan Engelhardt
  0 siblings, 1 reply; 2+ messages in thread
From: John Rigg @ 2005-12-22 23:11 UTC (permalink / raw)
  To: linux-kernel; +Cc: Ingo Molnar

On Wednesday Dec 21 2005 John Rigg wrote:
> 2.6.14-rc5-rt4
> failed to compile
> on x86_64 SMP
>
> kernel/hrtimer.c: In function 'hrtimer_cancel':
> kernel/hrtimer.c:673: error: 'HRTIMER_SOFTIRQ' undeclared (first use in this function)
> kernel/hrtimer.c:673: error: (Each undeclared identifier is reported only once
> kernel/hrtimer.c:673: error: for each function it appears in.)
> make[1]: *** [kernel/hrtimer.o] Error 1
> make: *** [kernel] Error 2

The obvious way to get it to compile would be to use CONFIG_HIGH_RES_TIMERS=y .
Stupid question: how do I enable this on x86_64 SMP?
I can't find it in menuconfig and if I edit .config manually my edits just
get deleted (obviously I'm doing something wrong). I've tried grepping the
source and googling, but haven't been able to find the answer.

John

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-12-25  9:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-21 22:21 2.6.15-rc5-rt4 fails to compile John Rigg
  -- strict thread matches above, loose matches on Subject: below --
2005-12-22 23:11 2.6.15-rc5-rt4 fails to compile - question John Rigg
2005-12-25  9:43 ` 2.6.15-rc5-rt4 fails to compile Jan Engelhardt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.