[Asterisk-Users] Build on Itanium fails

Kevin P. Fleming kpfleming at digium.com
Tue Aug 9 09:35:37 MST 2005


Jonas Arndt wrote:

> The problem I am currently facing seem to be in the codecs/gsm 
> directory. I am getting the error:
> ===============================================================
> make[2]: Entering directory `/usr/src/asterisk/codecs/gsm'
> if [ ! -d ./lib ] ; then mkdir ./lib ; fi
> gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes 
> -Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT 
> -D_GNU_SOURCE  -O6   -DZAPTEL_OPTIMIZATIONS          
> -fomit-frame-pointer  -fPIC     -c -DNeedFunctionPrototypes=1 
> -funroll-loops -fPIC -O6 -march=ia64 -DSASR -DNDEBUG    -DWAV49   
> -I./inc src/add.c
> cc1: error: invalid option `arch=ia64'
> ===============================================================

The GSM Makefile is somewhat stupid in this regard; it also fails on 
x86-64 machines. I'd suggest just editing codecs/gsm/Makefile to remove 
the 'arch' flag, since it really won't make a big difference, especially 
if you aren't doing GSM transcoding.



More information about the asterisk-users mailing list