I posted this in Raspbien os but maybe someone here could help -
I am having trouble compiling dahdi-linux-complete-2.9.0+184.108.40.206 on a Raspbien 3.10.25+ kernel. I get the following error -
/usr/src/dahdi-linux-complete-2.9.0+220.127.116.11/linux/drivers/dahdi/dahdi-base.c:570:2: error: implicit declaration of function kzalloc [-Werror=implicit-function-declaration]
/usr/src/dahdi-linux-complete-2.9.0+18.104.22.168/linux/drivers/dahdi/dahdi-base.c:1391:2: error: implicit declaration of function kmalloc [-Werror=implicit-function-declaration]
as well as a lot of warnings like -
/usr/src/dahdi-linux-complete-2.9.0+22.214.171.124/linux/drivers/dahdi/dahdi-base.c:570:6: warning: assignment makes pointer from integer without a cast [enabled by default]
I am obviously missing something. Can anyone help? I have the kernel source and I have configured it and actually compiled it successfully. The /lib/modules/3.10.25+/build and source links are pointing to the kernel source.