Hi,<div><br></div><div>When I compile the above two, I get the following error:</div><div><br></div><div><div><font class="Apple-style-span" face="'courier new', monospace" size="1"> [CC] chan_dahdi.c -> chan_dahdi.o</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace" size="1">chan_dahdi.c:996: error: field âcall_levelâ has incomplete type</font></div><div><font class="Apple-style-span" face="'courier new', monospace" size="1">chan_dahdi.c: In function âdahdi_callâ:</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace" size="1">chan_dahdi.c:3640: error: âDAHDI_CALL_LEVEL_SETUPâ undeclared (first use in this function)</font></div><div><font class="Apple-style-span" face="'courier new', monospace" size="1">chan_dahdi.c:3640: error: (Each undeclared identifier is reported only once</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace" size="1">chan_dahdi.c:3640: error: for each function it appears in.)</font></div><div><font class="Apple-style-span" face="'courier new', monospace" size="1">chan_dahdi.c: In function âdahdi_hangupâ:</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace" size="1">chan_dahdi.c:4637: error: âDAHDI_CALL_LEVEL_IDLEâ undeclared (first use in this function)</font></div><div><font class="Apple-style-span" face="'courier new', monospace" size="1">chan_dahdi.c: In function âdahdi_answerâ:</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace" size="1">chan_dahdi.c:4955: error: âDAHDI_CALL_LEVEL_CONNECTâ undeclared (first use in this function)</font></div><div><font class="Apple-style-span" face="'courier new', monospace" size="1">chan_dahdi.c: In function âdahdi_indicateâ:</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace" size="1">chan_dahdi.c:7635: error: âDAHDI_CALL_LEVEL_ALERTINGâ undeclared (first use in this function)</font></div><div><font class="Apple-style-span" face="'courier new', monospace" size="1">chan_dahdi.c:7683: error: âDAHDI_CALL_LEVEL_PROCEEDINGâ undeclared (first use in this function)</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace" size="1">chan_dahdi.c: In function âss7_start_callâ:</font></div><div><font class="Apple-style-span" face="'courier new', monospace" size="1">chan_dahdi.c:11900: error: âDAHDI_CALL_LEVEL_PROCEEDINGâ undeclared (first use in this function)</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace" size="1">chan_dahdi.c:11903: error: âDAHDI_CALL_LEVEL_SETUPâ undeclared (first use in this function)</font></div><div><font class="Apple-style-span" face="'courier new', monospace" size="1">chan_dahdi.c:11912: error: âDAHDI_CALL_LEVEL_IDLEâ undeclared (first use in this function)</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace" size="1">chan_dahdi.c: In function âss7_linksetâ:</font></div><div><font class="Apple-style-span" face="'courier new', monospace" size="1">chan_dahdi.c:12167: error: âDAHDI_CALL_LEVEL_ALERTINGâ undeclared (first use in this function)</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace" size="1">chan_dahdi.c:12409: error: âDAHDI_CALL_LEVEL_PROCEEDINGâ undeclared (first use in this function)</font></div><div><font class="Apple-style-span" face="'courier new', monospace" size="1">chan_dahdi.c:12521: error: âDAHDI_CALL_LEVEL_CONNECTâ undeclared (first use in this function)</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace" size="1">make[1]: *** [chan_dahdi.o] Error 1</font></div><div><font class="Apple-style-span" face="'courier new', monospace" size="1">make: *** [channels] Error 2</font></div>
</div><div><br></div><div>Looking through the previous posts, there seems to be a similar reported issue back in September 2009. Has that ever been fixed?</div><div><br></div><div>Regards</div><div>HASSAN</div>