Hi, >From "INSTALL" file included with source tar file ... there is another way .. [root@asterisk1 chan_ss7]# INCLUDE="-I../zaptel -I../asterisk/include" make chan_ss7.so where you have to point "zaptel and asterisk" source folder with "make chan_ss7.so". Best regards, ..Tusar.. On 5/4/07, Goke Aruna <goksie@xxxxxxxxx> wrote: > > Andy wrote: > > Well, I made a bit of progress - stupidly I had the include pointing > > in the wrong location. When I do a make, I get a bunch of errors... > > does anyone know how to get around this? > > > > [root@asterisk1 chan_ss7]# make > > Makefile:100: .depend: No such file or directory > > gcc -MM -E -I/usr/include/asterisk -I../zaptel -g -pipe -Wall > > -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations > > -D_REENTRANT -D_GNU_SOURCE -DPIC -fpic -DCHAN_SS7_VERSION=\"0.9\" > > chan_ss7.c l4isup.c isup.c mtp.c utils.c config.c cluster.c lffifo.c > > > .depend.new && mv -f .depend.new .depend || rm -f .depend.new > > In file included from /usr/include/libio.h:62, > > from /usr/include/stdio.h:72, > > from chan_ss7.c:29: > > /usr/include/sys/cdefs.h:45:44: missing binary operator before token "(" > > /usr/include/sys/cdefs.h:49:44: missing binary operator before token "(" > > /usr/include/sys/cdefs.h:136:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:194:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:203:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:212:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:221:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:233:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:243:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:252:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:262:20: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:267:20: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:274:19: missing binary operator before token > "(" > > In file included from /usr/include/sys/uio.h:24, > > from /usr/include/sys/socket.h:27, > > from /usr/include/netinet/in.h:24, > > from chan_ss7.c:33: > > /usr/include/sys/types.h:158:20: missing binary operator before token > "(" > > In file included from /usr/include/netinet/in.h:24, > > from chan_ss7.c:33: > > /usr/include/sys/socket.h:65:43: missing binary operator before token > "(" > > In file included from /usr/include/netinet/in.h:362, > > from chan_ss7.c:33: > > /usr/include/asterisk/endian.h:61:2: #error Need to know endianess > > In file included from /usr/include/libio.h:62, > > from /usr/include/stdio.h:72, > > from l4isup.c:28: > > /usr/include/sys/cdefs.h:45:44: missing binary operator before token "(" > > /usr/include/sys/cdefs.h:49:44: missing binary operator before token "(" > > /usr/include/sys/cdefs.h:136:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:194:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:203:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:212:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:221:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:233:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:243:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:252:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:262:20: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:267:20: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:274:19: missing binary operator before token > "(" > > In file included from /usr/include/sys/param.h:42, > > from l4isup.c:30: > > /usr/include/sys/types.h:158:20: missing binary operator before token > "(" > > In file included from l4isup.c:32: > > /usr/include/sys/socket.h:65:43: missing binary operator before token > "(" > > In file included from /usr/include/netinet/in.h:362, > > from /usr/include/netdb.h:28, > > from l4isup.c:35: > > /usr/include/asterisk/endian.h:61:2: #error Need to know endianess > > In file included from /usr/include/libio.h:62, > > from /usr/include/stdio.h:72, > > from isup.c:27: > > /usr/include/sys/cdefs.h:45:44: missing binary operator before token "(" > > /usr/include/sys/cdefs.h:49:44: missing binary operator before token "(" > > /usr/include/sys/cdefs.h:136:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:194:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:203:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:212:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:221:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:233:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:243:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:252:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:262:20: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:267:20: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:274:19: missing binary operator before token > "(" > > In file included from /usr/include/libio.h:62, > > from /usr/include/stdio.h:72, > > from mtp.c:26: > > /usr/include/sys/cdefs.h:45:44: missing binary operator before token "(" > > /usr/include/sys/cdefs.h:49:44: missing binary operator before token "(" > > /usr/include/sys/cdefs.h:136:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:194:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:203:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:212:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:221:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:233:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:243:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:252:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:262:20: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:267:20: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:274:19: missing binary operator before token > "(" > > In file included from /usr/include/sys/uio.h:24, > > from /usr/include/sys/socket.h:27, > > from mtp.c:30: > > /usr/include/sys/types.h:158:20: missing binary operator before token > "(" > > In file included from mtp.c:30: > > /usr/include/sys/socket.h:65:43: missing binary operator before token > "(" > > In file included from /usr/include/netinet/in.h:362, > > from /usr/include/netdb.h:28, > > from mtp.c:33: > > /usr/include/asterisk/endian.h:61:2: #error Need to know endianess > > In file included from /usr/include/libio.h:62, > > from /usr/include/stdio.h:72, > > from utils.c:28: > > /usr/include/sys/cdefs.h:45:44: missing binary operator before token "(" > > /usr/include/sys/cdefs.h:49:44: missing binary operator before token "(" > > /usr/include/sys/cdefs.h:136:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:194:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:203:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:212:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:221:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:233:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:243:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:252:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:262:20: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:267:20: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:274:19: missing binary operator before token > "(" > > In file included from /usr/include/sys/uio.h:24, > > from /usr/include/sys/socket.h:27, > > from /usr/include/netinet/in.h:24, > > from utils.c:32: > > /usr/include/sys/types.h:158:20: missing binary operator before token > "(" > > In file included from /usr/include/netinet/in.h:24, > > from utils.c:32: > > /usr/include/sys/socket.h:65:43: missing binary operator before token > "(" > > In file included from /usr/include/netinet/in.h:362, > > from utils.c:32: > > /usr/include/asterisk/endian.h:61:2: #error Need to know endianess > > In file included from /usr/include/libio.h:62, > > from /usr/include/stdio.h:72, > > from config.c:28: > > /usr/include/sys/cdefs.h:45:44: missing binary operator before token "(" > > /usr/include/sys/cdefs.h:49:44: missing binary operator before token "(" > > /usr/include/sys/cdefs.h:136:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:194:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:203:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:212:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:221:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:233:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:243:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:252:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:262:20: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:267:20: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:274:19: missing binary operator before token > "(" > > In file included from /usr/include/sys/param.h:42, > > from config.c:30: > > /usr/include/sys/types.h:158:20: missing binary operator before token > "(" > > In file included from /usr/include/netinet/in.h:24, > > from /usr/include/arpa/inet.h:23, > > from config.c:31: > > /usr/include/sys/socket.h:65:43: missing binary operator before token > "(" > > In file included from /usr/include/netinet/in.h:362, > > from /usr/include/arpa/inet.h:23, > > from config.c:31: > > /usr/include/asterisk/endian.h:61:2: #error Need to know endianess > > In file included from /usr/include/libio.h:62, > > from /usr/include/stdio.h:72, > > from cluster.c:28: > > /usr/include/sys/cdefs.h:45:44: missing binary operator before token "(" > > /usr/include/sys/cdefs.h:49:44: missing binary operator before token "(" > > /usr/include/sys/cdefs.h:136:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:194:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:203:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:212:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:221:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:233:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:243:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:252:19: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:262:20: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:267:20: missing binary operator before token > "(" > > /usr/include/sys/cdefs.h:274:19: missing binary operator before token > "(" > > In file included from /usr/include/sys/param.h:42, > > from cluster.c:30: > > /usr/include/sys/types.h:158:20: missing binary operator before token > "(" > > In file included from /usr/include/netinet/in.h:24, > > from /usr/include/arpa/inet.h:23, > > from cluster.c:31: > > /usr/include/sys/socket.h:65:43: missing binary operator before token > "(" > > In file included from /usr/include/netinet/in.h:362, > > from /usr/include/arpa/inet.h:23, > > from cluster.c:31: > > /usr/include/asterisk/endian.h:61:2: #error Need to know endianess > > echo SCCPOBJS > > SCCPOBJS > > echo SCCPSRCS > > SCCPSRCS > > [root@asterisk1 chan_ss7]# > > > > > > > > Thanks again for looking! > > _______________________________________________ > > --Bandwidth and Colocation provided by Easynews.com -- > > > > asterisk-ss7 mailing list > > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-ss7 > > > Andy, > > gcc -MM -E -I/usr/include/asterisk -I../zaptel -g -pipe -Wall > > i guess the include dir should be > INCLUDE+=-I../zaptel -I../asterisk/include > > if u install in /usr/src. > > Goksie > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-ss7 mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-ss7 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-ss7/attachments/20070504/538e876c/attachment-0001.htm