Re: arch/x86/lib/inat.c Error

From: Franklin Wei
Date: Mon Sep 24 2012 - 19:04:57 EST


Here it is

On 9/24/12, Borislav Petkov <bp@xxxxxxxxx> wrote:
> On Sun, Sep 23, 2012 at 04:34:24PM -0400, Franklin Wei wrote:
>> Something wrong with lines 29-86
>> Error message when compiling:
>> CC arch/x86/lib/inat.o
>> arch/x86/lib/inat.c: In function ‘inat_get_opcode_attribute’:
>> arch/x86/lib/inat.c:29: error: ‘inat_primary_table’ undeclared (first
>> use in this function)
>> arch/x86/lib/inat.c:29: error: (Each undeclared identifier is reported
>> only once
>> arch/x86/lib/inat.c:29: error: for each function it appears in.)
>> arch/x86/lib/inat.c: In function ‘inat_get_escape_attribute’:
>> arch/x86/lib/inat.c:48: error: ‘inat_escape_tables’ undeclared (first
>> use in this function)
>> arch/x86/lib/inat.c: In function ‘inat_get_group_attribute’:
>> arch/x86/lib/inat.c:67: error: ‘inat_group_tables’ undeclared (first
>> use in this function)
>> arch/x86/lib/inat.c: In function ‘inat_get_avx_attribute’:
>> arch/x86/lib/inat.c:86: error: ‘inat_avx_tables’ undeclared (first use
>> in this function)
>> make[1]: *** [arch/x86/lib/inat.o] Error 1
>> make: *** [arch/x86/lib] Error 2
>
> That's because all those _tables thingies are included from a
> "inat-tables.c" in the same directory but it somehow doesn't get
> included?!
>
> Can we get your .config pls? Also, you're doing a "normal" kernel build
> on the command line, right?
>
> Thanks.
>
> --
> Regards/Gruss,
> Boris.
>

Attachment: .config
Description: Binary data