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

From: Borislav Petkov
Date: Mon Sep 24 2012 - 03:59:58 EST


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/