can't find the correct kernel support pakage

General support questions including new installations
Post Reply
pdsavard
Posts: 2
Joined: 2011/12/05 21:38:48

can't find the correct kernel support pakage

Post by pdsavard » 2011/12/05 21:41:10

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?

abednegoyulo
Posts: 550
Joined: 2007/12/26 06:24:38
Location: 127.0.0.2 44013

Re: can't find the correct kernel support pakage

Post by abednegoyulo » 2011/12/06 02:32:16

This may help you

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

pdsavard
Posts: 2
Joined: 2011/12/05 21:38:48

Re: can't find the correct kernel support pakage

Post by pdsavard » 2011/12/06 15:12:50

this line worked for me:

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

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

can't find the correct kernel support pakage

Post by pschaff » 2011/12/06 15:50:09

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.

Post Reply