Problem when run make on dahdi-linux-complete-2.3.0+2.3.0

Problem when run make on dahdi-linux-complete
I am running on a fresh install on CentOS 5.4 and trying to install dahdi-linux -complete-2.3.0+2.3.0:

[root@localhost dahdi-linux-complete-2.3.0+2.3.0]# make
make -C linux all
make[1]: Entering directory /usr/src/asterisk/dahdi-linux-complete-2.3.0+2.3.0/linux' make -C drivers/dahdi/firmware firmware-loaders make[2]: Entering directory/usr/src/asterisk/dahdi-linux-complete-2.3.0+2.3.0/linux/drivers/dahdi/firmware’
make[2]: Leaving directory /usr/src/asterisk/dahdi-linux-complete-2.3.0+2.3.0/linux/drivers/dahdi/firmware' You do not appear to have the sources for the 2.6.18-164.el5xen kernel installed. make[1]: *** [modules] Error 1 make[1]: Leaving directory/usr/src/asterisk/dahdi-linux-complete-2.3.0+2.3.0/linux’
make: *** [all] Error 2

When I look at the running Kernel

uname -r

2.6.18-164.el5xen

When # yum install kernel-devel is run
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

What do I need to do to get around this error?

taking a stab here…

your running this kernel: 2.6.18-164.el5xen

try installing

yum install kernel-xen-devel

[quote=“mazzic”]taking a stab here…

your running this kernel: 2.6.18-164.el5xen

try installing

yum install kernel-xen-devel[/quote]

Thanks for your response.
I did try this, it keeps coming back:
[root@localhost ~]# yum install kernel-xen-devel
Loaded plugins: fastestmirror, kmod
Loading mirror speeds from cached hostfile

Any other suggestion, any help is appreciated

i have a try on my linux server:
[root@localhost dahdi-linux-complete-2.3.0+2.3.0]# uname -r
2.6.18-164.el5
[root@localhost dahdi-linux-complete-2.3.0+2.3.0]#
[root@localhost dahdi-linux-complete-2.3.0+2.3.0]# make
pod2man --section 8 xpp_sync > xpp_sync.8 || rm -f xpp_sync.8
pod2man --section 8 lsdahdi > lsdahdi.8 || rm -f lsdahdi.8
pod2man --section 8 xpp_blink > xpp_blink.8 || rm -f xpp_blink.8
pod2man --section 8 dahdi_genconf > dahdi_genconf.8 || rm -f dahdi_genconf.8
pod2man --section 8 dahdi_hardware > dahdi_hardware.8 || rm -f dahdi_hardware.8
pod2man --section 8 twinstar > twinstar.8 || rm -f twinstar.8
make[3]: Leaving directory /usr/src/dahdi-linux-complete-2.3.0+2.3.0/tools/xpp' make[2]: Leaving directory/usr/src/dahdi-linux-complete-2.3.0+2.3.0/tools’
make[1]: Leaving directory `/usr/src/dahdi-linux-complete-2.3.0+2.3.0/tools’

[root@localhost dahdi-linux-complete-2.3.0+2.3.0]# make install
###################################################

DAHDI tools installed successfully.

If you have not done so before, install init scripts with:

make config

###################################################
make[1]: Leaving directory `/usr/src/dahdi-linux-complete-2.3.0+2.3.0/tools’

i suspect that your centos kernel maybe have issue.

Your kernel-xen-devel is newer than the kernel-xen that you are running…

[quote]When I look at the running Kernel

uname -r

2.6.18-164.el5xen[/quote]

The make even states so:

Unless you are in need of this specific version of the kernel, I would update your kernel to the latest.

Otherwise, check out this link concerning getting/installing older kernel-devels… http://wiki.centos.org/HowTos/I_need_the_Kernel_Source

I believe this is the kernel-xen-devel you would need: http://mirror.centos.org/centos-5/5.4/updates/i386/RPMS/kernel-xen-devel-2.6.18-164.15.1.el5.i686.rpm
-Mazzic