[asterisk-dev] dahdi-linux compile fails on kernel 2.6.34

Christian chris at computersalat.de
Thu Apr 22 05:04:12 CDT 2010


Hi,

trying to build for dahdi-linux, but compile fails.
  CC [M] 
/usr/src/packages/BUILD/dahdi-linux-2.3.0/obj/default/drivers/dahdi/pciradio.o
  CC [M] 
/usr/src/packages/BUILD/dahdi-linux-2.3.0/obj/default/drivers/dahdi/dahdi_echocan_jpah.o
/usr/src/packages/BUILD/dahdi-linux-2.3.0/obj/default/drivers/dahdi/dahdi_echocan_jpah.c:
In function 'echo_can_create':
/usr/src/packages/BUILD/dahdi-linux-2.3.0/obj/default/drivers/dahdi/dahdi_echocan_jpah.c:79:2:
error: implicit declaration of function 'kzalloc'
/usr/src/packages/BUILD/dahdi-linux-2.3.0/obj/default/drivers/dahdi/dahdi_echocan_jpah.c:79:6:
warning: assignment makes pointer from integer without a cast
/usr/src/packages/BUILD/dahdi-linux-2.3.0/obj/default/drivers/dahdi/dahdi_echocan_jpah.c:
In function 'echo_can_free':
/usr/src/packages/BUILD/dahdi-linux-2.3.0/obj/default/drivers/dahdi/dahdi_echocan_jpah.c:93:2:
error: implicit declaration of function 'kfree'
make[4]: ***
[/usr/src/packages/BUILD/dahdi-linux-2.3.0/obj/default/drivers/dahdi/dahdi_echocan_jpah.o]
Error 1
make[3]: ***
[_module_/usr/src/packages/BUILD/dahdi-linux-2.3.0/obj/default/drivers/dahdi]
Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.34-rc4-4-obj/x86_64/default'
make: *** [modules] Error 2

can someone help ?
Or should I open a bug ? Where ?

Kind Regards
Chris



More information about the asterisk-dev mailing list