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

Sergio Luis
2008-02-18T04:08:32Z

Peter Teoh wrote:
> 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!!!

just a note. remember try out the 2nd patch I sent a few min after the 1st one, please. I forgot something in the 1st version and reposted it updated.
you can find it there http://lkml.org/lkml/2008/2/17/395
thanks,
-sergio.