GNOME Bugzilla – Bug 724177
build for android-x86 on ubuntu 13.10 32 bit fails, zlib wont build
Last modified: 2014-02-14 06:23:38 UTC
zlib wont compile: /home/gstbuilder/cerbero/android-ndk-r9/toolchains/x86-4.8/prebuilt/linux-x86/bin/../lib/gcc/i686-linux-android/4.8/../../../../i686-linux-android/bin/ld.gold: error while loading shared libraries: /usr/lib/i386-linux-gnu/libc.so: invalid ELF header collect2: error: ld returned 127 exit status make: *** [examplesh] Error 1 ***** Error running 'buildone' command: Recipe 'zlib' failed at the build step 'compile'
How did you get past this? You filed bug 724105 later, so I guess you solved it somehow. I found that it gets past this error by using ndk r9c, and then later gets stuck in gst-libav as per bug 724105
Fixed by: commit a2e3a302e6feb9b0cac33b9d299b8b7b215f250c Author: Jan Schmidt <thaytan@noraisin.net> Date: Thu Feb 13 00:21:48 2014 +1100 android: Switch to NDK r9c. Fixes bug 724177 - android-x86 build issue with zlib.