* 2.6.21.5-rt14 wont'compile here
@ 2007-06-17 12:37 Dragan Noveski
2007-06-17 13:10 ` Ingo Molnar
0 siblings, 1 reply; 3+ messages in thread
From: Dragan Noveski @ 2007-06-17 12:37 UTC (permalink / raw)
To: linux-rt-users
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/linux-rt-users@vger.kernel.org/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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2.6.21.5-rt14 wont'compile here
2007-06-17 12:37 2.6.21.5-rt14 wont'compile here Dragan Noveski
@ 2007-06-17 13:10 ` Ingo Molnar
2007-06-17 13:44 ` Dragan Noveski
0 siblings, 1 reply; 3+ messages in thread
From: Ingo Molnar @ 2007-06-17 13:10 UTC (permalink / raw)
To: Dragan Noveski; +Cc: linux-rt-users, Thomas Gleixner
* Dragan Noveski <perodog@gmx.net> 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",
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2.6.21.5-rt14 wont'compile here
2007-06-17 13:10 ` Ingo Molnar
@ 2007-06-17 13:44 ` Dragan Noveski
0 siblings, 0 replies; 3+ messages in thread
From: Dragan Noveski @ 2007-06-17 13:44 UTC (permalink / raw)
To: Ingo Molnar, linux-rt-users
Ingo Molnar wrote:
> * Dragan Noveski <perodog@gmx.net> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-06-17 13:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-17 12:37 2.6.21.5-rt14 wont'compile here Dragan Noveski
2007-06-17 13:10 ` Ingo Molnar
2007-06-17 13:44 ` Dragan Noveski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).