Compile of Kernel 4.16 fails
I was trying to upgrade to kernel 4.16 to gain protection against Meltdown and Spectre. I downloaded the source from kernel.org, then I copied my old config file over. When running "make oldconfig", you see this error:
Code:
HOSTCC scripts/basic/fixdep Code:
apt-get install bison Code:
HOSTCC scripts/basic/fixdep Code:
apt-get install flex It appears that I've fixed the problem. I'm just posting the solution in case someone else runs across the same thing. |
Yes, it seems you were missing some packages. If you want to compile software on Debian/Ubuntu derivatives, the best practice is to install the meta package named "build-essential", this will pull in all related tools such as bison, flex, automake, gcc etc (basically everything required to compile software).
|
Quote:
If you read: Code:
/usr/share/doc/build-essential/list Code:
libc-dev Code:
apt-get install dctrl-tools Code:
yes |
Quote:
|
All times are GMT -5. The time now is 08:44 AM. |