[linux-cirrus] EP9302 Cross compiling problems

  • From: "Salvador Gianluca" <g.salvador@xxxxxxxxxx>
  • To: "Cirrus Logic" <linux-cirrus@xxxxxxxxxxxxx>
  • Date: Thu, 27 Jul 2006 17:57:48 +0200

Hi to all the list!
So: i'm trying to cross-compile speex-1.1.12 for my Omniflash board with EP9302 
processor. I used two different toolchains
http://handhelds.org/download/projects/toolchain/arm-linux-gcc-3.4.1.tar.bz2
http://www.codesourcery.com/gnu_toolchains/arm/index_html
but the error i had is the same in both cases:
the ./configure command succeeded, instead the make command got this:

make  all-recursive
make[1]: Entering directory 
`/home/gianluca/arm-simon-install-environment/speex-1.1.12'
Making all in libspeex
make[2]: Entering directory 
`/home/gianluca/arm-simon-install-environment/speex-1.1.12/libspeex'
if /bin/sh ../libtool --mode=compile arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. 
-I../include -I../include -I.. -I/usr/include  -O2 -fno-exceptions  -O2 
-fno-exceptions -MT nb_celp.lo -MD -MP -MF ".deps/nb_celp.Tpo" -c -o nb_celp.lo 
nb_celp.c; \
then mv -f ".deps/nb_celp.Tpo" ".deps/nb_celp.Plo"; else rm -f 
".deps/nb_celp.Tpo"; exit 1; fi
mkdir .libs
 arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. 
-I/usr/include -O2 -fno-exceptions -O2 -fno-exceptions -MT nb_celp.lo -MD -MP 
-MF .deps/nb_celp.Tpo -c nb_celp.c  -fPIC -DPIC -o .libs/nb_celp.o
nb_celp.c: In function `nb_encode':
/usr/include/bits/mathinline.h:530: error: impossible constraint in `asm'
/usr/include/bits/mathinline.h:530: error: impossible constraint in `asm'
make[2]: *** [nb_celp.lo] Error 1
make[2]: Leaving directory 
`/home/gianluca/arm-simon-install-environment/speex-1.1.12/libspeex'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/home/gianluca/arm-simon-install-environment/speex-1.1.12'
make: *** [all] Error 2

Is in your opinion a toolchain-version problem, or do i need a my-board-patch 
for the cross-compiler? In the last case where can i find it?
Any other suggestion?
Thanks in advance,
Gian




Other related posts: