[Asterisk-Dev] Problem with asterisk/codecs/gsm/Makefile asterisk/codecs/mp3

Scott Lambert lambert at lambertfam.org
Thu Oct 16 15:26:15 MST 2003


On Thu, Oct 16, 2003 at 04:46:35PM -0500, Tilghman Lesher wrote:
> On Thursday 16 October 2003 16:22, Scott Lambert wrote:
> > scott at DellBSD.inch.com ~/src/VENDOR/digium/asterisk/codecs/gsm
> > 16:56:52 Thu Oct 16 $ gmake
> > gcc  -march= -fomit-frame-pointer   -c -DNeedFunctionPrototypes=1
> > -funroll-loops -fPIC -DSASR -DNDEBUG    -DWAV49   -I./inc src/add.c
> > cc1: bad value () for -march= switch
> > gmake: *** [src/add.o] Error 1
> >
> > I don't see where PROC is set except in asterisk/Makefile, and that
> > is commented out.  This is probably not the right fix but it works
> > for me on FreeBSD 4.8-RELEASE-p13.
> 
> Actually, this is the way you should be doing it:
> 
> +ifndef PROC
> +PROC=$(shell uname -m)
> +endif

That only works correctly after 4.8-RELEASE sometime.  I think a month
ago or so.  4.8-RELEASE and older will give you i386 if on the i386
compat platform.

Oh well, all the patches that went in today which made these patches
worth doing were just summarily backed out.

-- 
Scott Lambert                    KC5MLE                       Unix SysAdmin
lambert at lambertfam.org      




More information about the asterisk-dev mailing list