Page 1 of 1

dahdi Installation Problem

PostPosted: Fri Jan 23, 2015 5:15 am
by Need
Hi guys,
Hope You can help me here. Im doing a scratch install on a vps following striker24x7 instruction Vicidial scratch installation in Centos 6.5

Everything has been fine up until i try to install dahdi

This is the error i am getting


Code: Select all
[root@vps134023 dahdi-linux-complete-2.10.0.1+2.10.0.1]# make clean
make -C linux clean
make[1]: Entering directory `/usr/src/asterisk/dahdi-linux-complete-2.10.0.1+2.10.0.1/linux'
make -C drivers/dahdi/firmware clean
make[2]: Entering directory `/usr/src/asterisk/dahdi-linux-complete-2.10.0.1+2.10.0.1/linux/drivers/dahdi/firmware'
rm -f dahdi-fw-*.o
make[2]: Leaving directory `/usr/src/asterisk/dahdi-linux-complete-2.10.0.1+2.10.0.1/linux/drivers/dahdi/firmware'
make -C  M='/usr/src/asterisk/dahdi-linux-complete-2.10.0.1+2.10.0.1/linux/drivers/dahdi/oct612x' clean
make: Entering an unknown directory
make: *** M=/usr/src/asterisk/dahdi-linux-complete-2.10.0.1+2.10.0.1/linux/drivers/dahdi/oct612x: No such file or directory.  Stop.
make: Leaving an unknown directory
make[1]: *** [clean] Error 2
make[1]: Leaving directory `/usr/src/asterisk/dahdi-linux-complete-2.10.0.1+2.10.0.1/linux'
make: *** [clean] Error 2


i am nearly at the end of the installation and everything seems to be going to plan except for this.

hope someone can shed some light on it for me ?

if you need anymore info please ask

Thanks in advance
Need

Re: dahdi Installation Problem

PostPosted: Thu Jan 29, 2015 9:28 am
by DomeDan
I would guess you need the header-files, this topic suggest that: http://forums.asterisk.org/viewtopic.php?f=1&t=90744
have no experience with centos, but with the help of google I guess you only need to install the package: kernel-devel http://wiki.centos.org/HowTos/I_need_the_Kernel_Source

Re: dahdi Installation Problem

PostPosted: Wed Aug 19, 2015 3:08 pm
by jatomusic
I am having the same exact make issue, even trying different versions of dahdi I get

make clean
make -C linux clean
make[1]: Entering directory `/usr/src/asterisk/dahdi-linux-complete-2.8.0.1+2.8.0/linux'
make -C drivers/dahdi/firmware clean
make[2]: Entering directory `/usr/src/asterisk/dahdi-linux-complete-2.8.0.1+2.8.0/linux/drivers/dahdi/firmware'
rm -f dahdi-fw-*.o
make[2]: Leaving directory `/usr/src/asterisk/dahdi-linux-complete-2.8.0.1+2.8.0/linux/drivers/dahdi/firmware'
make -C M='/usr/src/asterisk/dahdi-linux-complete-2.8.0.1+2.8.0/linux/drivers/dahdi/oct612x' clean
make: Entering an unknown directory
make: *** M=/usr/src/asterisk/dahdi-linux-complete-2.8.0.1+2.8.0/linux/drivers/dahdi/oct612x: No such file or directory. Stop.
make: Leaving an unknown directory
make[1]: *** [clean] Error 2
make[1]: Leaving directory `/usr/src/asterisk/dahdi-linux-complete-2.8.0.1+2.8.0/linux'
make: *** [clean] Error 2



Its driving me craxy, I see its looking at a directory and stating it is unknown when the directory is clearly there.

I am not familiar exactly with what the make process does to trouble shoot it well. Did you ever figure this out need?

Thanks,