[Speex-dev] not building with --enable-arm-asm -enable-arm5e-asm
Pavel Pavlov
pavel at summit-tech.ca
Tue Aug 9 09:18:21 PDT 2011
> Hi,
>
>
> I am getting the following dump while trying to build for arm
>
>
>./configure --prefix=/root/dump --host=arm-linux --with-gnu-ld
> --disable-static --enable-fixed-point --enable-arm-asm -enable-arm5e-asm
cmd line
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I.. -I/root/dump/include -g -O2 -fvisibility=hidden -MT cb_search.lo -MD -MP -MF .deps/cb_search.Tpo -c cb_search.c -fPIC -DPIC -o .libs/cb_search.o
does not have appropriate cpu or arch param, that's why these instructions are not valid for default arm cpu (which is armv4).
you need to pass -mcpu or -march with appropriate cpu. smlaXX instructions are armv5e. Check inside configure script what you need to pass to be able to properly compile.
More information about the Speex-dev
mailing list