Android compile issues (clang)
Posted: 06 Oct 2016 10:00
Hi all,
I'm trying to compile libvlc, I'm using ubuntu 64bits (16.04) and following the guide here: https://wiki.videolan.org/AndroidCompile/
But I'm getting some errors I cannot find solutions to (I've looked around, sorry if I missed something and I'm reposting this problems).
When I try to compile (./compile.sh) after following every step i get an error:
/usr/bin/ld: cannot find -lgnustl_static
But the previous line:
/usr/bin/ld: skipping incompatible /home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/libgnustl_static.a when searching for -lgnustl_static
And all the warnings about clang ignoring some attributes make me think that maybe installing ubuntu's clang is not the way to solve the original issue.
Any ideas?
I'm trying to compile libvlc, I'm using ubuntu 64bits (16.04) and following the guide here: https://wiki.videolan.org/AndroidCompile/
But I'm getting some errors I cannot find solutions to (I've looked around, sorry if I missed something and I'm reposting this problems).
When I try to compile (./compile.sh) after following every step i get an error:
Which seems to be about not being able to find clang, here is the config.log contents:*** No ANDROID_ABI defined architecture: using ARMv7
VLC source found
Configuring
ABI: armeabi-v7a
API: android-9
SYSROOT: /home/isra/Android/Sdk/ndk-bundle/platforms/android-9/arch-arm
PATH: /home/isra/Android/Sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin:/home/isra/bin:/home/isra/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/android-studio/bin
CFLAGS: -g -O2 -fstrict-aliasing -funsafe-math-optimizations -mlong-calls
EXTRA_CFLAGS: -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include
Building tools
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /home/isra/Documents/vlc-android/vlc/extras/tools/build/bin/automake line 3936.
You are ready to build VLC and its contribs
Building the contribs
Generating EGL pkg-config file
Generating GLESv2 pkg-config file
Guessing build system... x86_64-linux-gnu
Creating configuration file... config.mak
Bootstrap completed.
/bin/sh: 1: clang: not found
/bin/sh: 1: clang: not found
/bin/sh: 1: clang: not found
dirname: missing operand
Try 'dirname --help' for more information.
Run "make" to start compilation.
Other targets:
* make install same as "make"
* make prebuilt fetch and install prebuilt binaries
* make list list packages
* make fetch fetch required source tarballs
* make fetch-all fetch all source tarballs
* make distclean clean everything and undo bootstrap
* make mostlyclean clean everything except source tarballs
* make clean clean everything
* make package prepare prebuilt packages
* make help show this text
/bin/sh: 1: clang: not found
/bin/sh: 1: clang: not found
/bin/sh: 1: clang: not found
dirname: missing operand
Try 'dirname --help' for more information.
make: Nothing to be done for 'fetch'.
/bin/sh: 1: clang: not found
/bin/sh: 1: clang: not found
/bin/sh: 1: clang: not found
dirname: missing operand
Try 'dirname --help' for more information.
mkdir -p -- /home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal && cd a52dec && autoreconf -fiv -I/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal -I /home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal --force
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: configure.in: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `autotools'.
libtoolize: copying file `autotools/ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: running: /home/isra/Documents/vlc-android/vlc/extras/tools/build/bin/autoconf --include=/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal --force
autoreconf: running: /home/isra/Documents/vlc-android/vlc/extras/tools/build/bin/autoheader --include=/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal --force
autoreconf: running: automake --add-missing --copy --force-missing
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /home/isra/Documents/vlc-android/vlc/extras/tools/build/bin/automake line 3936.
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:8: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see:
configure.in:8: http://www.gnu.org/software/automake/ma ... invocation
configure.in:82: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
configure.in:82: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
configure.in:82: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
configure.in:82: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
configure.in:82: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
liba52/Makefile.am:1: warning: 'CFLAGS' is a user variable, you should not override it;
liba52/Makefile.am:1: use 'AM_CFLAGS' instead
configure.in:82: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
configure.in:82: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/Makefile.am:1: warning: 'CFLAGS' is a user variable, you should not override it;
src/Makefile.am:1: use 'AM_CFLAGS' instead
configure.in:82: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
configure.in:82: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
autoreconf: Leaving directory `.'
cd a52dec && CC="clang" CXX="clang++" LD="arm-linux-androideabi-ld" AR="arm-linux-androideabi-ar" CCAS="clang -c" RANLIB="arm-linux-androideabi-ranlib" STRIP="arm-linux-androideabi-strip" PATH="/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/bin:/home/isra/Documents/vlc-android/vlc/extras/tools/build/bin:/home/isra/Documents/vlc-android/vlc/extras/tools/build/bin:/home/isra/Android/Sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin:/home/isra/bin:/home/isra/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/android-studio/bin:/home/isra/Documents/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/../arm-linux-androideabi/bin" CPPFLAGS=" -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/include" CFLAGS=" -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/include -g -O2" CXXFLAGS=" -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/include -g -O2" LDFLAGS=" -L/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a -lgnustl_static -L/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/lib" ./configure --prefix="/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi" --datarootdir="/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/share" --includedir="/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/include" --libdir="/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/lib" --build="x86_64-linux-gnu" --host="arm-linux-androideabi" --target="arm-linux-androideabi" --program-prefix="" --enable-static --disable-shared --disable-dependency-tracking --with-pic
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-linux-androideabi-strip... arm-linux-androideabi-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... arm-unknown-linux-androideabi
checking for arm-linux-androideabi-gcc... clang
checking whether the C compiler works... no
configure: error: in `/home/isra/Documents/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/a52dec':
configure: error: C compiler cannot create executables
See `config.log' for more details
../../contrib/src/a52/rules.mak:26: recipe for target '.a52' failed
make: *** [.a52] Error 77
contribs: make failed
Even tho I can see some clangs installed under Android NDK:This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi --datarootdir=/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/share --includedir=/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/include --libdir=/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/lib --build=x86_64-linux-gnu --host=arm-linux-androideabi --target=arm-linux-androideabi --program-prefix= --enable-static --disable-shared --disable-dependency-tracking --with-pic
## --------- ##
## Platform. ##
## --------- ##
hostname = ubuntu
uname -m = x86_64
uname -r = 4.4.0-31-generic
uname -s = Linux
uname -v = #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/bin
PATH: /home/isra/Documents/vlc-android/vlc/extras/tools/build/bin
PATH: /home/isra/Documents/vlc-android/vlc/extras/tools/build/bin
PATH: /home/isra/Android/Sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin
PATH: /home/isra/bin
PATH: /home/isra/.local/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games
PATH: /snap/bin
PATH: /usr/local/android-studio/bin
PATH: /home/isra/Documents/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/../arm-linux-androideabi/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2510: checking for a BSD-compatible install
configure:2578: result: /usr/bin/install -c
configure:2589: checking whether build environment is sane
configure:2644: result: yes
configure:2703: checking for arm-linux-androideabi-strip
configure:2730: result: arm-linux-androideabi-strip
configure:2795: checking for a thread-safe mkdir -p
configure:2834: result: /bin/mkdir -p
configure:2841: checking for gawk
configure:2871: result: no
configure:2841: checking for mawk
configure:2857: found /usr/bin/mawk
configure:2868: result: mawk
configure:2879: checking whether make sets $(MAKE)
configure:2901: result: yes
configure:2930: checking whether make supports nested variables
configure:2947: result: yes
configure:3077: checking whether to enable maintainer-specific portions of Makefiles
configure:3086: result: no
configure:3103: checking build system type
configure:3117: result: x86_64-pc-linux-gnu
configure:3137: checking host system type
configure:3150: result: arm-unknown-linux-androideabi
configure:3179: checking for arm-linux-androideabi-gcc
configure:3206: result: clang
configure:3475: checking for C compiler version
configure:3484: clang --version >&5
./configure: line 3486: clang: command not found
configure:3495: $? = 127
configure:3484: clang -v >&5
./configure: line 3486: clang: command not found
configure:3495: $? = 127
configure:3484: clang -V >&5
./configure: line 3486: clang: command not found
configure:3495: $? = 127
configure:3484: clang -qversion >&5
./configure: line 3486: clang: command not found
configure:3495: $? = 127
configure:3515: checking whether the C compiler works
configure:3537: clang -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/include -g -O2 -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/include -L/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a -lgnustl_static -L/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/lib conftest.c >&5
./configure: line 3539: clang: command not found
configure:3541: $? = 127
configure:3579: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "a52dec"
| #define VERSION "0.7.4"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3584: error: in `/home/isra/Documents/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/a52dec':
configure:3586: error: C compiler cannot create executables
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-pc-linux-gnu
ac_cv_env_CC_set=set
ac_cv_env_CC_value=clang
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value=' -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/include -g -O2'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=' -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/include'
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=' -L/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a -lgnustl_static -L/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/lib'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=arm-linux-androideabi
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=arm-linux-androideabi
ac_cv_host=arm-unknown-linux-androideabi
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=mawk
ac_cv_prog_CC=clang
ac_cv_prog_STRIP=arm-linux-androideabi-strip
ac_cv_prog_make_make_set=yes
am_cv_make_support_nested_variables=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
A52DEC_CFLAGS=''
ACLOCAL='${SHELL} /home/isra/Documents/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/a52dec/autotools/missing aclocal-1.15'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR='arm-linux-androideabi-ar'
AS=''
AUTOCONF='${SHELL} /home/isra/Documents/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/a52dec/autotools/missing autoconf'
AUTOHEADER='${SHELL} /home/isra/Documents/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/a52dec/autotools/missing autoheader'
AUTOMAKE='${SHELL} /home/isra/Documents/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/a52dec/autotools/missing automake-1.15'
AWK='mawk'
CC='clang'
CCDEPMODE=''
CFLAGS=' -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/include -g -O2'
CPP=''
CPPFLAGS=' -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/include'
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
GREP=''
INCLUDES=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='arm-linux-androideabi-ld'
LDFLAGS=' -L/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a -lgnustl_static -L/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/lib'
LIBA52_CFLAGS=''
LIBA52_LIBS=''
LIBAO_LIBS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /home/isra/Documents/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/a52dec/autotools/missing makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/bin/mkdir -p'
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='a52dec'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB='arm-linux-androideabi-ranlib'
SED=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP='arm-linux-androideabi-strip'
VERSION='0.7.4'
ac_ct_AR=''
ac_ct_CC=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias='x86_64-linux-gnu'
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host='arm-unknown-linux-androideabi'
host_alias='arm-linux-androideabi'
host_cpu='arm'
host_os='linux-androideabi'
host_vendor='unknown'
htmldir='${docdir}'
includedir='/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/isra/Documents/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/a52dec/autotools/install-sh'
libdir='/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi'
program_transform_name='s&^&&'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias='arm-linux-androideabi'
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "a52dec"
#define VERSION "0.7.4"
configure: exit 77
If i install clang using apt-get I get other errors when I launch ./compile.sh (I have to modify compile-libvlc.sh to recognize NDK 13:isra@ubuntu:~/Documents/vlc-android$ find ~ -name clang/home/isra/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang
/home/isra/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/lib64/clang
/home/isra/.gradle/wrapper/dists/gradle-2.10-all/a4w5fzrkeut1ox71xslb49gst/gradle-2.10/src/platform-native/org/gradle/nativeplatform/toolchain/internal/clang
And config.log:*** No ANDROID_ABI defined architecture: using ARMv7
VLC source found
Configuring
ABI: armeabi-v7a
API: android-9
SYSROOT: /home/isra/Android/Sdk/ndk-bundle/platforms/android-9/arch-arm
PATH: /home/isra/Android/Sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin:/home/isra/bin:/home/isra/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/android-studio/bin
CFLAGS: -g -O2 -fstrict-aliasing -funsafe-math-optimizations -mlong-calls
EXTRA_CFLAGS: -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include
Building tools
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /home/isra/Documents/vlc-android/vlc/extras/tools/build/bin/automake line 3936.
You are ready to build VLC and its contribs
Building the contribs
Generating EGL pkg-config file
Generating GLESv2 pkg-config file
Guessing build system... x86_64-linux-gnu
Creating configuration file... config.mak
Bootstrap completed.
dirname: missing operand
Try 'dirname --help' for more information.
Run "make" to start compilation.
Other targets:
* make install same as "make"
* make prebuilt fetch and install prebuilt binaries
* make list list packages
* make fetch fetch required source tarballs
* make fetch-all fetch all source tarballs
* make distclean clean everything and undo bootstrap
* make mostlyclean clean everything except source tarballs
* make clean clean everything
* make package prepare prebuilt packages
* make help show this text
clang: warning: argument unused during compilation: '-mfpu=vfpv3-d16'
clang: warning: argument unused during compilation: '-mcpu=cortex-a8'
clang: warning: argument unused during compilation: '-mthumb'
clang: warning: argument unused during compilation: '-mfloat-abi=softfp'
clang: warning: argument unused during compilation: '-mfpu=vfpv3-d16'
clang: warning: argument unused during compilation: '-mcpu=cortex-a8'
clang: warning: argument unused during compilation: '-mthumb'
clang: warning: argument unused during compilation: '-mfloat-abi=softfp'
dirname: missing operand
Try 'dirname --help' for more information.
make: Nothing to be done for 'fetch'.
clang: warning: argument unused during compilation: '-mfpu=vfpv3-d16'
clang: warning: argument unused during compilation: '-mcpu=cortex-a8'
clang: warning: argument unused during compilation: '-mthumb'
clang: warning: argument unused during compilation: '-mfloat-abi=softfp'
clang: warning: argument unused during compilation: '-mfpu=vfpv3-d16'
clang: warning: argument unused during compilation: '-mcpu=cortex-a8'
clang: warning: argument unused during compilation: '-mthumb'
clang: warning: argument unused during compilation: '-mfloat-abi=softfp'
dirname: missing operand
Try 'dirname --help' for more information.
mkdir -p -- /home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal && cd a52dec && autoreconf -fiv -I/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal -I /home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal --force
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: configure.in: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `autotools'.
libtoolize: copying file `autotools/ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: running: /home/isra/Documents/vlc-android/vlc/extras/tools/build/bin/autoconf --include=/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal --force
autoreconf: running: /home/isra/Documents/vlc-android/vlc/extras/tools/build/bin/autoheader --include=/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal --force
autoreconf: running: automake --add-missing --copy --force-missing
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /home/isra/Documents/vlc-android/vlc/extras/tools/build/bin/automake line 3936.
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:8: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see:
configure.in:8: http://www.gnu.org/software/automake/ma ... invocation
configure.in:82: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
configure.in:82: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
configure.in:82: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
configure.in:82: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
configure.in:82: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
liba52/Makefile.am:1: warning: 'CFLAGS' is a user variable, you should not override it;
liba52/Makefile.am:1: use 'AM_CFLAGS' instead
configure.in:82: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
configure.in:82: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/Makefile.am:1: warning: 'CFLAGS' is a user variable, you should not override it;
src/Makefile.am:1: use 'AM_CFLAGS' instead
configure.in:82: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
configure.in:82: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
autoreconf: Leaving directory `.'
cd a52dec && CC="clang" CXX="clang++" LD="arm-linux-androideabi-ld" AR="arm-linux-androideabi-ar" CCAS="clang -c" RANLIB="arm-linux-androideabi-ranlib" STRIP="arm-linux-androideabi-strip" PATH="/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/bin:/home/isra/Documents/vlc-android/vlc/extras/tools/build/bin:/home/isra/Documents/vlc-android/vlc/extras/tools/build/bin:/home/isra/Android/Sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin:/home/isra/bin:/home/isra/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/android-studio/bin:/home/isra/Documents/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/../arm-linux-androideabi/bin" CPPFLAGS=" -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/include" CFLAGS=" -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/include -g -O2" CXXFLAGS=" -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/include -g -O2" LDFLAGS=" -L/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a -lgnustl_static -L/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/lib" ./configure --prefix="/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi" --datarootdir="/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/share" --includedir="/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/include" --libdir="/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/lib" --build="x86_64-linux-gnu" --host="arm-linux-androideabi" --target="arm-linux-androideabi" --program-prefix="" --enable-static --disable-shared --disable-dependency-tracking --with-pic
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-linux-androideabi-strip... arm-linux-androideabi-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... arm-unknown-linux-androideabi
checking for arm-linux-androideabi-gcc... clang
checking whether the C compiler works... no
configure: error: in `/home/isra/Documents/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/a52dec':
configure: error: C compiler cannot create executables
See `config.log' for more details
../../contrib/src/a52/rules.mak:26: recipe for target '.a52' failed
make: *** [.a52] Error 77
contribs: make failed
The main problem seems to be:This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi --datarootdir=/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/share --includedir=/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/include --libdir=/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/lib --build=x86_64-linux-gnu --host=arm-linux-androideabi --target=arm-linux-androideabi --program-prefix= --enable-static --disable-shared --disable-dependency-tracking --with-pic
## --------- ##
## Platform. ##
## --------- ##
hostname = ubuntu
uname -m = x86_64
uname -r = 4.4.0-31-generic
uname -s = Linux
uname -v = #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/bin
PATH: /home/isra/Documents/vlc-android/vlc/extras/tools/build/bin
PATH: /home/isra/Documents/vlc-android/vlc/extras/tools/build/bin
PATH: /home/isra/Android/Sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin
PATH: /home/isra/bin
PATH: /home/isra/.local/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games
PATH: /snap/bin
PATH: /usr/local/android-studio/bin
PATH: /home/isra/Documents/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/../arm-linux-androideabi/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2510: checking for a BSD-compatible install
configure:2578: result: /usr/bin/install -c
configure:2589: checking whether build environment is sane
configure:2644: result: yes
configure:2703: checking for arm-linux-androideabi-strip
configure:2730: result: arm-linux-androideabi-strip
configure:2795: checking for a thread-safe mkdir -p
configure:2834: result: /bin/mkdir -p
configure:2841: checking for gawk
configure:2871: result: no
configure:2841: checking for mawk
configure:2857: found /usr/bin/mawk
configure:2868: result: mawk
configure:2879: checking whether make sets $(MAKE)
configure:2901: result: yes
configure:2930: checking whether make supports nested variables
configure:2947: result: yes
configure:3077: checking whether to enable maintainer-specific portions of Makefiles
configure:3086: result: no
configure:3103: checking build system type
configure:3117: result: x86_64-pc-linux-gnu
configure:3137: checking host system type
configure:3150: result: arm-unknown-linux-androideabi
configure:3179: checking for arm-linux-androideabi-gcc
configure:3206: result: clang
configure:3475: checking for C compiler version
configure:3484: clang --version >&5
clang version 3.8.0-2ubuntu4 (tags/RELEASE_380/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
configure:3495: $? = 0
configure:3484: clang -v >&5
clang version 3.8.0-2ubuntu4 (tags/RELEASE_380/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/../lib/gcc/i686-linux-gnu/5.4.0
Found candidate GCC installation: /usr/bin/../lib/gcc/i686-linux-gnu/6.0.0
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.0
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/6.0.0
Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/5.4.0
Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/6.0.0
... rest of stderr output deleted ...
configure:3495: $? = 0
configure:3484: clang -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:3495: $? = 1
configure:3484: clang -qversion >&5
clang: error: unknown argument: '-qversion'
clang: error: no input files
configure:3495: $? = 1
configure:3515: checking whether the C compiler works
configure:3537: clang -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/include -g -O2 -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/include -L/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a -lgnustl_static -L/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/lib conftest.c >&5
clang: warning: argument unused during compilation: '-mfpu=vfpv3-d16'
clang: warning: argument unused during compilation: '-mcpu=cortex-a8'
clang: warning: argument unused during compilation: '-mthumb'
clang: warning: argument unused during compilation: '-mfloat-abi=softfp'
clang: warning: argument unused during compilation: '-mfpu=vfpv3-d16'
clang: warning: argument unused during compilation: '-mcpu=cortex-a8'
clang: warning: argument unused during compilation: '-mthumb'
clang: warning: argument unused during compilation: '-mfloat-abi=softfp'
/usr/bin/ld: skipping incompatible /home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/libgnustl_static.a when searching for -lgnustl_static
/usr/bin/ld: cannot find -lgnustl_static
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:3541: $? = 1
configure:3579: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "a52dec"
| #define VERSION "0.7.4"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3584: error: in `/home/isra/Documents/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/a52dec':
configure:3586: error: C compiler cannot create executables
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-pc-linux-gnu
ac_cv_env_CC_set=set
ac_cv_env_CC_value=clang
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value=' -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/include -g -O2'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=' -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/include'
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=' -L/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a -lgnustl_static -L/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/lib'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=arm-linux-androideabi
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=arm-linux-androideabi
ac_cv_host=arm-unknown-linux-androideabi
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=mawk
ac_cv_prog_CC=clang
ac_cv_prog_STRIP=arm-linux-androideabi-strip
ac_cv_prog_make_make_set=yes
am_cv_make_support_nested_variables=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
A52DEC_CFLAGS=''
ACLOCAL='${SHELL} /home/isra/Documents/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/a52dec/autotools/missing aclocal-1.15'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR='arm-linux-androideabi-ar'
AS=''
AUTOCONF='${SHELL} /home/isra/Documents/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/a52dec/autotools/missing autoconf'
AUTOHEADER='${SHELL} /home/isra/Documents/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/a52dec/autotools/missing autoheader'
AUTOMAKE='${SHELL} /home/isra/Documents/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/a52dec/autotools/missing automake-1.15'
AWK='mawk'
CC='clang'
CCDEPMODE=''
CFLAGS=' -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/include -g -O2'
CPP=''
CPPFLAGS=' -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/include'
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
GREP=''
INCLUDES=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='arm-linux-androideabi-ld'
LDFLAGS=' -L/home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a -lgnustl_static -L/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/lib'
LIBA52_CFLAGS=''
LIBA52_LIBS=''
LIBAO_LIBS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /home/isra/Documents/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/a52dec/autotools/missing makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/bin/mkdir -p'
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='a52dec'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB='arm-linux-androideabi-ranlib'
SED=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP='arm-linux-androideabi-strip'
VERSION='0.7.4'
ac_ct_AR=''
ac_ct_CC=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias='x86_64-linux-gnu'
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host='arm-unknown-linux-androideabi'
host_alias='arm-linux-androideabi'
host_cpu='arm'
host_os='linux-androideabi'
host_vendor='unknown'
htmldir='${docdir}'
includedir='/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/isra/Documents/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/a52dec/autotools/install-sh'
libdir='/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/home/isra/Documents/vlc-android/vlc/contrib/arm-linux-androideabi'
program_transform_name='s&^&&'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias='arm-linux-androideabi'
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "a52dec"
#define VERSION "0.7.4"
configure: exit 77
/usr/bin/ld: cannot find -lgnustl_static
But the previous line:
/usr/bin/ld: skipping incompatible /home/isra/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/libgnustl_static.a when searching for -lgnustl_static
And all the warnings about clang ignoring some attributes make me think that maybe installing ubuntu's clang is not the way to solve the original issue.
Any ideas?