diff --git a/CHANGES b/CHANGES index a11c3b4c..14b58a02 100644 --- a/CHANGES +++ b/CHANGES @@ -4,6 +4,7 @@ The following major changes have been made since LKRG 0.9.7: of circumstances, and to use the "weak-modules" script if available so that on RHEL and its rebuilds the same LKRG package build works across different kABI-compatible kernel revisions/builds + *) More complete documentation of the build requirements The following major changes have been made between LKRG 0.9.6 and 0.9.7: diff --git a/README b/README index 6846dd08..720b8013 100644 --- a/README +++ b/README @@ -53,19 +53,22 @@ To build LKRG, you will need the following software: - GNU make -- A C compiler (ideally, the same that was used to build the kernel itself) +- GCC, ideally the same version of it that was used to build the kernel itself + (some people manage with clang, but this is unsupported, so expect issues) + +- libelf, including its "development" sub-package, in case your target kernel + was built with CONFIG_UNWINDER_ORC=y - A kernel build directory corresponding to the Linux kernel image the module - is to run on. For example, under Debian and Ubuntu, each linux-image package - containing a kernel binary has a corresponding linux-headers package with the - required build infrastructure, which you can install with: + is to run on. + +For example, under Debian and Ubuntu you can install all of these with: - sudo apt-get install linux-headers-$(uname -r) + sudo apt-get install make gcc libelf-dev linux-headers-$(uname -r) - Red Hat'ish (e.g. RHEL, CentOS, Fedora) distributions call this package - kernel-devel, which you can install with: +and under Red Hat'ish distributions (e.g. RHEL, CentOS, Fedora) with: - sudo yum install kernel-devel + sudo yum install make gcc elfutils-libelf-devel kernel-devel (For documentation purposes, we prefix commands requiring root access with "sudo", but you may of course run them as root by different means.)