chan_ss7 can be compiled on 64 bit<br><br><div class="gmail_quote">On Tue, Jun 23, 2009 at 1:59 AM, caio <span dir="ltr">&lt;<a href="mailto:elcaio@gmail.com">elcaio@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
I&#39;m trying to compile chan_ss7 sources under Gentoo amd64 platform but it fails.<br>
Here I attach you the &quot;make&quot; output. I don&#39;t know if chan_ss7 is 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 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 -I../source/telephony/zaptel/kernel -I../source/telephony/asterisk/include -g -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -DPIC -fpic  -finline-functions -O4 -DCHAN_SS7_VERSION=\&quot;1.1\&quot; chan_ss7.c l4isup.c isup.c mtp.c utils.c config.c cluster.c lffifo.c transport.c mtp3io.c astconfig.c aststubs.c mtp3d.c l4isup.h isup.h mtp.h utils.h config.h cluster.h lffifo.h transport.h aststubs.h astversion.h mtp3io.h &gt; .depend.new &amp;&amp; mv -f .depend.new .depend || rm -f .depend.new<br>

In file included from /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 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: missing binary operator before token &quot;(&quot;<br>
/usr/include/gentoo-multilib/amd64/bits/string2.h:194:20: error: missing binary operator before token &quot;(&quot;<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>
</blockquote></div><br>