Make all dahdi-2.4.0 and linux kernel 2.6.18-194.17.1.el5

Hi,

I am installing Asterisk-1.6.2.13 on CentOS-5.5.
I first installed CentOS-5.5 and directly updated: yum -y update in addition to:

[code]
yum groupinstall core
yum groupinstall base

yum install gcc gcc-c++ wget bison mysql-devel mysql-server php php-mysql php-pear php-pear-DB php-mbstring nano ntp tftp-server httpd make ncurses-devel libtermcap-devel sendmail sendmail-cf caching-nameserver sox newt-devel libxml2-devel libtiff-devel php-gd audiofile-devel gtk2-devel[/code]

I downloaded all tar files into /usr/src and went into dahdi-linux-complete-2.4.0+2.4.0: after make clean, I failed to make all with the following error:
make -C linux all
make[1]: Entering directory /usr/src/dahdi-linux-complete-2.4.0+2.4.0/linux' make -C drivers/dahdi/firmware firmware-loaders make[2]: Entering directory/usr/src/dahdi-linux-complete-2.4.0+2.4.0/linux/drivers/dahdi/firmware’
make[2]: Leaving directory /usr/src/dahdi-linux-complete-2.4.0+2.4.0/linux/drivers/dahdi/firmware' [b]You do not appear to have the sources for the 2.6.18-194.17.1.el5 kernel installed.[/b] make[1]: *** [modules] Error 1 make[1]: Leaving directory/usr/src/dahdi-linux-complete-2.4.0+2.4.0/linux’
make: *** [all] Error 2

I tried to fix the problem by following this: wiki.centos.org/HowTos/I_need_the_Kernel_Source but didn’t succeed.

P.S. /lib/modules/KERNEL_VERSION/build points to (symbolic link) /usr/src/kernels/ which is not yet there.

Can anyone please explain the problem and try to help fixing it?

Thank you,

Blaise

Here are all the kernel modules I have installed on a centos 5.3 - it may help !

J.

kernel.x86_64 2.6.18-128.el5 installed
kernel-devel.x86_64 2.6.18-128.el5 installed
kernel-headers.x86_64 2.6.18-164.el5 installed
kernel.x86_64 2.6.18-194.17.1.el5 updates
kernel-debug.x86_64 2.6.18-194.17.1.el5 updates
kernel-debug-devel.x86_64 2.6.18-194.17.1.el5 updates
kernel-devel.x86_64 2.6.18-194.17.1.el5 updates
kernel-doc.noarch 2.6.18-194.17.1.el5 updates
kernel-headers.x86_64 2.6.18-194.17.1.el5 updates
kernel-xen.x86_64 2.6.18-194.17.1.el5 updates
kernel-xen-devel.x86_64 2.6.18-194.17.1.el5 updates

so have you done a

yum install kernel-devel

yes !

[quote=“mazzic”]so have you done a

yum install kernel-devel[/quote]

It works after yum install kernel-devel

Thanks for the help

Blaise