Next, we need to check whether the appropriate versions of the packages for building kernel modules have been installed. In Ubuntu/Debian servers that lack the make tool and GCC, use the following commands to install the packages. You can still run the following commands to check if the packages have been installed and also to check the versions. In CentOS/Redhat servers, GCC and the make tool should be installed by default. For some distributions, such as Fedora 28, they need to be installed separately from kernel headers.Īfter the kernel has finished updating, run the following command to find out the kernel version and the required GCC version. The libelf-dev, libelf-devel, or elfutils-libelf-devel libraries for building kernels starting with 4.15 and configured with CONFIG_UNWINDER_ORC=y.The GCC version must be the one with which the kernel was compiled. The GNU Compiler Collection (GCC) compiler system.The package version must match the kernel version. ![]()
0 Comments
Leave a Reply. |