Error while trying to compile vlc lib for Android
Posted: 26 Aug 2016 14:08
I am experimenting problems to compile vlc lib for Android.
I have follow evrything as stated at https://wiki.videolan.org/AndroidCompile/
I am using Ubuntu 15
The gettext has been updated to version (0.19.8.1)
Can anybody gives me a clue on what do I need to do to compile it?
Thanks a lot
The error is:
./compile.sh -a armeabi-v7a
VLC source found
Configuring
ABI: armeabi-v7a
API: android-9
SYSROOT: /home/ssaguiar/android/android-studio/android-ndk-r11c//platforms/android-9/arch-arm
PATH: /home/ssaguiar/android/android-studio/android-ndk-r11c//toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin:/home/ssaguiar/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/ssaguiar/android/android-studio/android-sdk-linux//platform-tools:/home/ssaguiar/android/android-studio/android-sdk-linux//tools
CFLAGS: -g -O2 -fstrict-aliasing -funsafe-math-optimizations -mlong-calls
EXTRA_CFLAGS: -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -I/home/ssaguiar/android/android-studio/android-ndk-r11c//sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/ssaguiar/android/android-studio/android-ndk-r11c//sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include
Building tools
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.
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'.
mkdir -p -- /home/ssaguiar/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal && cd a52dec && autoreconf -fiv -I/home/ssaguiar/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal
mkdir -p -- /home/ssaguiar/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal && cd libogg && autoreconf -fiv -I/home/ssaguiar/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal
mkdir -p -- /home/ssaguiar/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal && cd libmad && autoreconf -fiv -I/home/ssaguiar/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal
mkdir -p -- /home/ssaguiar/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal && cd libmodplug && autoreconf -fiv -I/home/ssaguiar/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I /home/ssaguiar/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal --force
autoreconf: running: aclocal -I /home/ssaguiar/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal --force
autoreconf: running: aclocal -I /home/ssaguiar/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal --force
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: running: aclocal -I /home/ssaguiar/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal --force
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:20: warning: macro 'AM_PROG_LIBTOOL' not found in library
autoreconf: configure.in: tracing
autoreconf: configure.in: tracing
autoreconf: configure.ac: tracing
autoreconf: configure.ac: tracing
autoreconf: configure.in: not using Libtool
autoreconf: running: /home/ssaguiar/vlc-android/vlc/extras/tools/build/bin/autoconf --include=/home/ssaguiar/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal --force
autoreconf: configure.in: not using Libtool
autoreconf: running: /home/ssaguiar/vlc-android/vlc/extras/tools/build/bin/autoconf --include=/home/ssaguiar/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal --force
autoreconf: configure.ac: not using Libtool
autoreconf: running: /home/ssaguiar/vlc-android/vlc/extras/tools/build/bin/autoconf --include=/home/ssaguiar/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal --force
autoreconf: configure.ac: not using Libtool
autoreconf: running: /home/ssaguiar/vlc-android/vlc/extras/tools/build/bin/autoconf --include=/home/ssaguiar/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal --force
configure.in:20: error: possibly undefined macro: AM_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /home/ssaguiar/vlc-android/vlc/extras/tools/build/bin/autoconf failed with exit status: 1
make: *** [.ogg] Error 1
make: *** Waiting for unfinished jobs....
configure.in:74: error: possibly undefined macro: AC_DISABLE_SHARED
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.in:75: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
configure.in:76: error: possibly undefined macro: AC_PROG_LIBTOOL
autoreconf: /home/ssaguiar/vlc-android/vlc/extras/tools/build/bin/autoconf failed with exit status: 1
make: *** [.a52] Error 1
configure.ac:17: error: possibly undefined macro: AC_DISABLE_STATIC
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /home/ssaguiar/vlc-android/vlc/extras/tools/build/bin/autoconf failed with exit status: 1
make: *** [.modplug] Error 1
configure.ac:65: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /home/ssaguiar/vlc-android/vlc/extras/tools/build/bin/autoconf failed with exit status: 1
make: *** [.mad] Error 1
contribs: make failed
I have follow evrything as stated at https://wiki.videolan.org/AndroidCompile/
I am using Ubuntu 15
The gettext has been updated to version (0.19.8.1)
Can anybody gives me a clue on what do I need to do to compile it?
Thanks a lot
The error is:
./compile.sh -a armeabi-v7a
VLC source found
Configuring
ABI: armeabi-v7a
API: android-9
SYSROOT: /home/ssaguiar/android/android-studio/android-ndk-r11c//platforms/android-9/arch-arm
PATH: /home/ssaguiar/android/android-studio/android-ndk-r11c//toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin:/home/ssaguiar/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/ssaguiar/android/android-studio/android-sdk-linux//platform-tools:/home/ssaguiar/android/android-studio/android-sdk-linux//tools
CFLAGS: -g -O2 -fstrict-aliasing -funsafe-math-optimizations -mlong-calls
EXTRA_CFLAGS: -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -I/home/ssaguiar/android/android-studio/android-ndk-r11c//sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/ssaguiar/android/android-studio/android-ndk-r11c//sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include
Building tools
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.
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'.
mkdir -p -- /home/ssaguiar/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal && cd a52dec && autoreconf -fiv -I/home/ssaguiar/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal
mkdir -p -- /home/ssaguiar/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal && cd libogg && autoreconf -fiv -I/home/ssaguiar/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal
mkdir -p -- /home/ssaguiar/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal && cd libmad && autoreconf -fiv -I/home/ssaguiar/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal
mkdir -p -- /home/ssaguiar/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal && cd libmodplug && autoreconf -fiv -I/home/ssaguiar/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I /home/ssaguiar/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal --force
autoreconf: running: aclocal -I /home/ssaguiar/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal --force
autoreconf: running: aclocal -I /home/ssaguiar/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal --force
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: running: aclocal -I /home/ssaguiar/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal --force
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:20: warning: macro 'AM_PROG_LIBTOOL' not found in library
autoreconf: configure.in: tracing
autoreconf: configure.in: tracing
autoreconf: configure.ac: tracing
autoreconf: configure.ac: tracing
autoreconf: configure.in: not using Libtool
autoreconf: running: /home/ssaguiar/vlc-android/vlc/extras/tools/build/bin/autoconf --include=/home/ssaguiar/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal --force
autoreconf: configure.in: not using Libtool
autoreconf: running: /home/ssaguiar/vlc-android/vlc/extras/tools/build/bin/autoconf --include=/home/ssaguiar/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal --force
autoreconf: configure.ac: not using Libtool
autoreconf: running: /home/ssaguiar/vlc-android/vlc/extras/tools/build/bin/autoconf --include=/home/ssaguiar/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal --force
autoreconf: configure.ac: not using Libtool
autoreconf: running: /home/ssaguiar/vlc-android/vlc/extras/tools/build/bin/autoconf --include=/home/ssaguiar/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal --force
configure.in:20: error: possibly undefined macro: AM_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /home/ssaguiar/vlc-android/vlc/extras/tools/build/bin/autoconf failed with exit status: 1
make: *** [.ogg] Error 1
make: *** Waiting for unfinished jobs....
configure.in:74: error: possibly undefined macro: AC_DISABLE_SHARED
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.in:75: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
configure.in:76: error: possibly undefined macro: AC_PROG_LIBTOOL
autoreconf: /home/ssaguiar/vlc-android/vlc/extras/tools/build/bin/autoconf failed with exit status: 1
make: *** [.a52] Error 1
configure.ac:17: error: possibly undefined macro: AC_DISABLE_STATIC
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /home/ssaguiar/vlc-android/vlc/extras/tools/build/bin/autoconf failed with exit status: 1
make: *** [.modplug] Error 1
configure.ac:65: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /home/ssaguiar/vlc-android/vlc/extras/tools/build/bin/autoconf failed with exit status: 1
make: *** [.mad] Error 1
contribs: make failed