Page 1 of 1

Issues compiling the kernel

Posted: Mon Mar 18, 2024 5:40 am
by Caramel

I started the compilation of the kernel 5.15.148 on EasyOS 5.7 to create and populate include/config and include/generated directories in the source directory of the kernel (/usr/src/linux-5.15.148).
I assume they are necessary for the compilation of a module (viewtopic.php?p=114268#p114268) (These directories exist in the distro MX Linux)

Instructions followed : https://distro.ibiblio.org/easyos/sourc ... readme.htm
Kernel Sources : https://distro.ibiblio.org/easyos/sourc ... -20240203/

I installed build-kernel, copied the source tarball in /usr/src.

Then in /usr/src i launched the script 1kernel.sh. The expansion and the patching of the souces was OK.

Then there is a prompt to launch the configuration of the kernel. I just exit the configuration window without mofify anything.

The compilation started. My PC is old and not powerful. After more of 18 hours, not yet finished.

Problem : the size of the directory /usr/src/linux-5.15.148 is already more of 1.7 GB !

EDIT : Compilation finished in over 30 hours. The size of linux-5.15.148 is 2.5GB (according to "du -h /usr/src/linux-5.1.148")

Is not changing the kernel configuration a mistake?