[asterisk-ss7] error compiling on gentoo amd64

caio elcaio at gmail.com
Wed Jun 24 07:57:04 CDT 2009


thanks your answer Vashkar.
I also tried with gentoo 32bits -chrooted-, and on slackware (kernel 2.6.30). But same error appeared.
Surely may be a requirement I'm not satisfying.

Which versions and requirements I need to successfuly compile chan_ss7 v1.1?


I appreciate any help.
Thank you.

caio


Vashkar wrote:
> chan_ss7 can be compiled on 64 bit
> 
> On Tue, Jun 23, 2009 at 1:59 AM, caio <elcaio at gmail.com 
> <mailto:elcaio at gmail.com>> wrote:
> 
>     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..
> 
> 
>     _______________________________________________
>     --Bandwidth and Colocation Provided by http://www.api-digital.com--
> 
>     asterisk-ss7 mailing list
>     To UNSUBSCRIBE or update options visit:
>       http://lists.digium.com/mailman/listinfo/asterisk-ss7
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> 
> asterisk-ss7 mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-ss7




More information about the asterisk-ss7 mailing list