Page 1 of 1

can't find the correct kernel support pakage

Posted: 2011/12/05 21:41:10
by pdsavard
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 of my asterisk. I found only the 2.6.18-274-12.e15.x86_64.rpm (without the 1) file. (i am on 64bits centos).
When I try to make the dahdi I receive this error: You do not appear to have the sources for the 2.6.18-274-12.1.e15 kernel.

any suggestion?

Re: can't find the correct kernel support pakage

Posted: 2011/12/06 02:32:16
by abednegoyulo
This may help you

http://wiki.centos.org/HowTos/I_need_the_Kernel_Source

Re: can't find the correct kernel support pakage

Posted: 2011/12/06 15:12:50
by pdsavard
this line worked for me:

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

can't find the correct kernel support pakage

Posted: 2011/12/06 15:50:09
by pschaff
Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.

Rather than rolling your own, you may want to check out ELRepo's [url=http://elrepo.org/tiki/kmod-dahdi]kmod-dahdi[/url] and [url=http://elrepo.org/tiki/dahdi-tools]dahdi-tools[/url] packages.