Re: What is "ERROR: "LGUEST_PAGES_guest_gdt_desc" [drivers/lguest/lg.ko] undefined!"

Peter Teoh
2008-02-18T03:27:22Z

On 2/18/08, Sergio Luis <sergio@larces.uece.br> wrote:
> Peter Teoh wrote:
> > On 2/17/08, Randy Dunlap <randy.dunlap@oracle.com> wrote:
> >> On Sun, 17 Feb 2008 08:58:39 +0800 Peter Teoh wrote:
> >>
> >>> Can some explain the cause of this error (it has been like this for the
> >>> last two git pull from linus tree):
> >>>
> >>> Kernel: arch/x86/boot/bzImage is ready (#1)
> >>> Building modules, stage 2.
> >>> MODPOST 1589 modules
> >>> ERROR: "LGUEST_PAGES_guest_gdt_desc" [drivers/lguest/lg.ko] undefined!
> >>> ERROR: "LGUEST_PAGES_host_gdt_desc" [drivers/lguest/lg.ko] undefined!
> >>> ERROR: "LGUEST_PAGES_host_cr3" [drivers/lguest/lg.ko] undefined!
> >>> ERROR: "LGUEST_PAGES_regs" [drivers/lguest/lg.ko] undefined!
> >>> ERROR: "LGUEST_PAGES_host_idt_desc" [drivers/lguest/lg.ko] undefined!
> >>> ERROR: "LGUEST_PAGES_guest_gdt" [drivers/lguest/lg.ko] undefined!
> >>> ERROR: "LGUEST_PAGES_host_sp" [drivers/lguest/lg.ko] undefined!
> >>> ERROR: "LGUEST_PAGES_regs_trapnum" [drivers/lguest/lg.ko] undefined!
> >>> ERROR: "LGUEST_PAGES_guest_idt_desc" [drivers/lguest/lg.ko] undefined!
> >>> WARNING: modpost: Found 14 section mismatch(es).
> >>> To see full details build your kernel with:
> >>> 'make CONFIG_DEBUG_SECTION_MISMATCH=y'
> >>> make[1]: *** [__modpost] Error 1
> >>> make: *** [modules] Error 2
> >> Please try the patch at
> >> http://marc.info/?l=linux-kernel&m=120206956919303&w=2
> >> and report on its success/failure. Thanks.
> >>
> >> ---
> >> ~Randy
> >>
> >
> > sorry for the delay....the problem still comes back after the patch...any ideas?
> >
> > THanks.
>
> you could test the patch I just posted at http://lkml.org/lkml/2008/2/17/388
> rusty's patch needs to be applied first.
> -sergio
>
> > --
Good, after the two patch applied the compilation was successful.
Thank you very much!!!