You are right, Thomas. i want to find the kernel-headers firstly, and then i will find the kernel-devel. and the kernel-headers is needed by gcc.
I have a question: is it ok if the version of kernel-header and kernel-devel are not same?
BR, Kris
On Mon, Aug 27, 2012 at 5:23 PM, Thomas Göttgens tgoettgens@gmail.comwrote:
For building most kernel modules, you need kernel-devel, not kernel-headers.
-----Ursprüngliche Nachricht----- Von: centos-bounces@centos.org [mailto:centos-bounces@centos.org] Im Auftrag von Kris zhang Gesendet: Montag, 27. August 2012 09:42 An: centos@centos.org Betreff: [CentOS] I cannot find the package: kernel-headers-2.6.32-71.29.1 in centos mirror list
Hi guys,
I want to build openvswitch kernel module, and my centos is 6.0, kernel version is 2.6.32-71.29.1.el6.x86_64. But i cannot find the kernel-headers-2.6.32-71.29.1.el6.x86_64. I use the yum command to install kernel-headers package: yum install kernel-headers-2.6.32-71.29.1.el6.x86_64, it says no package available. (BTW My yum repos is coming from http://www.centos.org/modules/tinycontent/index.php?id=30.)
Please help me if you have this package, or plz tell me where can find it.
Thanks in advanced, Kris _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos