[asterisk-ss7] error compiling on gentoo amd64
caio
elcaio at gmail.com
Mon Jun 22 14:59:58 CDT 2009
Hi,
I'm trying to compile chan_ss7 sources under Gentoo amd64 platform but it fails.
Here I attach you the "make" output. I don't know if chan_ss7 is 32-only compliant or if I missing something causing this error..
Any suggestion is welcome..
Regards,
claudio
--------- output ----------
# uname -a
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
# make chan_ss7.so
Makefile:163: .depend: No such file or directory
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=\"1.1\" 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 > .depend.new && mv -f .depend.new .depend || rm -f .depend.new
In file included from /usr/include/gentoo-multilib/amd64/bits/string2.h:52,
from /usr/include/bits/string2.h:8,
from /usr/include/gentoo-multilib/amd64/string.h:423,
from /usr/include/string.h:8,
from chan_ss7.c:29:
/usr/include/asterisk/endian.h:61:2: error: #error Need to know endianess
In file included from /usr/include/bits/string2.h:8,
from /usr/include/gentoo-multilib/amd64/string.h:423,
from /usr/include/string.h:8,
from chan_ss7.c:29:
/usr/include/gentoo-multilib/amd64/bits/string2.h:98:21: error: missing binary operator before token "("
/usr/include/gentoo-multilib/amd64/bits/string2.h:194:20: error: missing binary operator before token "("
...cut...
...etc...
pd: I can paste you the full output if you need..
More information about the asterisk-ss7
mailing list