<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">&lt;<a href="mailto:elcaio@gmail.com">elcaio@gmail.com</a>&gt;</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&#39;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>&gt; chan_ss7 can be compiled on 64 bit<br>&gt;<br>&gt; On Tue, Jun 23, 2009 at 1:59 AM, caio &lt;<a href="mailto:elcaio@gmail.com">elcaio@gmail.com</a><br></div>
<div>
<div></div>
<div class="h5">&gt; &lt;mailto:<a href="mailto:elcaio@gmail.com">elcaio@gmail.com</a>&gt;&gt; wrote:<br>&gt;<br>&gt;     Hi,<br>&gt;     I&#39;m trying to compile chan_ss7 sources under Gentoo amd64 platform<br>&gt;     but it fails.<br>
&gt;     Here I attach you the &quot;make&quot; output. I don&#39;t know if chan_ss7 is<br>&gt;     32-only compliant or if I missing something causing this error..<br>&gt;<br>&gt;     Any suggestion is welcome..<br>&gt;<br>
&gt;     Regards,<br>&gt;     claudio<br>&gt;<br>&gt;     --------- output ----------<br>&gt;     # uname -a<br>&gt;     Linux sifon 2.6.25-gentoo-r7newmother #1 SMP Thu Aug 14 21:13:08 ART<br>&gt;     2008 x86_64 Intel(R) Pentium(R) 4 CPU 2.80GHz GenuineIntel GNU/Linux<br>
&gt;<br>&gt;     # make chan_ss7.so<br>&gt;     Makefile:163: .depend: No such file or directory<br>&gt;     gcc -MM -E -I/usr/include/zaptel -I/usr/include/asterisk<br>&gt;     -I../source/telephony/zaptel/kernel<br>&gt;     -I../source/telephony/asterisk/include -g -pipe -Wall<br>
&gt;     -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations<br>&gt;     -D_REENTRANT -D_GNU_SOURCE -DPIC -fpic  -finline-functions -O4<br>&gt;     -DCHAN_SS7_VERSION=\&quot;1.1\&quot; chan_ss7.c l4isup.c isup.c mtp.c utils.c<br>
&gt;     config.c cluster.c lffifo.c transport.c mtp3io.c astconfig.c<br>&gt;     aststubs.c mtp3d.c l4isup.h isup.h mtp.h utils.h config.h cluster.h<br>&gt;     lffifo.h transport.h aststubs.h astversion.h mtp3io.h &gt; .depend.new<br>
&gt;     &amp;&amp; mv -f .depend.new .depend || rm -f .depend.new<br>&gt;     In file included from<br>&gt;     /usr/include/gentoo-multilib/amd64/bits/string2.h:52,<br>&gt;                    from /usr/include/bits/string2.h:8,<br>
&gt;                    from /usr/include/gentoo-multilib/amd64/string.h:423,<br>&gt;                    from /usr/include/string.h:8,<br>&gt;                    from chan_ss7.c:29:<br>&gt;     /usr/include/asterisk/endian.h:61:2: error: #error Need to know<br>
&gt;     endianess<br>&gt;     In file included from /usr/include/bits/string2.h:8,<br>&gt;                    from /usr/include/gentoo-multilib/amd64/string.h:423,<br>&gt;                    from /usr/include/string.h:8,<br>
&gt;                    from chan_ss7.c:29:<br>&gt;     /usr/include/gentoo-multilib/amd64/bits/string2.h:98:21: error:<br>&gt;     missing binary operator before token &quot;(&quot;<br>&gt;     /usr/include/gentoo-multilib/amd64/bits/string2.h:194:20: error:<br>
&gt;     missing binary operator before token &quot;(&quot;<br>&gt;     ...cut...<br>&gt;     ...etc...<br>&gt;<br>&gt;     pd: I can paste you the full output if you need..<br>&gt;<br>&gt;<br>&gt;     _______________________________________________<br>
&gt;     --Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--/" target="_blank">http://www.api-digital.com--</a><br>&gt;<br>&gt;     asterisk-ss7 mailing list<br>&gt;     To UNSUBSCRIBE or update options visit:<br>
&gt;       <a href="http://lists.digium.com/mailman/listinfo/asterisk-ss7" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a><br>&gt;<br>&gt;<br>&gt;<br></div></div>&gt; ------------------------------------------------------------------------<br>

<div>
<div></div>
<div class="h5">&gt;<br>&gt; _______________________________________________<br>&gt; --Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--/" target="_blank">http://www.api-digital.com--</a><br>&gt;<br>
&gt; asterisk-ss7 mailing list<br>&gt; To UNSUBSCRIBE or update options visit:<br>&gt;    <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>