Install the kernel-source package (eg. kernel-source-2.4.21-27.0.2.EL.i386.rpm).
You may also need to add a link /usr/src/linux which points at the installed source. In this case, it would point to /usr/src/linux-2.4.21-27.0.2.EL.
Finally, you will probably need to copy the correct config file for your system from /usr/src/linux-2.4.21-27.0.2.EL/configs to /usr/src/linux-2.4.21-27.0.2.EL/.config. In the case of a single CPU Pentium3/Pentium4 system, you could do:
cp /usr/src/linux-2.4.21-27.0.2.EL/configs/kernel-2.4.21-i686.configs /usr/src/linux-2.4.21-27.0.2.EL/.config
Dave
Sven wrote:
Can anyone tell me how exactly i must install kernel sources so that it works for compiling driver sources? Thanks for help Sven Sommerlatt
CentOS mailing list CentOS@caosity.org http://lists.caosity.org/mailman/listinfo/centos