<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div><span>Yes it did. Compiled all the way through. I guess that change should go in the release!</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span>Thank you,</span></div><div> </div><div>Doug<a rel="nofollow" target="_blank" href="http://www.crompton.com/"></a><br></div><div style="display: block;" class="yahoo_quoted"> <br> <br> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;
font-size: 12pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> On Wednesday, February 26, 2014 11:19 AM, Shaun Ruffell <sruffell@digium.com> wrote:<br> </font> </div> <blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;"> <div class="y_msg_container">On Tue, Feb 25, 2014 at 11:50:41PM -0800, Doug wrote:<br>> I am having trouble compiling dahdi-linux-complete-2.9.0+2.9.0.1<br>> on a Raspbien 3.10.25+ kernel. I get the following error -<br>> <br>> /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]<br>> <br>> <br>> /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]<br>> <br>> as well as a lot of warnings like -<br>> <br>> /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]<br>> <br>> I am obviously missing something. Can anyone help? I have the<br>> kernel source and I have configured it and actually compiled it<br>> successfully. The /lib/modules/3.10.25+/build and source links<br>> are pointing to the kernel source.<br><br>Odd...if it is only kzalloc, kmalloc, etc.. I wonder if it is<br>resolved if you include linux/slab.h in include/dahdi/kernel.h.<br>Something like:<br><br> diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h<br> index f2f9ec5..c19aec5 100644<br> --- a/include/dahdi/kernel.h<br> +++ b/include/dahdi/kernel.h<br> @@ -43,6 +43,7
@@<br> #include <linux/cdev.h><br> #include <linux/module.h><br> #include <linux/ioctl.h><br> +#include <linux/slab.h><br> <br> #ifdef CONFIG_DAHDI_NET<br> #include <linux/hdlc.h><br><br>Does that resolve it for you?<br><br>-- <br>Shaun Ruffell<br>Digium, Inc. | Linux Kernel Developer<br>445 Jan Davis Drive NW - Huntsville, AL 35806 - USA<br>Check us out at: www.digium.com & www.asterisk.org<br><br><br></div> </blockquote> </div> </div> </div> </div></body></html>