Error install dahdi-linux


#1

Dear asterisk support

I have installed Asterisk on Centos with the following components:

  • Centos 5.7 kernel: 2.6.18-274.el5 #1 SMP Fri Jul 22 04:43:29 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
  • dahdi-linux-complete-2.5.0.1+2.5.0.1
  • libpri-1.4.12
  • asterisk 1.8.7.1

This is the output when i installed dahdi-linux-complete-2.5.0.1+2.5.0.1:

[root@localhost dahdi-linux-complete-2.5.0.1+2.5.0.1]# make all
make -C linux all
make[1]: Entering directory /share/dahdi-linux-complete-2.5.0.1+2.5.0.1/linux' make -C drivers/dahdi/firmware firmware-loaders make[2]: Entering directory/share/dahdi-linux-complete-2.5.0.1+2.5.0.1/linux/drivers/dahdi/firmware’
[i]make[2]: Leaving directory /share/dahdi-linux-complete-2.5.0.1+2.5.0.1/linux/drivers/dahdi/firmware' You do not appear to have the sources for the 2.6.18-274.el5 kernel installed. make[1]: *** [modules] Error 1 make[1]: Leaving directory/share/dahdi-linux-complete-2.5.0.1+2.5.0.1/linux’
make: *** [all] Error 2
[/i]

Please help me resolve this error?


#2

Hi

and of course you read the error carefully before posting here ?
does the line

give you a clue ?