public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* rt-preempt: problem compiling rt-preempt 2.6.23.1-rt11 on MIPS
@ 2007-11-15  0:15 Tim Bird
  2007-11-15  0:56 ` Thomas Gleixner
  0 siblings, 1 reply; 11+ messages in thread
From: Tim Bird @ 2007-11-15  0:15 UTC (permalink / raw)
  To: linux kernel; +Cc: Ingo Molnar, Thomas Gleixner

I applied the patches in patch-2.6.23.1-rt11-broken-out.tar.bz2
to a Linux kernel version 2.6.23.1 (along with a few other
board specific patches).

I got the following compilation error:

  GEN     /home/tbird/work/rt-preempt/build/tx49/Makefile
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CALL    /home/tbird/work/rt-preempt/linux-2.6.23.1-rt11/scripts/checksyscalls.sh
  CHK     include/linux/compile.h
  CC      kernel/latency_trace.o
/home/tbird/work/rt-preempt/linux-2.6.23.1-rt11/kernel/latency_trace.c:28:21: error: asm/rtc.h: No such file or directory
make[2]: *** [kernel/latency_trace.o] Error 1
make[1]: *** [kernel] Error 2
make: *** [vmlinux] Error 2

Indeed, there is no include/asm-mips/rtc.h.

I commented out the include line in latency_trace.c, and everything
compiled fine.  I'm not sure what is needed in an arch-specific rtc.h,
but compiling without it for the mips arch caused no problems.
Should I create a patch with a stub for rtc.h for mips?

As an aside, this has me worried.  Is anyone else doing any
RT Preempt testing or work on MIPS platforms, or am I forging
new ground? :-)

 -- Tim

=============================
Tim Bird
Architecture Group Chair, CE Linux Forum
Senior Staff Engineer, Sony Corporation of America
=============================


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

end of thread, other threads:[~2007-11-16 11:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-15  0:15 rt-preempt: problem compiling rt-preempt 2.6.23.1-rt11 on MIPS Tim Bird
2007-11-15  0:56 ` Thomas Gleixner
2007-11-15  1:06   ` Steven Rostedt
2007-11-15  1:20     ` Tim Bird
2007-11-15  1:27       ` Steven Rostedt
2007-11-15  2:24   ` john cooper
2007-11-15 23:31     ` MIPS RT debug support Tim Bird
2007-11-16  1:00       ` Steven Rostedt
2007-11-16  1:55         ` john cooper
2007-11-16  2:25           ` Steven Rostedt
2007-11-16 11:56             ` john cooper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox