<div>gcc -MM -E -I/usr/include/zaptel -I/usr/include/asterisk<br></div>
<div> </div>
<div>this should point your make file </div>
<div> </div>
<div><strong> -I/your zaptel source/kernel -I/your asterisk source/include</strong></div>
<div> </div>
<div>make sure to edit this line. then do make clean and make</div>
<div> </div>
<div>should build your chan_ss7.so mtp3d.so and others.</div>
<div> </div>
<div>-Vashkar<br><br></div>
<div class="gmail_quote">On Wed, Jun 24, 2009 at 6:57 PM, caio <span dir="ltr"><<a href="mailto:elcaio@gmail.com">elcaio@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">thanks your answer Vashkar.<br>I also tried with gentoo 32bits -chrooted-, and on slackware (kernel 2.6.30). But same error appeared.<br>
Surely may be a requirement I'm not satisfying.<br><br>Which versions and requirements I need to successfuly compile chan_ss7 v1.1?<br><br><br>I appreciate any help.<br>Thank you.<br><font color="#888888"><br>caio<br>
</font>
<div class="im"><br><br>Vashkar wrote:<br>> chan_ss7 can be compiled on 64 bit<br>><br>> On Tue, Jun 23, 2009 at 1:59 AM, caio <<a href="mailto:elcaio@gmail.com">elcaio@gmail.com</a><br></div>
<div>
<div></div>
<div class="h5">> <mailto:<a href="mailto:elcaio@gmail.com">elcaio@gmail.com</a>>> wrote:<br>><br>> Hi,<br>> I'm trying to compile chan_ss7 sources under Gentoo amd64 platform<br>> but it fails.<br>
> Here I attach you the "make" output. I don't know if chan_ss7 is<br>> 32-only compliant or if I missing something causing this error..<br>><br>> Any suggestion is welcome..<br>><br>
> Regards,<br>> claudio<br>><br>> --------- output ----------<br>> # uname -a<br>> Linux sifon 2.6.25-gentoo-r7newmother #1 SMP Thu Aug 14 21:13:08 ART<br>> 2008 x86_64 Intel(R) Pentium(R) 4 CPU 2.80GHz GenuineIntel GNU/Linux<br>
><br>> # make chan_ss7.so<br>> Makefile:163: .depend: No such file or directory<br>> gcc -MM -E -I/usr/include/zaptel -I/usr/include/asterisk<br>> -I../source/telephony/zaptel/kernel<br>> -I../source/telephony/asterisk/include -g -pipe -Wall<br>
> -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations<br>> -D_REENTRANT -D_GNU_SOURCE -DPIC -fpic -finline-functions -O4<br>> -DCHAN_SS7_VERSION=\"1.1\" chan_ss7.c l4isup.c isup.c mtp.c utils.c<br>
> config.c cluster.c lffifo.c transport.c mtp3io.c astconfig.c<br>> aststubs.c mtp3d.c l4isup.h isup.h mtp.h utils.h config.h cluster.h<br>> lffifo.h transport.h aststubs.h astversion.h mtp3io.h > .depend.new<br>
> && mv -f .depend.new .depend || rm -f .depend.new<br>> In file included from<br>> /usr/include/gentoo-multilib/amd64/bits/string2.h:52,<br>> from /usr/include/bits/string2.h:8,<br>
> from /usr/include/gentoo-multilib/amd64/string.h:423,<br>> from /usr/include/string.h:8,<br>> from chan_ss7.c:29:<br>> /usr/include/asterisk/endian.h:61:2: error: #error Need to know<br>
> endianess<br>> In file included from /usr/include/bits/string2.h:8,<br>> from /usr/include/gentoo-multilib/amd64/string.h:423,<br>> from /usr/include/string.h:8,<br>
> from chan_ss7.c:29:<br>> /usr/include/gentoo-multilib/amd64/bits/string2.h:98:21: error:<br>> missing binary operator before token "("<br>> /usr/include/gentoo-multilib/amd64/bits/string2.h:194:20: error:<br>
> missing binary operator before token "("<br>> ...cut...<br>> ...etc...<br>><br>> pd: I can paste you the full output if you need..<br>><br>><br>> _______________________________________________<br>
> --Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--/" target="_blank">http://www.api-digital.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" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a><br>><br>><br>><br></div></div>> ------------------------------------------------------------------------<br>
<div>
<div></div>
<div class="h5">><br>> _______________________________________________<br>> --Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--/" target="_blank">http://www.api-digital.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" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a><br>
<br><br>_______________________________________________<br>--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--/" target="_blank">http://www.api-digital.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" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a><br></div></div></blockquote></div><br>