<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">hello, all of users:<br>there are  header files missed when you compile dahdi with kernel-2.6.29 or 2.6.33. i believe <br>that few files are affected: wctdm.c dahdi-base.c wcb4xxp/base.c, opvxa1200.c...<br>the errors look like these:<br>================================================<br>
<div>from&nbsp;/usr/src/dahdi-linux-complete-2.2.0.2+2.2.0/linux/drivers/dahdi/dahdi-base.c:61:</div>
<div>/usr/src/dahdi-linux-complete-2.2.0.2+2.2.0/linux/include/dahdi/dahdi_config.h:27:28:&nbsp;error:&nbsp;linux/autoconf.h:&nbsp;No&nbsp;such&nbsp;file&nbsp;or&nbsp;directory</div>
<div>/usr/src/dahdi-linux-complete-2.2.0.2+2.2.0/linux/drivers/dahdi/dahdi-base.c:&nbsp;In&nbsp;function&nbsp;'__qevent':</div>
<div>/usr/src/dahdi-linux-complete-2.2.0.2+2.2.0/linux/drivers/dahdi/dahdi-base.c:839:&nbsp;error:&nbsp;'TASK_INTERRUPTIBLE'&nbsp;undeclared&nbsp;(first&nbsp;use&nbsp;in&nbsp;this&nbsp;function)</div>
<div>/usr/src/dahdi-linux-complete-2.2.0.2+2.2.0/linux/drivers/dahdi/dahdi-base.c:839:&nbsp;error:&nbsp;(Each&nbsp;undeclared&nbsp;identifier&nbsp;is&nbsp;reported&nbsp;only&nbsp;once</div>
<div>/usr/src/dahdi-linux-complete-2.2.0.2+2.2.0/linux/drivers/dahdi/dahdi-base.c:839:&nbsp;error:&nbsp;for&nbsp;each&nbsp;function&nbsp;it&nbsp;appears&nbsp;in.)</div>
<div>/usr/src/dahdi-linux-complete-2.2.0.2+2.2.0/linux/drivers/dahdi/dahdi-base.c:&nbsp;In&nbsp;function&nbsp;'schluffen':</div>
<div>/usr/src/dahdi-linux-complete-2.2.0.2+2.2.0/linux/drivers/dahdi/dahdi-base.c:867:&nbsp;error:&nbsp;dereferencing&nbsp;pointer&nbsp;to&nbsp;incomplete&nbsp;type</div>
<div>/usr/src/dahdi-linux-complete-2.2.0.2+2.2.0/linux/drivers/dahdi/dahdi-base.c:867:&nbsp;error:&nbsp;'TASK_INTERRUPTIBLE'&nbsp;undeclared&nbsp;(first&nbsp;use&nbsp;in&nbsp;this&nbsp;function)</div>
<div>/usr/src/dahdi-linux-complete-2.2.0.2+2.2.0/linux/drivers/dahdi/dahdi-base.c:869:&nbsp;error:&nbsp;implicit&nbsp;declaration&nbsp;of&nbsp;function&nbsp;'signal_pending'</div>
<div>/usr/src/dahdi-linux-complete-2.2.0.2+2.2.0/linux/drivers/dahdi/dahdi-base.c:870:&nbsp;error:&nbsp;implicit&nbsp;declaration&nbsp;of&nbsp;function&nbsp;'schedule'</div>
<div>/usr/src/dahdi-linux-complete-2.2.0.2+2.2.0/linux/drivers/dahdi/dahdi-base.c:872:&nbsp;error:&nbsp;dereferencing&nbsp;pointer&nbsp;to&nbsp;incomplete&nbsp;type</div>
<div>/usr/src/dahdi-linux-complete-2.2.0.2+2.2.0/linux/drivers/dahdi/dahdi-base.c:872:&nbsp;error:&nbsp;'TASK_RUNNING'&nbsp;undeclared&nbsp;(first&nbsp;use&nbsp;in&nbsp;this&nbsp;function)</div>
<div>/usr/src/dahdi-linux-complete-2.2.0.2+2.2.0/linux/drivers/dahdi/dahdi-base.c:&nbsp;In&nbsp;function&nbsp;'dahdi_timer_ioctl':</div>
<div>/usr/src/dahdi-linux-complete-2.2.0.2+2.2.0/linux/drivers/dahdi/dahdi-base.c:3418:&nbsp;error:&nbsp;'TASK_INTERRUPTIBLE'&nbsp;undeclared&nbsp;(first&nbsp;use&nbsp;in&nbsp;this&nbsp;function)</div>
<div>/usr/src/dahdi-linux-complete-2.2.0.2+2.2.0/linux/drivers/dahdi/dahdi-base.c:&nbsp;In&nbsp;function&nbsp;'dahdi_chanandpseudo_ioctl':</div>
<div>/usr/src/dahdi-linux-complete-2.2.0.2+2.2.0/linux/drivers/dahdi/dahdi-base.c:4419:&nbsp;error:&nbsp;'TASK_INTERRUPTIBLE'&nbsp;undeclared&nbsp;(first&nbsp;use&nbsp;in&nbsp;this&nbsp;function)</div>
<div>/usr/src/dahdi-linux-complete-2.2.0.2+2.2.0/linux/drivers/dahdi/dahdi-base.c:&nbsp;In&nbsp;function&nbsp;'__dahdi_getbuf_chunk':</div>
<div>/usr/src/dahdi-linux-complete-2.2.0.2+2.2.0/linux/drivers/dahdi/dahdi-base.c:6075:&nbsp;error:&nbsp;'TASK_INTERRUPTIBLE'&nbsp;undeclared&nbsp;(first&nbsp;use&nbsp;in&nbsp;this&nbsp;function)</div>
<div>/usr/src/dahdi-linux-complete-2.2.0.2+2.2.0/linux/drivers/dahdi/dahdi-base.c:&nbsp;In&nbsp;function&nbsp;'__rbs_otimer_expire':</div>
<div>/usr/src/dahdi-linux-complete-2.2.0.2+2.2.0/linux/drivers/dahdi/dahdi-base.c:6263:&nbsp;error:&nbsp;'TASK_INTERRUPTIBLE'&nbsp;undeclared&nbsp;(first&nbsp;use&nbsp;in&nbsp;this&nbsp;function)</div>
<div>/usr/src/dahdi-linux-complete-2.2.0.2+2.2.0/linux/drivers/dahdi/dahdi-base.c:&nbsp;In&nbsp;function&nbsp;'__putbuf_chunk':</div>
<div>/usr/src/dahdi-linux-complete-2.2.0.2+2.2.0/linux/drivers/dahdi/dahdi-base.c:7203:&nbsp;error:&nbsp;'TASK_INTERRUPTIBLE'&nbsp;undeclared&nbsp;(first&nbsp;use&nbsp;in&nbsp;this&nbsp;function)</div>
<div>/usr/src/dahdi-linux-complete-2.2.0.2+2.2.0/linux/drivers/dahdi/dahdi-base.c:&nbsp;In&nbsp;function&nbsp;'dahdi_hdlc_finish':<br>==================================<br>after digging the code,&nbsp; i changed the files and add some linux headers.<br>#include &lt;linux/kernel.h&gt;<br>#include &lt;linux/errno.h&gt;<br><span style="color: rgb(255, 0, 255);">+#include &lt;linux/sched.h&gt;</span><br>#include &lt;linux/module.h&gt;<br>#include &lt;linux/proc_fs.h&gt;<br>=================<br>and add this:<br>#ifdef __KERNEL__<br>#include &lt;linux/version.h&gt;<br>#if LINUX_VERSION_CODE &lt; KERNEL_VERSION(2,6,18)<br>#include &lt;linux/config.h&gt;<br>#else<br><span style="color: rgb(255, 0, 127);">+#include &lt;generated/autoconf.h&gt;</span><br>-<span style="color: rgb(255, 0, 127);">#include &lt;linux/autoconf.h&gt;</span><br>#endif<br>#endif<br>=========================<br><br></div><br>Regards!<br>
zhulizhong</td></tr></table><br>