Problem in installing dahdi

I want to install dahdi, Libpri and asterisk in my vmware workastation Centos linux.
But in installing dahdi, i encontered with 2 error :

root@dhcppc1 dahdi-linux-complete-2.6.1+2.6.1]# make
make -C linux all
make[1]: Entering directory /usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux' make -C drivers/dahdi/firmware firmware-loaders make[2]: Entering directory/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/firmware’
make[2]: Leaving directory /usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/firmware' You do not appear to have the sources for the 2.6.32-358.11.1.el6.i686 kernel installed. make[1]: *** [modules] Error 1 make[1]: Leaving directory/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux’
make: *** [all] Error 2
root@dhcppc1 dahdi-linux-complete-2.6.1+2.6.1]#

What are these errors? and how can i fix them?
With Regards.Mojtaba

Google can help with that Question is a very common issue. As the message said you need the sources of your kernel so install it by running ‘yum -y install kernel-devel’

Pay attention that you need the same kernel-devel version as your kernel . If its not in production use or you dont have any restriction on updating kernel I suggest you to run "yum install kernel kernel-devel "

Than you very much :smile:)

Why are you trying to install them on a system that can’t use them?