[Speex-dev] Speex for armv6

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Mon Feb 2 17:44:09 PST 2009


The error message clearly shows that the compiler thinks it's compiling
for x86. That's why it's trying to use

smlabb %ecx,%ax,%eax,%edx

(hint, the ARM doesn't have ecx, eax, ... registers)

you probably need to add a --host option or something like that. I'm not
that familiar with cross-compiling.

	Jean-Marc

Mijin Cho a écrit :
> Hello,
> 
> I am trying to build a speex library file for armv6 on intel MAC OS.
> 
> I've also put -enable-arm5e-asm whether arm5e-asm works or not.
> 
> ./configure -prefix=/Users/mijin/temp -disable-shared -enable-static - 
> enable-fixed-point -enable-arm5e-asm
> 
> This gives below errors.
> 
>   gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -g - 
> O2 -fvisibility=hidden -MT cb_search.lo -MD -MP -MF .deps/ 
> cb_search.Tpo -c cb_search.c -o cb_search.o
> /var/folders/a9/a95y5WFFGOafslDBRmx2hk+++TM/-Tmp-//ccBD8xFa.s:375:no  
> such instruction: `smulbb %edx,%ax,%si'
> /var/folders/a9/a95y5WFFGOafslDBRmx2hk+++TM/-Tmp-//ccBD8xFa.s:522:no  
> such instruction: `smlabb %eax,%dx,%esi,%ecx'
> /var/folders/a9/a95y5WFFGOafslDBRmx2hk+++TM/-Tmp-//ccBD8xFa.s:555:no  
> such instruction: `smlabb %ecx,%ax,%eax,%edx'
> /var/folders/a9/a95y5WFFGOafslDBRmx2hk+++TM/-Tmp-//ccBD8xFa.s:942:no  
> such instruction: `smulbb %edi,%si,%ax'
> /var/folders/a9/a95y5WFFGOafslDBRmx2hk+++TM/-Tmp-//ccBD8xFa.s:1626:no  
> such instruction: `smlabb %edi,%ax,%eax,%ecx'
> /var/folders/a9/a95y5WFFGOafslDBRmx2hk+++TM/-Tmp-//ccBD8xFa.s:1909:no  
> such instruction: `smulbb %esi,%di,%ax'
> make[2]: *** [cb_search.lo] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> 
> 
> Please give me an advice for the error & compiling for Arm6  
> architecture.
> Thanks.
> 
> Regards,
> Mijin Cho
> _______________________________________________
> Speex-dev mailing list
> Speex-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/speex-dev
> 
> 


More information about the Speex-dev mailing list