Re: 2.6.21.5-rt14 wont'compile here

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ingo Molnar wrote:
* Dragan Noveski <perodog@xxxxxxx> wrote:

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 :

 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
-
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux