DAHDI kernel building failure

Showing 1-5 of 5 messages
DAHDI kernel building failure Ric.Rug 2/17/11 1:58 AM
Hi all,
I need to use dahdi (dahdi_dummy device) on my BB-xM.
Following http://www.voip-info.org/wiki/view/DAHDI and R.Nelson
suggestions I tried with:

mkdir svn_repo
cd svn_repo
svn co http://svn.digium.com/svn/dahdi/linux/trunk dahdi-kernel
cd dahdi-kernel

make ARCH=arm KSRC_SEARCH_PATH=/usr/src/linux_2.6.37-x2/ KVERS=2.6.37-
x2

but the result is ever the same:
make -C drivers/dahdi/firmware firmware-loaders
make[1]: Entering directory `/home/riccardo/svn_repo/dahdi-kernel/
drivers/dahdi/firmware'
make[1]: Leaving directory `/home/riccardo/svn_repo/dahdi-kernel/
drivers/dahdi/firmware'
make -C /lib/modules/2.6.37-x2/build SUBDIRS=/home/riccardo/svn_repo/
dahdi-kernel/drivers/dahdi DAHDI_INCLUDE=/home/riccardo/svn_repo/dahdi-
kernel/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules
DAHDI_BUILD_ALL=m
make[1]: Entering directory `/usr/src/linux_2.6.37-x2'
/home/riccardo/svn_repo/dahdi-kernel/drivers/dahdi/Kbuild:98: CPU
Architecture 'arm' does not support VPMADT032 or HPEC. Skipping.
  CC [M]  /home/riccardo/svn_repo/dahdi-kernel/drivers/dahdi/dahdi-
base.o

scripts/genksyms/genksyms: 1: Syntax error: "(" unexpected
make[2]: *** [/home/riccardo/svn_repo/dahdi-kernel/drivers/dahdi/dahdi-
base.o] Error 2
make[1]: *** [_module_/home/riccardo/svn_repo/dahdi-kernel/drivers/
dahdi] Error 2
make[1]: Leaving directory `/usr/src/linux_2.6.37-x2'
make: *** [modules] Error 2
Re: DAHDI kernel building failure Ric.Rug 2/17/11 2:43 AM
Executing genksyms:
-bash: ./genksyms: cannot execute binary file


On 17 Feb, 10:58, "Ric.Rug" <riccardo.ruggi...@gmail.com> wrote:
> Hi all,
> I need to use dahdi (dahdi_dummy device) on my BB-xM.
> Followinghttp://www.voip-info.org/wiki/view/DAHDIand R.Nelson
Re: DAHDI kernel building failure Ric.Rug 2/17/11 3:03 AM
Added many:
#include <linux/slab.h> and #include <linux/dmapool.h>

actually:
/drivers/dahdi/voicebus/voicebus.c:1202: error: implicit declaration
of function "pci_clear_mwi"
/drivers/dahdi/voicebus/voicebus.c:1835: error: implicit declaration
of function "pci_set_mwi"
Re: DAHDI kernel building failure heckfy 10/8/12 1:24 AM
I have the same issue, attempt to build dahdi 2.6.1. on my Angstrom 3.2.30 failed with 

 CC [M]  /usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/dahdi-base.o
/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/dahdi-base.c:93:2: warning: #warning "No CONFIG_BKL is an experimental configuration."
/bin/sh: scripts/genksyms/genksyms: No such file or directory

There is no executables in $(KSRC)/scripts/genksyms/genksyms, source code only.
As I see in 2.6.32 headers on my debian host PC, there is a genksyms script in a rigth place.

Ric.Rug, have you suceeded in compiling it?
Any thoughts would be appreciated
Re: DAHDI kernel building failure heckfy 10/19/12 2:42 AM
Ok, I made those scripts (genksyms and some others requested while making dahdi) with 

make -f $KSRC/Makefile clean
make -f $KSRC/Makefile oldconfig
make -f $KSRC/Makefile scripts/genksyms/
make -f $KSRC/Makefile prepare

Thus, I managed to make all -> make install -> make config DAHDI, but failed to load it:

root@arm:/# dahdi_cfg -vv
DAHDI Tools Version - 2.6.1
Notice: Configuration file is /etc/dahdi/system.conf
line 0: Unable to open master device '/dev/dahdi/ctl'

1 error(s) detected

whereas:
root@arm:/# ls -la /dev/dahdi/ctl
crw-rw---- 1 asterisk asterisk 196, 0 Oct 19 01:36 /dev/dahdi/ctl

Originally there wasn't any files in /dev/dahdi, those are made with 
./dahdi-linux-complete/linux/build_tools/make_static_devs

The same result I had both for Angstrom and Debian wheezy (KVER=3.2.30)

Does anyone happen to make DAHDI work on beaglebone?