Kodi Community Forum

Full Version: Compiling fails
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I tried to compile Gotham for Android, but it fails
Code:
# cd $HOME/xbmc-android
# make -C tools/depends/target/xbmc
# make
with this error:
Code:
In file included from libavcodec/dcadec.c:51:0:
libavcodec/dcadec.c: In function 'dca_xbr_parse_frame':
libavcodec/arm/dca.h:37:5: error: can't find a register in class 'CORE_REGS' whi
le reloading 'asm'
     __asm__ ("smmul   %8,  %14, %18           \n"
     ^
libavcodec/arm/dca.h:37:5: error: 'asm' operand has impossible constraints
libavcodec/dcadec.c:1891: confused by earlier errors, bailing out

I am compiling on Ubuntu 12.04.
The forum you want is XBMC > Android Testing & Development

It can be found here: http://forum.xbmc.org/forumdisplay.php?fid=184

But here's the answer http://forum.xbmc.org/showthread.php?tid=170362
I am Compiling with the correct Version, gcc 4.8 and Android NDK r9.
Could this bug have some relation to this bug? https://trac.ffmpeg.org/ticket/2756
We can assure you Android builds fine for us, so you're doing something wrong.

Re-read carefully the Android README.