Cross compiling Gstreamer SDK for Android x86 arch

stic at free.fr stic at free.fr
Wed May 14 07:03:35 PDT 2014


Hi,

I would like to compile the gstreamer sdk 1.x for Android x86 platform.
For this I use cerbero to cross compile for Android x86 but it fails on libav plugin with following error:

libavcodec/x86/mpegaudiodec_mmx.c: In function 'apply_window_mp3':
libavcodec/x86/mpegaudiodec_mmx.c:73:5: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
libavcodec/x86/mpegaudiodec_mmx.c:73:5: error: 'asm' operand has impossible constraints
libavcodec/x86/mpegaudiodec_mmx.c:73:5: error: 'asm' operand has impossible constraints
libavcodec/x86/mpegaudiodec_mmx.c:132:9: error: 'asm' operand has impossible constraints
make[5]: *** [libavcodec/x86/mpegaudiodec_mmx.o] Error 1
make[5]: Leaving directory `/home/parallels/cerbero/sources/android_x86/gst-libav-1.0-1.0/gst-libs/ext/libav'
make[4]: *** [all-local] Error 2
make[4]: Leaving directory `/home/parallels/cerbero/sources/android_x86/gst-libav-1.0-1.0/gst-libs/ext'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/parallels/cerbero/sources/android_x86/gst-libav-1.0-1.0/gst-libs/ext'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/parallels/cerbero/sources/android_x86/gst-libav-1.0-1.0/gst-libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/parallels/cerbero/sources/android_x86/gst-libav-1.0-1.0'
make: *** [all] Error 2
***** Error running 'package' command:
Recipe 'gst-libav-1.0' failed at the build step 'compile'


Any idea on how to be able to compile it ?

Thanks a lot.


More information about the gstreamer-devel mailing list