2.6.20-rc7 (today's git) + -rt3 compilation problem
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
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
Quoted 15 lines · Pieter Palmers
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 toparavirt_enabled' arch/i386/mm/pgtable.c:306: undefined reference tohypercall'
make: *** [.tmp_vmlinux1] Error 1Adding
#include <linux/paravirt.h>
topgtable.cfixed the compilation issue, but is that the correct way to go?Greets,
Pieter Palmers