[Centos] Install Kernel Sorces on CentOS 3.3

David Crim David.Crim at motorola.com
Thu Feb 24 17:11:28 UTC 2005


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 at caosity.org
>http://lists.caosity.org/mailman/listinfo/centos
>  
>




More information about the CentOS mailing list