Re: Problems compiling libmad-0.15.1b on ARM CortexA9
Kurt Roeckx <[email protected]> Thu, 11 Jul 2013 20:06:42 +0200
| Newsgroups | gmane.comp.audio.mad.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Jul 11, 2013 at 05:44:06PM +0200, Drasko DRASKOVIC wrote: > HI all, > I am trying to compile libmad-0.15.1b on Wandboard with Freescale's > i.MX6 Solo processor (ARM Cortex-A9) running Ubuntu Precise LTS. > > First I had to comment out "-fforce-mem" from configure, as suggested here : > http://mpd.wikia.com/wiki/TomTom > > Then I have error of this kind : > /tmp/cczQx5fc.s: Assembler messages: > /tmp/cczQx5fc.s:2653: Error: selected processor does not support Thumb > mode `rsc r2,r2,#0' > /tmp/cczQx5fc.s:2920: Error: selected processor does not support Thumb > mode `rsc sl,sl,#0' > /tmp/cczQx5fc.s:3623: Error: selected processor does not support Thumb > mode `rsc r2,r2,#0' > /tmp/cczQx5fc.s:3838: Error: selected processor does not support Thumb > mode `rsc r7,r7,#0' > make[2]: *** [synth.lo] Error 1 > make[2]: Leaving directory `/root/libmad/libmad-0.15.1b' > make[1]: *** [all-recursive] Error 1 You might want to try: http://patch-tracker.debian.org/patch/series/dl/libmad/0.15.1b-8/Provide-Thumb-2-alternative-code-for-MAD_F_MLN.diff You might also need: http://patch-tracker.debian.org/patch/series/dl/libmad/0.15.1b-8/libmad.thumb.diff Kurt