Hi , Use old version of asterisk-1.6 and dahdi . On Fri, Sep 23, 2011 at 12:22 AM, Nyamul Hassan <nyamul at gmail.com> wrote: > Hi, > > When I compile the above two, I get the following error: > > [CC] chan_dahdi.c -> chan_dahdi.o > chan_dahdi.c:996: error: field ?call_level? has incomplete type > chan_dahdi.c: In function ?dahdi_call?: > chan_dahdi.c:3640: error: ?DAHDI_CALL_LEVEL_SETUP? undeclared (first use in > this function) > chan_dahdi.c:3640: error: (Each undeclared identifier is reported only once > chan_dahdi.c:3640: error: for each function it appears in.) > chan_dahdi.c: In function ?dahdi_hangup?: > chan_dahdi.c:4637: error: ?DAHDI_CALL_LEVEL_IDLE? undeclared (first use in > this function) > chan_dahdi.c: In function ?dahdi_answer?: > chan_dahdi.c:4955: error: ?DAHDI_CALL_LEVEL_CONNECT? undeclared (first use > in this function) > chan_dahdi.c: In function ?dahdi_indicate?: > chan_dahdi.c:7635: error: ?DAHDI_CALL_LEVEL_ALERTING? undeclared (first use > in this function) > chan_dahdi.c:7683: error: ?DAHDI_CALL_LEVEL_PROCEEDING? undeclared (first > use in this function) > chan_dahdi.c: In function ?ss7_start_call?: > chan_dahdi.c:11900: error: ?DAHDI_CALL_LEVEL_PROCEEDING? undeclared (first > use in this function) > chan_dahdi.c:11903: error: ?DAHDI_CALL_LEVEL_SETUP? undeclared (first use > in this function) > chan_dahdi.c:11912: error: ?DAHDI_CALL_LEVEL_IDLE? undeclared (first use in > this function) > chan_dahdi.c: In function ?ss7_linkset?: > chan_dahdi.c:12167: error: ?DAHDI_CALL_LEVEL_ALERTING? undeclared (first > use in this function) > chan_dahdi.c:12409: error: ?DAHDI_CALL_LEVEL_PROCEEDING? undeclared (first > use in this function) > chan_dahdi.c:12521: error: ?DAHDI_CALL_LEVEL_CONNECT? undeclared (first use > in this function) > make[1]: *** [chan_dahdi.o] Error 1 > make: *** [channels] Error 2 > > Looking through the previous posts, there seems to be a similar reported > issue back in September 2009. Has that ever been fixed? > > Regards > HASSAN > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-ss7 mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-ss7 > -- BIPIN RAGHUVANSHI OPERATION HEAD ASTERISK (DEVELOPMENT AND RESEARCH) WWW.EHORIZONS.IN 011-32323262 011-46334633 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-ss7/attachments/20110923/5178e915/attachment.htm>