I am having trouble compiling dahdi-linux-complete-2.9.0+2.9.0.1 on a Raspbien 3.10.25+ kernel. I get the following error -
/usr/src/dahdi-linux-complete-2.9.0+2.9.0.1/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+2.9.0.1/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+2.9.0.1/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.