LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 05-22-2018, 04:10 AM   #1
PalmCivetMenace
LQ Newbie
 
Registered: May 2018
Posts: 6

Rep: Reputation: Disabled
Unhappy Error when I "make" linux-4.15.3


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 !
 
Old 05-22-2018, 04:28 PM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Duplicate https://www.linuxquestions.org/quest...-a-4175630210/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error when compiling kernel linux-2.6.22 : make: ***[_modinst_post] Error 137 ngoclan.it Linux - Newbie 0 12-11-2007 06:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 04:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration