I am trying to compile and install dahdi for the cubieboatd A10 but have the following error when I try to install.
OS is Debian wheezy
root@server1:/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1# make all
make -C linux all
make[1]: Entering directory /usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux' make -C drivers/dahdi/firmware firmware-loaders make[2]: Entering directory/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/dahdi/firmware’
make[2]: Leaving directory /usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/dahdi/firmware' You do not appear to have the sources for the 3.4.67+ kernel installed. make[1]: *** [oct612x-lib] Error 1 make[1]: Leaving directory/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux’
make: *** [all] Error 2
Dahdi & Libpri are used for configure TDM and Digital Cards, I’m going to assume your arm board doesn’t have a minipci or pci bus/connector so you don’t need both libraries. Your arm-board will handle only SIP or IAX2 devices.
Dahdi used to be needed for timing, and is still needed for the superceded meetrme conference application. It is possible that FreePBX may still need it for the latter reason, but this is not a FreePBX support board.
Note you don’t need the full kernel sources. What you will need is a kernel driver development environment, often provided by kernel-devel packages.
You need the ncurses-devel package maybe for debian is libncurses-dev, but you can use the install_prereq script located in the scripts folder inside the source code of asterisk.
looks like i am moving ahead on this. am at the stage of make && make install. Will surely post if I was successful. Next step would be configuring extensions and voip accounts I guess. Can some one post what would be next steps if possible links.
Thanks all for all your help. I have succeeded in compiling and installing asterisk. Can I just copy my config file from my system already running asterisk / freepbx and load them here or do I need to modify them ?
i was with same problem, but my version is diferent dahdi-linux 2.7.0.1+2.7.0.1, and the same error:
You do not appear to have the sources for the 2.x.xx.xxx.x…el6.x86_64 kernel installed.
others kernel and same error continuous…