[Asterisk-Users] Compilation issues with s390
Kevin P. Fleming
kpfleming at digium.com
Thu May 25 10:37:32 MST 2006
Frank Pani wrote:
> .... 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
This happens frequently with the Makefile for the embedded GSM library.
I will add a filter to stop that from happening that will be in the next
release, and if you watch the asterisk-commits mailing list you can
extract the (very small) patch and apply it manually on your system (or
pull down the SVN branch-1.2 code instead of using the 1.2.7.1 tarball).
More information about the asterisk-users
mailing list