On 09/24/2012 04:04 PM, Franklin Wei wrote: > Here it is > > On 9/24/12, Borislav Petkov <[email protected]> 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.
Your config builds OK for me. Do you see this line in your build output before inat.c is built? GEN arch/x86/lib/inat-tables.c -- ~Randy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

