Hi,
I’m quite new at asterisk so please bare with me.
I have a fedora 14 system and I’m trying to compile Asterisk.
I have downlaoded the following:
asterisk 1.6.2.18
dahdi-linux-complete-2.4.1.2+2.4.1
libss7-1.0.2
asterisk-addons-1.6.2.18
I have configure, build and make without problems the dahdi service/modules, also I compile and installed libss7
Now I’m trying to compile asterisk but I keep getting this error:
[LD] chan_local.o -> chan_local.so
[CC] chan_dahdi.c -> chan_dahdi.o
chan_dahdi.c:965:24: error: field ‘call_level’ has incomplete type
chan_dahdi.c: In function ‘dahdi_call’:
chan_dahdi.c:3609:19: error: ‘DAHDI_CALL_LEVEL_SETUP’ undeclared (first use in this function)
chan_dahdi.c:3609:19: note: each undeclared identifier is reported only once for each function it appears in
chan_dahdi.c: In function ‘dahdi_hangup’:
chan_dahdi.c:4604:19: error: ‘DAHDI_CALL_LEVEL_IDLE’ undeclared (first use in this function)
chan_dahdi.c: In function ‘dahdi_answer’:
chan_dahdi.c:4923:24: error: ‘DAHDI_CALL_LEVEL_CONNECT’ undeclared (first use in this function)
chan_dahdi.c: In function ‘dahdi_indicate’:
chan_dahdi.c:7584:24: error: ‘DAHDI_CALL_LEVEL_ALERTING’ undeclared (first use in this function)
chan_dahdi.c:7632:25: error: ‘DAHDI_CALL_LEVEL_PROCEEDING’ undeclared (first use in this function)
chan_dahdi.c: In function ‘ss7_start_call’:
chan_dahdi.c:11703:19: error: ‘DAHDI_CALL_LEVEL_PROCEEDING’ undeclared (first use in this function)
chan_dahdi.c:11706:19: error: ‘DAHDI_CALL_LEVEL_SETUP’ undeclared (first use in this function)
chan_dahdi.c:11715:19: error: ‘DAHDI_CALL_LEVEL_IDLE’ undeclared (first use in this function)
chan_dahdi.c: In function ‘ss7_linkset’:
chan_dahdi.c:11970:26: error: ‘DAHDI_CALL_LEVEL_ALERTING’ undeclared (first use in this function)
chan_dahdi.c:12212:26: error: ‘DAHDI_CALL_LEVEL_PROCEEDING’ undeclared (first use in this function)
chan_dahdi.c:12324:26: error: ‘DAHDI_CALL_LEVEL_CONNECT’ undeclared (first use in this function)
make[1]: *** [chan_dahdi.o] Error 1
make: *** [channels] Error 2
I’ve googled quite a bit but I have not been able to find any clue about the problem
Any help will more than appreciate.
Cheers