Compilation problems on OSX
Using latest version from GIT (26fc9e14), the following log will be produced and compilation fails:
$ ./compile.sh -a armeabi-v7a --release -l
VLC source found
Configuring
ABI: armeabi-v7a
API: android-9
SYSROOT: /usr/local/opt/android-ndk//platforms/android-9/arch-arm
PATH: /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin:/Users/ened/.nvm/versions/node/v5.9.1/bin:/usr/local/var/rbenv/shims/:/usr/local/sbin:/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/bin:/Users/ened/.rbenv/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:~/bin:/usr/local/opt/android-sdk/tools:/usr/local/opt/android-sdk/platform-tools
CFLAGS: -g -O2 -fstrict-aliasing -funsafe-math-optimizations -mlong-calls
EXTRA_CFLAGS: -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -I/usr/local/opt/android-ndk//sources/cxx-stl/gnu-libstdc++/4.9/include -I/usr/local/opt/android-ndk//sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -DNDEBUG
Building tools
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /Users/ened/git/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
-n Guessing build system...
x86_64-apple-darwin15.5.0
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: `.gettext' is up to date.
make: Nothing to be done for `all'.
configure: WARNING: unrecognized options: --disable-glx, --enable-egl
checking build system type... x86_64-unknown-linux-gnu
checking host system type... arm-unknown-linux-androideabi
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-linux-androideabi-strip... /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-strip
checking for a thread-safe mkdir -p... ../autotools/install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '502' is supported by ustar format... yes
checking whether GID '20' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for style of include used by make... GNU
checking for arm-linux-androideabi-gcc... /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm accepts -g... yes
checking for /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm option to accept ISO C89... none needed
checking whether /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm understands -c and -o together... yes
checking dependency style of /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm... gcc3
checking for /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm option to accept ISO C99... -std=gnu99
checking how to run the C preprocessor... /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99 supports C11... no
checking whether /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99 -std=gnu11 supports C11... yes
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -D__cpp_static_assert=200410 accepts -g... yes
checking dependency style of /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -D__cpp_static_assert=200410... gcc3
checking how to run the C preprocessor... /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99 -E
checking for arm-linux-androideabi-gcc... arm-linux-androideabi-gcc
checking whether we are using the GNU Objective C compiler... no
checking whether arm-linux-androideabi-gcc accepts -g... no
checking dependency style of arm-linux-androideabi-gcc... gcc3
checking dependency style of arm-linux-androideabi-gcc... (cached) gcc3
checking for egrep... (cached) /usr/bin/grep -E
checking whether make sets $(MAKE)... (cached) yes
checking dependency style of /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99... gcc3
checking for desktop-file-validate... no
checking for c11-gcc... no
checking for c11... no
checking for c99-gcc... no
checking for c99... c99
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for C/C++ restrict keyword... __restrict
checking whether /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -D__cpp_static_assert=200410 supports C++11 features by default... no
checking whether /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -D__cpp_static_assert=200410 supports C++11 features with -std=c++11... yes
checking for an Android system... yes
checking for Tizen... no
checking for 3rd party libraries path... /Users/ened/git/vlc-android/vlc/contrib/arm-linux-androideabi
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/local/bin/gsed
checking for fgrep... /usr/bin/grep -F
checking for ld used by /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99... /usr/local/Cellar/android-ndk/r11c/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/arm-linux-androideabi/bin/ld
checking if the linker (/usr/local/Cellar/android-ndk/r11c/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/arm-linux-androideabi/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-nm
checking the name lister (/usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to arm-unknown-linux-androideabi format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/local/Cellar/android-ndk/r11c/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/arm-linux-androideabi/bin/ld option to reload object files... -r
checking for arm-linux-androideabi-objdump... arm-linux-androideabi-objdump
checking how to recognize dependent libraries... (cached) pass_all
checking for arm-linux-androideabi-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for arm-linux-androideabi-ar... /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-ar
checking for archiver @FILE support... @
checking for arm-linux-androideabi-strip... (cached) /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-strip
checking for arm-linux-androideabi-ranlib... /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-ranlib
checking command to parse /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-nm output from /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99 object... ok
checking for sysroot... no
checking for arm-linux-androideabi-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99 static flag -static works... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99 supports -c -o file.o... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99 linker (/usr/local/Cellar/android-ndk/r11c/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/arm-linux-androideabi/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking whether a program can dlopen itself... cross
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -D__cpp_static_assert=200410 -E
checking for ld used by /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -D__cpp_static_assert=200410... /usr/local/Cellar/android-ndk/r11c/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/arm-linux-androideabi/bin/ld
checking if the linker (/usr/local/Cellar/android-ndk/r11c/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/arm-linux-androideabi/bin/ld) is GNU ld... yes
checking whether the /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -D__cpp_static_assert=200410 linker (/usr/local/Cellar/android-ndk/r11c/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/arm-linux-androideabi/bin/ld) supports shared libraries... yes
checking for /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -D__cpp_static_assert=200410 option to produce PIC... -fPIC -DPIC
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -D__cpp_static_assert=200410 PIC flag -fPIC -DPIC works... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -D__cpp_static_assert=200410 static flag -static works... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -D__cpp_static_assert=200410 supports -c -o file.o... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -D__cpp_static_assert=200410 supports -c -o file.o... (cached) yes
checking whether the /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -D__cpp_static_assert=200410 linker (/usr/local/Cellar/android-ndk/r11c/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/arm-linux-androideabi/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for arm-linux-androideabi-windres... no
checking for windres... no
checking for bash... /bin/bash
checking if dolt supports this host... yes, replacing libtool
checking whether NLS is requested... no
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking for ld used by /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99... /usr/local/Cellar/android-ndk/r11c/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/arm-linux-androideabi/bin/ld
checking if the linker (/usr/local/Cellar/android-ndk/r11c/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/arm-linux-androideabi/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking whether to use NLS... no
checking for iconv... yes
checking for working iconv... guessing yes
checking how to link with libiconv... /Users/ened/git/vlc-android/vlc/contrib/arm-linux-androideabi/lib/libiconv.a /usr/local/opt/android-ndk//sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/libgnustl_static.a
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for buggy GNU/libc versions... not present
checking for shared objects suffix... .so
checking whether nanosleep is declared... yes
checking for daemon... yes
checking for fcntl... yes
checking for flock... yes
checking for fstatvfs... no
checking for fork... yes
checking for getenv... yes
checking for getpwuid_r... no
checking for isatty... yes
checking for lstat... yes
checking for memalign... yes
checking for mkostemp... no
checking for mmap... yes
checking for open_memstream... no
checking for openat... yes
checking for pread... yes
checking for posix_fadvise... no
checking for posix_madvise... no
checking for setlocale... yes
checking for stricmp... no
checking for strnicmp... no
checking for strptime... yes
checking for uselocale... no
checking for pthread_cond_timedwait_monotonic_np... yes
checking for pthread_condattr_setclock... no
checking for atof... no
checking for atoll... yes
checking for dirfd... yes
checking for fdopendir... yes
checking for ffsll... no
checking for flockfile... yes
checking for fsync... yes
checking for getdelim... no
checking for getpid... yes
checking for lldiv... yes
checking for nrand48... yes
checking for poll... yes
checking for posix_memalign... no
checking for recvmsg... yes
checking for rewind... yes
checking for sendmsg... yes
checking for setenv... yes
checking for strcasecmp... yes
checking for strcasestr... yes
checking for strdup... yes
checking for strlcpy... yes
checking for strndup... yes
checking for strnlen... yes
checking for strnstr... no
checking for strsep... yes
checking for strtof... no
checking for strtok_r... yes
checking for strtoll... yes
checking for swab... no
checking for tdestroy... no
checking for timegm... no
checking for timespec_get... no
checking for strverscmp... no
checking for gettimeofday... yes
checking for fdatasync... yes
checking whether asprintf is declared... yes
checking whether vasprintf is declared... yes
checking whether gmtime_r is declared... yes
checking whether localtime_r is declared... yes
checking for static_assert in assert.h... no
checking for working strcoll... no
checking for accept4... no
checking for pipe2... yes
checking for eventfd... yes
checking for vmsplice... no
checking for sched_getaffinity... no
checking for struct pollfd... yes
checking for struct timespec... yes
checking for library containing connect... none required
checking for library containing inet_pton... none required
checking for if_nameindex... no
checking for if_nametoindex... yes
checking for socklen_t in sys/socket.h... yes
checking for struct sockaddr_storage... yes
checking for getopt_long... yes
checking for cos in -lm... yes
checking for lrintf in -lm... yes
checking for nanf in -lm... no
checking for library containing dlsym... none required
checking for library containing pthread_rwlock_init... none required
checking for library containing clock_nanosleep... none required
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking search.h usability... no
checking search.h presence... no
checking for search.h... no
checking sys/shm.h usability... no
checking sys/shm.h presence... no
checking for sys/shm.h... no
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for net/if.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking netinet/udplite.h usability... no
checking netinet/udplite.h presence... no
checking for netinet/udplite.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking features.h usability... yes
checking features.h presence... yes
checking for features.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking linux/dccp.h usability... yes
checking linux/dccp.h presence... yes
checking for linux/dccp.h... yes
checking linux/magic.h usability... yes
checking linux/magic.h presence... yes
checking for linux/magic.h... yes
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking sys/eventfd.h usability... yes
checking sys/eventfd.h presence... yes
checking for sys/eventfd.h... yes
checking xlocale.h usability... no
checking xlocale.h presence... no
checking for xlocale.h... no
checking for ssize_t... yes
checking for arm-linux-androideabi-pkg-config... no
checking for pkg-config... /Users/ened/git/vlc-android/vlc/extras/tools/build/bin/pkg-config
configure: WARNING: using cross tools not prefixed with host triplet
checking pkg-config is at least version 0.9.0... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for MINIZIP... no
checking unzip.h usability... no
checking unzip.h presence... no
checking for unzip.h... no
checking for IDN... no
checking for SYSTEMD... no
configure: WARNING: No package 'libsystemd' found.
checking for ntohl in sys/param.h... no
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99 accepts -Wall... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99 accepts -Wextra... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99 accepts -Wsign-compare... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99 accepts -Wundef... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99 accepts -Wpointer-arith... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99 accepts -Wbad-function-cast... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99 accepts -Wwrite-strings... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99 accepts -Wmissing-prototypes... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99 accepts -Wvolatile-register-var... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99 accepts -Werror-implicit-function-declaration... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99 accepts -Winit-self... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99 accepts -Wlogical-op... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99 accepts -Wformat-security... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99 accepts -pipe... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -D__cpp_static_assert=200410 accepts -Wall... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -D__cpp_static_assert=200410 accepts -Wextra... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -D__cpp_static_assert=200410 accepts -Wsign-compare... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -D__cpp_static_assert=200410 accepts -Wundef... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -D__cpp_static_assert=200410 accepts -Wpointer-arith... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -D__cpp_static_assert=200410 accepts -Wvolatile-register-var... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -D__cpp_static_assert=200410 accepts -Wformat-security... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99 accepts -fvisibility=hidden... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99 accepts -O3... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99 accepts -fno-math-errno... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99 accepts -funsafe-math-optimizations... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99 accepts -fno-rounding-math... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99 accepts -fno-signaling-nans... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99 accepts -fcx-limited-range... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -D__cpp_static_assert=200410 accepts -fno-math-errno... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -D__cpp_static_assert=200410 accepts -funsafe-math-optimizations... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -D__cpp_static_assert=200410 accepts -fno-rounding-math... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -D__cpp_static_assert=200410 accepts -fno-signaling-nans... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -D__cpp_static_assert=200410 accepts -fcx-limited-range... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99 accepts -funroll-loops... yes
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99 accepts -fomit-frame-pointer... yes
checking if linker supports -Bsymbolic... -Wl,-Bsymbolic
checking __attribute__ ((aligned ())) support... 64
checking for __attribute__((packed))... yes
checking execinfo.h usability... no
checking execinfo.h presence... no
checking for execinfo.h... no
checking for backtrace... no
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99 groks 3D Now! inline assembly... no
checking if /usr/local/opt/android-ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/usr/local/opt/android-ndk//platforms/android-9/arch-arm -std=gnu99 groks ARM NEON assembly... yes
checking for ARCHIVE... no
configure: WARNING: Library libarchive >= 3.1.0 needed for archive was not found
checking for LIVE555... no
configure: WARNING: No package 'live555' found.
checking for live555 version 1324598400 or later... yes
checking for main in -lliveMedia_pic... no
checking for main in -lliveMedia... yes
checking for DC1394... no
configure: WARNING: Library libdc1394-2 >= 2.1.0 needed for dc1394 was not found
checking for OPENCV... no
configure: WARNING: Library opencv > 2.0 needed for opencv was not found
checking for SMBCLIENT... no
configure: WARNING: Library smbclient needed for smbclient was not found
checking for DSM... no
configure: WARNING: Library libdsm >= 0.2.0 needed for dsm was not found
checking for NFS... no
configure: WARNING: Library libnfs needed for nfs was not found
checking for Linux DVB version 5.1... no
checking for VNC... no
configure: WARNING: Library libvncclient >= 0.9.9 needed for vnc was not found
checking for FREERDP... no
configure: WARNING: Library freerdp >= 1.0.1 needed for freerdp was not found
checking for ASDCP... no
checking for OGG... yes
checking for LIBVORBIS... no
checking for OGG... yes
checking mpc/mpcdec.h usability... no
checking mpc/mpcdec.h presence... no
checking for mpc/mpcdec.h... no
checking mpcdec/mpcdec.h usability... no
checking mpcdec/mpcdec.h presence... no
checking for mpcdec/mpcdec.h... no
checking for SHINE... no
configure: WARNING: Library shine >= 3.0.0 needed for shine was not found
checking for libcrystalhd/libcrystalhd_if.h... no
checking for MPG123... yes
checking for libavutil variant... libav
checking for GST_APP... no
configure: WARNING: No package 'gstreamer-app-1.0' found. GStreamer modules will not be built.
checking for AVCODEC... yes
checking libavcodec/avcodec.h usability... yes
checking libavcodec/avcodec.h presence... yes
checking for libavcodec/avcodec.h... yes
checking libavutil/avutil.h usability... yes
checking libavutil/avutil.h presence... yes
checking for libavutil/avutil.h... yes
checking dxgidebug.h usability... no
checking dxgidebug.h presence... no
checking for dxgidebug.h... no
checking for AVFORMAT... yes
checking libavformat/avformat.h usability... yes
checking libavformat/avformat.h presence... yes
checking for libavformat/avformat.h... yes
checking libavformat/avio.h usability... yes
checking libavformat/avio.h presence... yes
checking for libavformat/avio.h... yes
checking for libavcodec/avcodec.h... (cached) yes
checking for libavutil/avutil.h... (cached) yes
checking for SWSCALE... yes
checking libswscale/swscale.h usability... yes
checking libswscale/swscale.h presence... yes
checking for libswscale/swscale.h... yes
checking for libavutil/avutil.h... (cached) yes
checking for POSTPROC... yes
checking postproc/postprocess.h usability... no
checking postproc/postprocess.h presence... no
checking for postproc/postprocess.h... no
checking for VPX... no
checking for TWOLAME... no
configure: WARNING: Library twolame needed for twolame was not found
checking a52dec/a52.h usability... yes
checking a52dec/a52.h presence... yes
checking for a52dec/a52.h... yes
checking for a52_free in -la52... yes
checking for LIBMPEG2... no
configure: WARNING: Library libmpeg2 > 0.3.2 needed for libmpeg2 was not found
checking for SPEEX... yes
checking for SPEEXDSP... yes
checking for THEORA... yes
checking for OGGSPOTS... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_set_rows in -lpng... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking libbpg.h usability... no
checking libbpg.h presence... no
checking for libbpg.h... no
checking for X262... no
checking for X265... no
configure: WARNING: Library x265 needed for x265 was not found
checking for X26410B... no
checking for MFX... no
configure: WARNING: Library libmfx needed for mfx was not found
checking for ARIBB24... no
configure: WARNING: Library aribb24 needed for aribsub was not found
checking for ARIBB25... no
configure: WARNING: Library aribb25 >= 0.2.6 needed for aribb25 was not found
checking for KATE... no
configure: WARNING: Library kate >= 0.3.0 needed for kate was not found
checking for TIGER... no
checking for EGL... yes
checking for GL... no
checking for GLES2... yes
checking for X... libraries /usr/X11/lib, headers /usr/X11/include
checking whether -R must be followed by a space... no
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... no
checking for shmat in -lipc... no
checking for IceConnectionNumber in -lICE... no
checking X11/Xlib.h usability... no
checking X11/Xlib.h presence... no
checking for X11/Xlib.h... no
checking for VDPAU... no
checking for the Wayland scanner... wayland-scanner
checking for WAYLAND_CLIENT... no
checking for WAYLAND_EGL... no
checking for ISpObjectToken... no
configure: WARNING: sapi.h not found. Text to Speech renderer for Windows disabled
checking for SVGDEC... no
configure: WARNING: Library librsvg-2.0 >= 2.9.0 cairo >= 1.13.1 needed for svgdec was not found
checking linux/fb.h usability... yes
checking linux/fb.h presence... yes
checking for linux/fb.h... yes
checking kva.h usability... no
checking kva.h presence... no
checking for kva.h... no
checking interface/mmal/mmal.h usability... no
checking interface/mmal/mmal.h presence... no
checking for interface/mmal/mmal.h... no
configure: WARNING: Cannot find development headers for mmal...
checking sndio.h usability... no
checking sndio.h presence... no
checking for sndio.h... no
checking audioclient.h usability... no
checking audioclient.h presence... no
checking for audioclient.h... no
checking for SOXR... yes
checking kai.h usability... no
checking kai.h presence... no
checking for kai.h... no
checking for CHROMAPRINT... no
configure: WARNING: Library libchromaprint >= 0.6.0 needed for chromaprint was not found
checking for protoc... protoc
checking for CHROMECAST... yes
configure: WARNING: The skins2 module depends on the Qt interface, Qt is not built so skins2 is disabled.
checking VideoToolbox/VideoToolbox.h usability... no
checking VideoToolbox/VideoToolbox.h presence... no
checking for VideoToolbox/VideoToolbox.h... no
checking for NCURSES... no
checking for VSXU... no
configure: WARNING: No package 'libvsxu' found.
checking for AVAHI... no
configure: WARNING: Library avahi-client >= 0.6 needed for avahi was not found
checking for UPNP... no
configure: WARNING: Library libupnp needed for upnp was not found
checking for MICRODNS... no
configure: WARNING: Library microdns needed for microdns was not found
checking for SECRET... no
configure: WARNING: Library libsecret-1 needed for secret was not found
checking whether byte ordering is bigendian... no
dyld: Library not loaded: /usr/local/lib/QtDBus.framework/Versions/4/QtDBus
Referenced from: /usr/local/bin/kde4-config
Reason: image not found
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating modules/Makefile
config.status: creating m4/Makefile
config.status: creating po/Makefile.in
config.status: creating share/Makefile
config.status: creating compat/Makefile
config.status: creating src/Makefile
config.status: creating lib/Makefile
config.status: creating bin/Makefile
config.status: creating test/Makefile
config.status: creating modules/gui/macosx/Makefile
config.status: creating modules/gui/qt/Makefile
config.status: creating modules/gui/skins2/Makefile
config.status: creating modules/hw/mmal/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
configure: WARNING: unrecognized options: --disable-glx, --enable-egl
libvlc configuration
--------------------
version : 3.0.0-git
system : linux
architecture : arm
optimizations : yes
build vlc executable : no
To build vlc and its plugins, type `make', or `./compile' if you like nice colors.
Building
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive
Making all in compat
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
make[3]: Nothing to be done for `all-am'.
Making all in doc
make[2]: Nothing to be done for `all'.
Making all in po
make[2]: Nothing to be done for `all'.
Making all in share
GEN vlc.desktop
GEN vlc.desktop
sed: vlc.desktop.mimetypes: No such file or directory
sed: 1: "tmp-vlc.desktop": undefined label 'mp-vlc.desktop'
make[2]: *** [vlc.desktop] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
vlc: make failed
My workarounds:
Patch in vlc/
:
diff --git a/share/Makefile.am b/share/Makefile.am
index 665b7e3..7222782 100644
--- a/share/Makefile.am
+++ b/share/Makefile.am
@@ -13,7 +13,7 @@ CLEANFILES += $(appdata_DATA)
vlc.desktop: vlc.desktop.in $(top_builddir)/config.status
$(AM_V_GEN)sed -e 's,\@bindir\@,$(bindir),g' < "$<" > tmp-$@
- $(AM_V_GEN)mimetypes="$$(sed 's/\s*#.*$$//g' vlc.desktop.mimetypes | egrep -v '^$$' | tr "\n" ';')"; sed -i "s,\@MIMETYPES\@,$$mimetypes,g" tmp-$@
+ $(AM_V_GEN)mimetypes="$$(sed 's/\s*#.*$$//g' $(srcdir)/vlc.desktop.mimetypes | egrep -v '^$$' | tr "\n" ';')"; gsed -i "s,\@MIMETYPES\@,$$mimetypes,g" tmp-$@
$(AM_V_at)$(DESKTOP_FILE_VALIDATE) tmp-$@
$(AM_V_at)mv -f tmp-$@ $@
ON OSX, this required GNU sed to be installed (brew install gnu-sed
)