Codecs compile error on yellowdog

Ron Flory yellowdog-general@lists.terrasoftsolutions.com
Fri Feb 13 12:25:02 2004


Jeff Donovan wrote:

> I must be doing something wrong
> 
> i have installed gsm.rpm manually and tried to recompile, but i still 
> get the same error.
> make[1]: Entering directory `/usr/local/asterisk-0.7.1/codecs'
> make -C gsm lib/libgsm.a
> make[2]: Entering directory `/usr/local/asterisk-0.7.1/codecs/gsm'
> gcc -O6 -march=ppc -fomit-frame-pointer   -c -DNeedFunctionPrototypes=1 
> -funroll-loops -fPIC -DSASR -DNDEBUG    -DWAV49   -I./inc src/add.c
> cc1: invalid option `arch=ppc'

  If you know how, try removing the '-march=ppc' entry from
the makefile.  If you are compiling on a native ppc system
this option is probably redundant anyway...

ron