Yes it did. Compiled all the way through. I guess that change should go in the
release!
Thank you,
Doug
On Wednesday, February 26, 2014 11:19 AM, Shaun Ruffell <[email protected]>
wrote:
On Tue, Feb 25, 2014 at 11:50:41PM -0800, Doug wrote:
>> 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.
>
>Odd...if it is only kzalloc, kmalloc, etc.. I wonder if it is
>resolved if you include linux/slab.h in include/dahdi/kernel.h.
>Something like:
>
> diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h
> index f2f9ec5..c19aec5 100644
> --- a/include/dahdi/kernel.h
> +++ b/include/dahdi/kernel.h
> @@ -43,6 +43,7 @@
> #include <linux/cdev.h>
> #include <linux/module.h>
> #include <linux/ioctl.h>
> +#include <linux/slab.h>
>
> #ifdef CONFIG_DAHDI_NET
> #include <linux/hdlc.h>
>
>Does that resolve it for you?
>
>--
>Shaun Ruffell
>Digium, Inc. | Linux Kernel Developer
>445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
>Check us out at: www.digium.com & www.asterisk.org
>
>
>
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users