Kodi Community Forum
Android build xbmc for android under Ubuntu 13.04 with Errors, crystax r9,gcc 4.7.3 - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Android (https://forum.kodi.tv/forumdisplay.php?fid=164)
+---- Thread: Android build xbmc for android under Ubuntu 13.04 with Errors, crystax r9,gcc 4.7.3 (/showthread.php?tid=170362)



build xbmc for android under Ubuntu 13.04 with Errors, crystax r9,gcc 4.7.3 - Tdjdyq - 2013-08-02

cd $HOME/xbmc-android
make -C tools/depends/target/xbmc
make

This error occurs when!

http://paste.ubuntu.com/5938329/

Thanks!


RE: build xbmc for android under Ubuntu 13.04 with Errors, crystax r9,gcc 4.7.3 - Tdjdyq - 2013-08-02

libavcodec/arm/dca.h:37:5: error: 'asm' operand has impossible constraints


RE: build xbmc for android under Ubuntu 13.04 with Errors, crystax r9,gcc 4.7.3 - Memphiz - 2013-08-02

put tools/depends/config.log to pastebin


RE: build xbmc for android under Ubuntu 13.04 with Errors, crystax r9,gcc 4.7.3 - Tdjdyq - 2013-08-02

config.log

http://paste.ubuntu.com/5939124/


RE: build xbmc for android under Ubuntu 13.04 with Errors, crystax r9,gcc 4.7.3 - Memphiz - 2013-08-02

nowhere we stated that we support arm-linux-androideabi-gcc (GCC) 4.8. IIRC the readme states gcc 4.7. Any reason why you want to burn in hell? :p

Also we suggest ndk r8e not 9.

Snippets from the readme:

---------snip
Make sure to pick a toolchain for your desired architecture. Currently only
gcc 4.7 toolchains are supported, anything else will likely fail to build

and

--------snip
Compiling XBMC for Android requires at least Android NDK
Revision r8e. Android NDK Revision 7 and earlier do not work
properly for our cause.
--------

gcc 4.7 might work with ndk 9 though - but we didn't test afaik.