cerbero bootstrap failed for android platform.
Barun Kumar
simplebarun at gmail.com
Fri Feb 5 14:30:22 UTC 2016
Hi there,
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
in bootstrap command. Here is my steps:
1. git clone http://gstreamer.freedesktop.org/src/cerbero
2. git checkout -t remotes/origin/1.6 && git pull
3. Installed Android NDK version android-ndk-r10e inside cerbero folder.
4. ./cerbero-uninstalled bootstrap
Please help me in building gstreamer for cross platform.
Below is the logs details:
File /home/user/cerbero/android-ndk-r10e/android-ndk-r10e-linux-x86.bin
already downloaded.
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
[(1/13) libiconv -> already built ]
[(2/13) gnustl -> already built ]
[(3/13) gettext -> already built ]
[(4/13) m4 -> fetch ]
-----> Step done
[(4/13) m4 -> extract ]
-----> Step done
[(4/13) m4 -> configure ]
-----> Step done
[(4/13) m4 -> compile ]
make all-recursive
make[1]: Entering directory
`/home/barun/cerbero/sources/build-tools/m4-1.4.17'
Making all in .
make[2]: Entering directory
`/home/barun/cerbero/sources/build-tools/m4-1.4.17'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory
`/home/barun/cerbero/sources/build-tools/m4-1.4.17'
Making all in examples
make[2]: Entering directory
`/home/barun/cerbero/sources/build-tools/m4-1.4.17/examples'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/home/barun/cerbero/sources/build-tools/m4-1.4.17/examples'
Making all in lib
make[2]: Entering directory
`/home/barun/cerbero/sources/build-tools/m4-1.4.17/lib'
make all-am
make[3]: Entering directory
`/home/barun/cerbero/sources/build-tools/m4-1.4.17/lib'
make[3]: Leaving directory
`/home/barun/cerbero/sources/build-tools/m4-1.4.17/lib'
make[2]: Leaving directory
`/home/barun/cerbero/sources/build-tools/m4-1.4.17/lib'
Making all in src
make[2]: Entering directory
`/home/barun/cerbero/sources/build-tools/m4-1.4.17/src'
depbase=`echo debug.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
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 &&\
mv -f $depbase.Tpo $depbase.Po
debug.c: In function 'debug_set_file':
debug.c:129:1: error: stack protector not protecting function: all local
arrays are less than 8 bytes long [-Werror=s
tack-protector]
debug_set_file (FILE *fp)
^
cc1: all warnings being treated as errors
make[2]: *** [debug.o] Error 1
make[2]: Leaving directory
`/home/barun/cerbero/sources/build-tools/m4-1.4.17/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/barun/cerbero/sources/build-tools/m4-1.4.17'
make: *** [all] Error 2
Running command 'make'
Recipe 'm4' failed at the build step 'compile'
Select an action to proceed:
[0] Enter the shell
[1] Rebuild the recipe from scratch
[2] Rebuild starting from the failed step
[3] Skip recipe
[4] Abort
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20160205/4ea90ff9/attachment.html>
More information about the gstreamer-android
mailing list