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