Hi,
Currently I am at the 8.3 in the LFS Book.
When I "make" from inside the linux-4.15.3 directory I get the following error
Code:
In file included from arch/x86/decode.c:23:0:
arch/x86/lib/inat.c: In function 'inat_get_opcode_attribute':
arch/x86/lib/inat.c:29:9: error: 'inat_primary_table' undeclared (first use in this function)
return inat_primary_table[opcode];
^~~~~~~~~~~~~~~~~~
arch/x86/lib/inat.c:29:9: note: each undeclared identifier is reported only once for each function it appears in
arch/x86/lib/inat.c: In function 'inat_get_escape_attribute':
arch/x86/lib/inat.c:48:10: error: 'inat_escape_tables' undeclared (first use in this function); did you mean 'inat_escape_id'?
table = inat_escape_tables[n][0];
^~~~~~~~~~~~~~~~~~
inat_escape_id
arch/x86/lib/inat.c:44:6: error: variable 'n' set but not used [-Werror=unused-but-set-variable]
int n;
^
arch/x86/lib/inat.c: In function 'inat_get_group_attribute':
arch/x86/lib/inat.c:67:10: error: 'inat_group_tables' undeclared (first use in this function); did you mean 'inat_group_id'?
table = inat_group_tables[n][0];
^~~~~~~~~~~~~~~~~
inat_group_id
arch/x86/lib/inat.c:63:6: error: variable 'n' set but not used [-Werror=unused-but-set-variable]
int n;
^
arch/x86/lib/inat.c: In function 'inat_get_avx_attribute':
arch/x86/lib/inat.c:86:10: error: 'inat_avx_tables' undeclared (first use in this function)
table = inat_avx_tables[vex_m][0];
^~~~~~~~~~~~~~~
In file included from arch/x86/decode.c:23:0:
arch/x86/lib/inat.c: In function 'inat_get_opcode_attribute':
arch/x86/lib/inat.c:30:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
cc1: all warnings being treated as errors
mv: cannot stat '/sources/linux-4.15.3/tools/objtool/arch/x86/.decode.o.tmp': No such file or directory
make[4]: *** [/sources/linux-4.15.3/tools/build/Makefile.build:97: /sources/linux-4.15.3/tools/objtool/arch/x86/decode.o] Error 1
make[3]: *** [/sources/linux-4.15.3/tools/build/Makefile.build:139: arch/x86] Error 2
make[2]: *** [Makefile:46: /sources/linux-4.15.3/tools/objtool/objtool-in.o] Error 2
make[1]: *** [Makefile:63: objtool] Error 2
make: *** [Makefile:1634: tools/objtool] Error 2
I Dont know what to do.
Please Help !