Dahdi and Centos kernel-del


#1

I try to make and install the Dahdi Drive on a CentOs 5.7.
The kernel is : 2.6.18-274.12.1.e15

But in the Kernel.org i can’t find the correct devel rpm to compile the dahdi source. I found only the 2.6.18-274-12.e15.x86_64.rpm file. (i am on 64bits centos).
When I try to make the dahdi I receive: You do not appear to have the sources for the 2.6.18-274-12.1.e15 kernel.

Any suggestion?
Thanks


#2

Does the following command work on your system?

$ yum install kernel-devel-$(uname -r)


#3

That worked for me! thank for your help!