[asterisk-dev] dahdi-linux compile fails on kernel 2.6.34
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Thu Apr 22 05:44:08 CDT 2010
On Thu, Apr 22, 2010 at 10:04:12AM +0000, Christian wrote:
> 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 ?
Generally - issues.asterisk.org . That said, I've just reproduced it and
fixed it in svn:
http://svnview.digium.com/svn/dahdi?view=revision&revision=8550
The fix is a one-liner.
Thanks for the report.
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
More information about the asterisk-dev
mailing list