Re: speex on arm
Michael Hope <[email protected]>
| Newsgroups | gmane.comp.audio.compression.speex.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Jun 18, 2011 at 3:46 AM, [email protected] <[email protected]> wrote: > Hi All, > > I'm trying to build speex for the mini2440 board, with this toolchain: http://www.friendlyarm.net/dl.php?file=arm-linux-gcc-4.3.2.tgz > because speex is a dependency of the sip softphone 'linphone'. > > The 'configure' string I'm using is this: > ./configure --prefix=/usr --host=arm-linux --with-gnu-ld --disable-static --enable-fixed-point --enable-arm-asm > > Other dependencies are ncurses, readline and libosip > and they cross-compile fine > but speex gives me an error. > I've tried with speex-1.1.6 and speex-1.2rc1 with same result: > > > > vcpbx:~/arm/speex-1.1.6# make > make all-recursive > make[1]: Entering directory `/root/arm/speex-1.1.6' > Making all in libspeex > make[2]: Entering directory `/root/arm/speex-1.1.6/libspeex' > source='nb_celp.c' object='nb_celp.lo' libtool=yes \ > depfile='.deps/nb_celp.Plo' tmpdepfile='.deps/nb_celp.TPlo' \ > depmode=gcc3 /bin/sh ../depcomp \ > /bin/sh ../libtool --mode=compile arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -c -o nb_celp.lo `test -f 'nb_celp.c' || echo './'`nb_celp.c > arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -c nb_celp.c -MT nb_celp.lo -MD -MP -MF .deps/nb_celp.TPlo -fPIC -DPIC -o .libs/nb_celp.o > /tmp/ccHf25Hb.s: Assembler messages: > /tmp/ccHf25Hb.s:1573: Error: selected processor does not support `smulwb lr,r5,r3' > /tmp/ccHf25Hb.s:2844: Error: selected processor does not support `smulbb r0,r1,r2' > /tmp/ccHf25Hb.s:2871: Error: selected processor does not support `smulbb r2,r1,r3' > /tmp/ccHf25Hb.s:2911: Error: selected processor does not support `smulbb r0,r1,r2' > /tmp/ccHf25Hb.s:4386: Error: selected processor does not support `smulbb r3,r1,r2' > /tmp/ccHf25Hb.s:4435: Error: selected processor does not support `smulbb r3,r0,r2' > /tmp/ccHf25Hb.s:4607: Error: selected processor does not support `smulbb r2,lr,r3' > /tmp/ccHf25Hb.s:4803: Error: selected processor does not support `smulwb r4,ip,r3' > /tmp/ccHf25Hb.s:5614: Error: selected processor does not support `smulbb r0,r1,ip' > /tmp/ccHf25Hb.s:5625: Error: selected processor does not support `smulbb r2,r1,r3' > /tmp/ccHf25Hb.s:6769: Error: selected processor does not support `smulbb r0,r1,r2' > /tmp/ccHf25Hb.s:6780: Error: selected processor does not support `smulbb r2,r1,r3' > make[2]: *** [nb_celp.lo] Error 1 > make[2]: Leaving directory `/root/arm/speex-1.1.6/libspeex' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/root/arm/speex-1.1.6' > make: *** [all] Error 2 > > > can you help me ? > > Please let me know if I can provide more informations. Hi Mike. The S3C2440 is a ARM920T which implements the ARMv4T architecture. The smulbb instruction didn't appear until ARMv5E. You're probably passing --enable-arm5e-asm to configure. Remove it and supply --enable-arm4-asm instead. -- Michael