<div dir="ltr"><div><div><div><br></div>Hi there,<br><br></div>I am using cerbero to build gstreamer version 1.6 to build for android platform from Ubuntu 14.04 host. But I am facing issues<br></div>in bootstrap command. Here is my steps:<br><br>1. git clone <a href="http://gstreamer.freedesktop.org/src/cerbero">http://gstreamer.freedesktop.org/src/cerbero</a><div><div><div>2. git checkout -t remotes/origin/1.6 && git pull<br></div><div>3. Installed Android NDK version android-ndk-r10e inside cerbero folder.<br></div><div>4. ./cerbero-uninstalled bootstrap<br><br></div><div>Please help me in building gstreamer for cross platform.<br><br></div><div>Below is the logs details:<br><br>File /home/user/cerbero/android-ndk-r10e/android-ndk-r10e-linux-x86.bin already downloaded.<br>Building the following recipes: libiconv gnustl gettext m4 autoconf gettext-tools gettext-m4 automake libtool pkg-con                       fig orc-tool gtk-doc-lite intltool-m4<br>[(1/13) libiconv -> already built ]<br>[(2/13) gnustl -> already built ]<br>[(3/13) gettext -> already built ]<br>[(4/13) m4 -> fetch ]<br>-----> Step done<br>[(4/13) m4 -> extract ]<br>-----> Step done<br>[(4/13) m4 -> configure ]<br>-----> Step done<br>[(4/13) m4 -> compile ]<br>make  all-recursive<br>make[1]: Entering directory `/home/barun/cerbero/sources/build-tools/m4-1.4.17'<br>Making all in .<br>make[2]: Entering directory `/home/barun/cerbero/sources/build-tools/m4-1.4.17'<br>make[2]: Nothing to be done for `all-am'.<br>make[2]: Leaving directory `/home/barun/cerbero/sources/build-tools/m4-1.4.17'<br>Making all in examples<br>make[2]: Entering directory `/home/barun/cerbero/sources/build-tools/m4-1.4.17/examples'<br>make[2]: Nothing to be done for `all'.<br>make[2]: Leaving directory `/home/barun/cerbero/sources/build-tools/m4-1.4.17/examples'<br>Making all in lib<br>make[2]: Entering directory `/home/barun/cerbero/sources/build-tools/m4-1.4.17/lib'<br>make  all-am<br>make[3]: Entering directory `/home/barun/cerbero/sources/build-tools/m4-1.4.17/lib'<br>make[3]: Leaving directory `/home/barun/cerbero/sources/build-tools/m4-1.4.17/lib'<br>make[2]: Leaving directory `/home/barun/cerbero/sources/build-tools/m4-1.4.17/lib'<br>Making all in src<br>make[2]: Entering directory `/home/barun/cerbero/sources/build-tools/m4-1.4.17/src'<br>depbase=`echo debug.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\<br>        arm-linux-androideabi-gcc -fuse-ld=gold -std=gnu99    -I../lib -I../lib --sysroot=/home/barun/cerbero/android                       -ndk-r10e/platforms/android-9/arch-arm -I/home/barun/cerbero/android-ndk-r10e/platforms/android-9/arch-arm/usr/includ                       e -DANDROID -DPIC -D__ARM_ARCH_7A__  -W -Wabi -Waddress -Waggressive-loop-optimizations -Warray-bounds -Wattributes -                       Wbad-function-cast -Wbuiltin-macro-redefined -Wcast-align -Wchar-subscripts -Wclobbered -Wcomment -Wcomments -Wcovera                       ge-mismatch -Wcpp -Wdeprecated -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wdouble-promotion -We                       mpty-body -Wendif-labels -Wextra -Wformat-contains-nul -Wformat-extra-args -Wformat-nonliteral -Wformat-security -Wfo                       rmat-y2k -Wformat-zero-length -Wfree-nonheap-object -Wignored-qualifiers -Wimplicit -Wimplicit-function-declaration -                       Wimplicit-int -Winit-self -Winline -Wint-to-pointer-cast -Winvalid-memory-model -Winvalid-pch -Wjump-misses-init -Wlo                       gical-op -Wmain -Wmaybe-uninitialized -Wmissing-braces -Wmissing-declarations -Wmissing-field-initializers -Wmissing-                       include-dirs -Wmissing-parameter-type -Wmissing-prototypes -Wmultichar -Wnarrowing -Wnested-externs -Wnonnull -Wnorma                       lized=nfc -Wold-style-declaration -Wold-style-definition -Woverflow -Woverlength-strings -Woverride-init -Wpacked -Wp                       acked-bitfield-compat -Wparentheses -Wpointer-arith -Wpointer-sign -Wpointer-to-int-cast -Wpragmas -Wreturn-local-add                       r -Wreturn-type -Wsequence-point -Wshadow -Wsizeof-pointer-memaccess -Wstack-protector -Wstrict-aliasing -Wstrict-ove                       rflow -Wstrict-prototypes -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wsuggest                       -attribute=pure -Wswitch -Wswitch-default -Wsync-nand -Wtrampolines -Wtrigraphs -Wtype-limits -Wuninitialized -Wunkno                       wn-pragmas -Wunsafe-loop-optimizations -Wunused -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-functio                       n -Wunused-label -Wunused-local-typedefs -Wunused-macros -Wunused-parameter -Wunused-result -Wunused-value -Wunused-v                       ariable -Wvarargs -Wvariadic-macros -Wvector-operation-performance -Wvla -Wvolatile-register-var -Wwrite-strings -Wno                       -missing-field-initializers -fdiagnostics-show-option -funit-at-a-time -Werror -Wall -g -Os --sysroot=/home/barun/cer                       bero/android-ndk-r10e/platforms/android-9/arch-arm -I/home/barun/cerbero/android-ndk-r10e/platforms/android-9/arch-ar                       m/usr/include -ffunction-sections -funwind-tables -fstack-protector -no-canonical-prefixes -fPIC -fomit-frame-pointer                        -fno-strict-aliasing -finline-limit=64  -mthumb -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -DANDROID -DPIC -D                       __ARM_ARCH_7A__  -Wa,--noexecstack  -Wno-error=cast-align  -MT debug.o -MD -MP -MF $depbase.Tpo -c -o debug.o debug.c                        &&\<br>        mv -f $depbase.Tpo $depbase.Po<br>debug.c: In function 'debug_set_file':<br>debug.c:129:1: error: stack protector not protecting function: all local arrays are less than 8 bytes long [-Werror=s                       tack-protector]<br> debug_set_file (FILE *fp)<br> ^<br>cc1: all warnings being treated as errors<br>make[2]: *** [debug.o] Error 1<br>make[2]: Leaving directory `/home/barun/cerbero/sources/build-tools/m4-1.4.17/src'<br>make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/home/barun/cerbero/sources/build-tools/m4-1.4.17'<br>make: *** [all] Error 2<br>Running command 'make'<br><br>Recipe 'm4' failed at the build step 'compile'<br>Select an action to proceed:<br>[0] Enter the shell<br>[1] Rebuild the recipe from scratch<br>[2] Rebuild starting from the failed step<br>[3] Skip recipe<br>[4] Abort<br><br></div></div></div></div>