Dahdi installation issue-centIOS-5.7 kernel-2.6.18-194

Hello,

I m having asterisk-1.6.2.22 on my CentOS. My setup is working fine without any issue.
But now I m having a requirement of PRI line. So, I m installing ‘dahdi-linux-complete-2.6.0+2.6.0’

When I try to run the make command, I got the following error :

[quote]make[2]: Leaving directory /home/sources/dahdi-linux-complete-2.6.0+2.6.0/linux/drivers/dahdi/firmware' [b]You do not appear to have the sources for the 2.6.18-194.el5 kernel installed. make[1]: *** [modules] Error 1[/b] make[1]: Leaving directory/home/sources/dahdi-linux-complete-2.6.0+2.6.0/linux’
make: *** [all] Error 2
[/quote]

[quote]cat /etc/redhat-release
CentOS release 5.7 (Final)
[/quote]

[quote]uname -r
2.6.18-194.el5
[/quote]

[quote][root@-01 sources]# rpm -qa | grep kernel
kernel-headers-2.6.18-274.18.1.el5
kernel-debug-2.6.18-274.18.1.el5
kernel-xen-devel-2.6.18-274.18.1.el5
kernel-xen-2.6.18-274.18.1.el5
kernel-PAE-2.6.18-274.18.1.el5
kerneloops-0.11-1.el5.rf
kernel-debug-devel-2.6.18-274.18.1.el5
kernel-devel-2.6.18-274.18.1.el5
kernel-doc-2.6.18-274.18.1.el5
kernel-PAE-devel-2.6.18-274.18.1.el5
kernel-2.6.18-274.18.1.el5
[root@-01 sources]#[/quote]

[quote][root@-01 sources]#yum update kernel
No Packages marked for Update[/quote]

Please suggest me to resolve this ?

-Thanks

Have you rebooted since you last upgrade the kernel? It looks like the running kernel isn’t from a currently installed package. In terms of things like yum, you will get the problem that the kernel can drop out of the normal repository.

Thank you david for your reply.

I have rebooted the system. But still the same issue is there.

I read that the kernel-2.6.18-194.el5 is having Bug. Is it true ?

Should I update my system with the kernel-5.5 and the release-2.6.18-194.el5PAE ?

-Thanks

RPM says you have 2.6.18-274, but make says you are running 2.6.18-194. That typically means that you are booted under an older version of the kernel even though you have updated the kernel to the latest available.

If you issue a ‘uname -r’ from the command line and it reports 2.6.18-194, you need to check your boot (/boot/grub/grub.conf) to make sure it is not defaulting to an older version.

Once you are on the 274 release, re-run the make.