Thread (3 messages) 3 messages, 2 authors, 2007-06-17

Re: 2.6.21.5-rt14 wont'compile here

From: Dragan Noveski <hidden>
Date: 2007-06-17 13:45:05

Ingo Molnar wrote:
quoted hunk ↗ jump to hunk
* Dragan Noveski [off-list ref] wrote:

  
quoted
hi list,
since i am trying to compile 2.6.24/25 kernel with the rt-patches, no 
one version will compile here and i always get the same output.
this is how it looks like while trying to compile 2.6.21.4-rt13, but it 
looks the same for 2.6.21.5-rt14 :
    
  
quoted
 LD      .tmp_vmlinux1
kernel/built-in.o:(.data+0x5d8): undefined reference to 
`preempt_mark_thresh'
make: *** [.tmp_vmlinux1] Fehler 1
    
does the patch below fix this?

	Ingo

Index: linux-rt.q/kernel/sysctl.c
===================================================================
--- linux-rt.q.orig/kernel/sysctl.c
+++ linux-rt.q/kernel/sysctl.c
@@ -382,6 +382,8 @@ static ctl_table kern_table[] = {
 		.mode		= 0644,
 		.proc_handler	= &proc_doulongvec_minmax,
 	},
+#endif
+#ifdef CONFIG_EVENT_TRACE
 	{
 		.ctl_name	= CTL_UNNUMBERED,
 		.procname	= "preempt_mark_thresh",
@@ -390,8 +392,6 @@ static ctl_table kern_table[] = {
 		.mode		= 0644,
 		.proc_handler	= &proc_doulongvec_minmax,
 	},
-#endif
-#ifdef CONFIG_EVENT_TRACE
 	{
 		.ctl_name	= CTL_UNNUMBERED,
 		.procname	= "trace_enabled",

  
hi ingo, very much thanks for the patch, it is fixing the issue here.
i applied it to the 2.6.21.5-rt14 with '- p1' and the kernel just 
compiled successfully!

i am hurrying to do a reboot and check the performance now -thanks again!

cheers,
doc
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help