today I wanted to compile an updated version of VLC (last I did it was in June), so I've got a fresh new clone of the repo and issue the compile command. But as you can see below, it fails. Do you have any clue? Thanks!
I'm using android-ndk-r12b on Ubuntu 16.04 LTS.
Code: Select all
taaalda5@ubuntu:~/development/mycloud/vlc/vlc-android$ git rev-parse --short HEAD
b5e5b71
This is my build log:
Code: Select all
taaalda5@ubuntu:~/development/mycloud/vlc/vlc-android$ ./compile.sh
*** No ANDROID_ABI defined architecture: using ARMv7
VLC source found
Configuring
ABI: armeabi-v7a
API: 9
PATH: /home/taaalda5/development/mycloud/vlc/vlc-android/toolchains/arm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/taaalda5/Android/Sdk/platform-tools:/home/taaalda5/Android/Sdk/tools:/home/taaalda5/development/android-ndk-r11c:/home/taaalda5/Android/Sdk/platform-tools:/home/taaalda5/Android/Sdk/tools:/home/taaalda5/development/android-ndk-r12b:/home/taaalda5/Android/Sdk/platform-tools:/home/taaalda5/Android/Sdk/tools:/home/taaalda5/development/android-ndk-r12b
EXTRA_CFLAGS: -march=armv7-a -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -MMD -MP -fpic -ffunction-sections -funwind-tables -fstack-protector-strong -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -no-canonical-prefixes -fno-integrated-as
VLC_CFLAGS: -std=gnu11 -g -O2 -fstrict-aliasing -funsafe-math-optimizations
Building tools
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /home/taaalda5/development/mycloud/vlc/vlc-android/vlc/extras/tools/build/bin/automake line 3936.
You are ready to build VLC and its contribs
make: `.gas' is up to date.
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.
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
make: Nothing to be done for `fetch'.
make: Nothing to be done for `all'.
Building
make all-recursive
make[1]: Entering directory `/home/taaalda5/development/mycloud/vlc/vlc-android/vlc/build-android-arm-linux-androideabi'
Making all in compat
make[2]: Entering directory `/home/taaalda5/development/mycloud/vlc/vlc-android/vlc/build-android-arm-linux-androideabi/compat'
make all-am
make[3]: Entering directory `/home/taaalda5/development/mycloud/vlc/vlc-android/vlc/build-android-arm-linux-androideabi/compat'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/taaalda5/development/mycloud/vlc/vlc-android/vlc/build-android-arm-linux-androideabi/compat'
make[2]: Leaving directory `/home/taaalda5/development/mycloud/vlc/vlc-android/vlc/build-android-arm-linux-androideabi/compat'
Making all in doc
make[2]: Entering directory `/home/taaalda5/development/mycloud/vlc/vlc-android/vlc/build-android-arm-linux-androideabi/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/taaalda5/development/mycloud/vlc/vlc-android/vlc/build-android-arm-linux-androideabi/doc'
Making all in po
make[2]: Entering directory `/home/taaalda5/development/mycloud/vlc/vlc-android/vlc/build-android-arm-linux-androideabi/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/taaalda5/development/mycloud/vlc/vlc-android/vlc/build-android-arm-linux-androideabi/po'
Making all in share
make[2]: Entering directory `/home/taaalda5/development/mycloud/vlc/vlc-android/vlc/build-android-arm-linux-androideabi/share'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/taaalda5/development/mycloud/vlc/vlc-android/vlc/build-android-arm-linux-androideabi/share'
Making all in src
make[2]: Entering directory `/home/taaalda5/development/mycloud/vlc/vlc-android/vlc/build-android-arm-linux-androideabi/src'
GEN stamp-revision
make all-am
make[3]: Entering directory `/home/taaalda5/development/mycloud/vlc/vlc-android/vlc/build-android-arm-linux-androideabi/src'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/taaalda5/development/mycloud/vlc/vlc-android/vlc/build-android-arm-linux-androideabi/src'
make[2]: Leaving directory `/home/taaalda5/development/mycloud/vlc/vlc-android/vlc/build-android-arm-linux-androideabi/src'
Making all in modules
make[2]: Entering directory `/home/taaalda5/development/mycloud/vlc/vlc-android/vlc/build-android-arm-linux-androideabi/modules'
make all-recursive
make[3]: Entering directory `/home/taaalda5/development/mycloud/vlc/vlc-android/vlc/build-android-arm-linux-androideabi/modules'
Making all in .
make[4]: Entering directory `/home/taaalda5/development/mycloud/vlc/vlc-android/vlc/build-android-arm-linux-androideabi/modules'
CC codec/libvpx_plugin_la-vpx.lo
../../modules/codec/vpx.c:153:46: error: use of undeclared identifier 'VPX_CODEC_CAP_HIGHBITDEPTH'
if( img->bit_depth > 8 && !(codec_caps & VPX_CODEC_CAP_HIGHBITDEPTH) )
^
../../modules/codec/vpx.c:301:41: error: implicit declaration of function 'vpx_codec_vp9_cx' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
codec_caps = vpx_codec_get_caps(vpx_codec_vp9_cx());
^
../../modules/codec/vpx.c:301:41: note: did you mean 'vpx_codec_vp9_dx'?
/home/taaalda5/development/mycloud/vlc/vlc-android/vlc/contrib/arm-linux-androideabi/include/vpx/vp8dx.h:46:27: note: 'vpx_codec_vp9_dx' declared here
extern vpx_codec_iface_t *vpx_codec_vp9_dx(void);
^
../../modules/codec/vpx.c:301:41: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'vpx_codec_iface_t *'
(aka 'const struct vpx_codec_iface *') [-Wint-conversion]
codec_caps = vpx_codec_get_caps(vpx_codec_vp9_cx());
^~~~~~~~~~~~~~~~~~
/home/taaalda5/development/mycloud/vlc/vlc-android/vlc/contrib/arm-linux-androideabi/include/vpx/./vpx_codec.h:361:58: note: passing argument to parameter 'iface'
here
vpx_codec_caps_t vpx_codec_get_caps(vpx_codec_iface_t *iface);
^
1 warning and 2 errors generated.
make[4]: *** [codec/libvpx_plugin_la-vpx.lo] Error 1
make[4]: Leaving directory `/home/taaalda5/development/mycloud/vlc/vlc-android/vlc/build-android-arm-linux-androideabi/modules'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/taaalda5/development/mycloud/vlc/vlc-android/vlc/build-android-arm-linux-androideabi/modules'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/taaalda5/development/mycloud/vlc/vlc-android/vlc/build-android-arm-linux-androideabi/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/taaalda5/development/mycloud/vlc/vlc-android/vlc/build-android-arm-linux-androideabi'
make: *** [all] Error 2
vlc: make failed