2.6.21.5-rt14 wont'compile here
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 :
.....
GEN .version
CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1
kernel/built-in.o:(.data+0x5d8): undefined reference to `preempt_mark_thresh'
make: *** [.tmp_vmlinux1] Fehler 1
for me this looks related to:
http://www.mail-archive.com/[email protected]/msg00447.html
but i don't know how to fix it myself.
i would appreciate any help in finding out more about this problem or how to solve it.
cheers,
doc
Quoted 10 lines · Dragan Noveski
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
kernel/sysctl.c +2 -2
@@ -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",
Quoted 34 lines · Ingo Molnar
Quoted 10 lines · Dragan Noveski
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 1does the patch below fix this?
Ingo
Index:
linux-rt.q/kernel/sysctl.c
===================================================================kernel/sysctl.c +2
-0@@ -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",
kernel/sysctl.c static ctl_table kern_table[] = { · line 397
Quoted 8 lines
kernel/sysctl.c +0
-2@@ -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