[Asterisk-Users] Compilation issues with s390

Frank Pani fpani0 at ca.ibm.com
Thu May 25 10:22:43 MST 2006





Hi all,

I'm trying to compile asterisk on the mainframe (s390 / s390x) and I am
running into issues.   I was wondering if somebody could give a hand?

I'm thinking that I should be able to do this.  I have noticed that Debian
even has binary RPM's out for Asterisk now.   I'm trying to do this on SuSE
SLES8 (with the 2.4 kernel).

What I see is, an issue that arch=s390 isn't supported and I wonder - is
there a way around this to make asterisk to compile. Again, I'm thinking
that this has to work.

.... compilation runs successfully up to this point:

gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -g3 -Iinclude -I../include -D_REENTRANT
-D_GNU_SOURCE -O6 -fomit-frame-pointer -fPIC -c -DNeedFunctionPrototypes=1
-funroll-loops -O6 -march=s390 -fPIC -DSASR -DNDEBUG -DWAV49 -I./inc
src/add.c
cc1: invalid option `arch=s390'
make[2]: *** [src/add.o] Error 1
make[2]: Leaving directory `/usr/src/asterisk-1.2.7.1/codecs/gsm'
make[1]: *** [gsm/lib/libgsm.a] Error 2
make[1]: Leaving directory `/usr/src/asterisk-1.2.7.1/codecs'
make: *** [subdirs] Error 1




More information about the asterisk-users mailing list