* 2.6.20-rc7 (today's git) + -rt3 compilation problem
@ 2007-02-02 9:28 Pieter Palmers
2007-02-02 11:52 ` Gerhard Olsson
0 siblings, 1 reply; 2+ messages in thread
From: Pieter Palmers @ 2007-02-02 9:28 UTC (permalink / raw)
To: Ingo Molnar; +Cc: linux-rt-users
The following occurred when compiling today's git with the
patch-2.6.20-rc7-rt3 patch applied:
arch/i386/mm/built-in.o: In function `flush_cr3_cache':
arch/i386/mm/pgtable.c:303: undefined reference to `paravirt_enabled'
arch/i386/mm/pgtable.c:306: undefined reference to `hypercall'
make: *** [.tmp_vmlinux1] Error 1
Adding
#include <linux/paravirt.h>
to pgtable.c fixed the compilation issue, but is that the correct way to go?
Greets,
Pieter Palmers
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 2.6.20-rc7 (today's git) + -rt3 compilation problem
2007-02-02 9:28 2.6.20-rc7 (today's git) + -rt3 compilation problem Pieter Palmers
@ 2007-02-02 11:52 ` Gerhard Olsson
0 siblings, 0 replies; 2+ messages in thread
From: Gerhard Olsson @ 2007-02-02 11:52 UTC (permalink / raw)
To: Pieter Palmers, linux-rt-users
Another workaround is to modify the config:
CONFIG_PARAVIRT=y
(There was similar problems with SMP a while ago, a hint to enable
functionality related to compile errors should possibly be mentioned
in the wiki?
/Gerhard
On 2/2/07, Pieter Palmers <pieterp@joow.be> wrote:
> The following occurred when compiling today's git with the
> patch-2.6.20-rc7-rt3 patch applied:
>
> arch/i386/mm/built-in.o: In function `flush_cr3_cache':
> arch/i386/mm/pgtable.c:303: undefined reference to `paravirt_enabled'
> arch/i386/mm/pgtable.c:306: undefined reference to `hypercall'
> make: *** [.tmp_vmlinux1] Error 1
>
> Adding
> #include <linux/paravirt.h>
> to pgtable.c fixed the compilation issue, but is that the correct way to go?
>
> Greets,
>
> Pieter Palmers
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-02-02 11:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-02 9:28 2.6.20-rc7 (today's git) + -rt3 compilation problem Pieter Palmers
2007-02-02 11:52 ` Gerhard Olsson
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).