Hi,
As advised from the below link i have installed asterisk,dahdi-linux,dahdi-tools.
asterisk-peru.com/files/proc … angoma.txt
versions:
Sangoma dialer card
asterisk-1.6.0.6
dahdi-linux-2.1.0.4
dahdi-tools-2.1.0.2
after compiling the above tools, i started compiling the chan_ss7-2.0.0 version.
i have made changes in Makefile as below.
##########################
CFLAGS+=-DDAHDI
INCLUDE+=-I…/dahdi/include
INCLUDE+=-I…/asterisk/include
##########################
while compiling the chan_ss7, i got the below error.could any one please suggest to resolve the problem.
test@localhost ~]# make
Makefile:175: .depend: No such file or directory
gcc -I…/usr/src/dahdi/include -I…/usr/src/asterisk/include -g -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -DPIC -fpic -finline-functions -DCHAN_SS7_VERSION=“2.0.0” -o astversion astversion.c -lpthread
./astversion > astversion.h.tmp && mv -f astversion.h.tmp astversion.h
gcc -MM -E -I…/usr/src/dahdi/include -I…/usr/src/asterisk/include -g -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -DPIC -fpic -finline-functions -DCHAN_SS7_VERSION=“2.0.0” astversion.h chan_ss7.c l4isup.c isup.c mtp.c utils.c config.c configparser.c cluster.c lffifo.c transport.c cli.c dump.c mtp3io.c astversion.c aststubs.c mtp3d.c mtp3cli.c l4isup.h isup.h mtp.h utils.h config.h configparser.h cluster.h lffifo.h cli.h dump.h transport.h aststubs.h mtp3io.h > .depend.new && mv -f .depend.new .depend || rm -f .depend.new
gcc -c -I…/usr/src/dahdi/include -I…/usr/src/asterisk/include -g -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -DPIC -fpic -finline-functions -DCHAN_SS7_VERSION=“2.0.0” -o chan_ss7.o chan_ss7.c
gcc -I…/usr/src/dahdi/include -I…/usr/src/asterisk/include -g -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -DPIC -fpic -finline-functions -DCHAN_SS7_VERSION=“2.0.0” -c -o l4isup.o l4isup.c
l4isup.c: In function âss7_indicateâ:
l4isup.c:1173: error: âAST_CONTROL_T38_PARAMETERSâ undeclared (first use in this function)
l4isup.c:1173: error: (Each undeclared identifier is reported only once
l4isup.c:1173: error: for each function it appears in.)
l4isup.c: In function âss7_writeâ:
l4isup.c:2633: error: request for member âptrâ in something not a structure or union
l4isup.c: In function âsetup_cicâ:
l4isup.c:4863: warning: implicit declaration of function âast_dsp_set_digitmodeâ
make: *** [l4isup.o] Error 1
Thanks for suggestions in advance.
Thanks®ards
Radha Krishnan.M