Error recompiling the kernel source

patrick_spoons

New Member
Joined
Nov 5, 2020
Messages
2
Reaction score
0
Credits
28
Hi Everyone,

i need to recompile my kernel source to disable the CONFIG_STRICT_DEVMEM feature. I'm on a Raspberry pi 4 Model B running kali linux.
During the steps to recompile the kernel source an error occured.
The current version on my kernel is:
Code:
4.19.118-Re4son-v8l+

First i downloaded from https://www.kernel.org/, i chose the version:
Code:
4.19.155

So, i used make menuconfig to custom my own kernel and after that i run the following command:

Code:
sudo make -j 4 && sudo make modules_install -j 4 && sudo make install -j 4

That gave me the following error:

Code:
The present kernel configuration has modules disabled.
Type 'make config' and enable loadable module support.
Then build a kernel with module support enabled.

make: *** [Makefile:1321: modules_install] Error 1

Can anyone help me to fix that ?
My question is: Have i made the wrong choice about the kernel version ?

Thank you.
 
Last edited:

Members online


Top