Error when I "make" linux-4.15.3
I get the following error when I go into the linux-4.15.3 directory
and try to "make" it. Code:
In file included from arch/x86/decode.c:23:0: I am currently in the 8.3.1 - "Installation of the kernel". Please Help. Thanks in advance |
Can you try to use a different kernel, like 4.16.10.
|
Have you deleted linux-4.15.3 directory and then untar the linux-4.15.3.tar.xz file again?
Did you run make defconfig? |
Quote:
I downloaded the 4.16.10 and then tried it. It works !!! Didn't get any errors yet(I dont know how or why). I will keep you guys informed. |
Quote:
I tried it with linux-4.16.10. It is still in the "make" process but I didn't get any errors as of yet. I keep you guys updated. |
Thanks for the quick reply
|
My guess would be a bad download, I'm also in the process of during LFS at home, and haven't had any problems compiling the linux-4.15.3
|
Did all the steps following the kernel installation and installed grub.
When booting, it shows the option to choose the LFS Os. When I click it seems to load with text streaming down and stuff. But it crashes.The Capslock button keeps blinking.I think it is a"kernel panic". Is this because I used linux 4.16.10 ? What can I do here ? |
Probably a driver missing in kernel/something not set right in the config file for the kernel.
|
After doing a fresh untar of your kernel, try these...
Quote:
|
what is the last few lines of test that you see when it crashes?
|
This happened because your "tools/objtool/arch/x86/lib/inat-tables.c" file is probably corrupted.
This file is automatically generated during the build process, see "arch/x86/lib/Makefile". To resolve it, simply delete the file and run "make" again. I've seen it before, but I didn't dig into what caused it. Probably some rare race condition when building the kernel heavily in parallel. |
All times are GMT -5. The time now is 08:04 AM. |