Hello guys,
I am currently trying to build the vlc for android application. However I have experienced couple of mistakes. Some of them were solved but some others remain. More specifically:
--- I have automake-1.12.1, autoconf-2.69, libtools 2.4.2 and gettext 0.18.2. However I get the following error:
[This only the stderr]
autoreconf: running: aclocal -I /home/michael/vlcAndroid/android/vlc/contrib/arm-linux-androideabi/share/aclocal --force -I m4 -I gl/m4 -I lib/gl/m4 -I libextra/gl/m4 -I lib/m4 -I libextra/m4
configure.ac:129: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
configure.ac:129: the top level
autoreconf: configure.ac: tracing
configure.ac:129: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
configure.ac:129: the top level
autoreconf: configure.ac: adding subdirectory lib to autoreconf
autoreconf: Entering directory `lib'
autoreconf: running: autopoint --force
autoreconf: running: aclocal -I /home/michael/vlcAndroid/android/vlc/contrib/arm-linux-androideabi/share/aclocal --force -I m4 -I gl/m4
autoreconf: running: libtoolize --copy --force
autoreconf: running: /usr/bin/autoconf --include=/home/michael/vlcAndroid/android/vlc/contrib/arm-linux-androideabi/share/aclocal --force
autoreconf: running: /usr/bin/autoheader --include=/home/michael/vlcAndroid/android/vlc/contrib/arm-linux-androideabi/share/aclocal --force
autoreconf: running: automake --add-missing --copy --force-missing
automake: warnings are treated as errors
configure.ac:41: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and will soon be removed.
configure.ac:41: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead,
configure.ac:41: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.
/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libgnutls.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
Makefile.am:57: while processing Libtool library 'libgnutls.la'
/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libgnutlsxx.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
Makefile.am:170: while processing Libtool library 'libgnutlsxx.la'
/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libcrypto.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
gcrypt/Makefile.am:36: while processing Libtool library 'libcrypto.la'
/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libminitasn1.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
minitasn1/Makefile.am:29: while processing Libtool library 'libminitasn1.la'
/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libcrypto.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
nettle/Makefile.am:36: while processing Libtool library 'libcrypto.la'
/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libminiopencdk.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
opencdk/Makefile.am:35: while processing Libtool library 'libminiopencdk.la'
/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libgnutls_openpgp.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
openpgp/Makefile.am:37: while processing Libtool library 'libgnutls_openpgp.la'
/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libgnutls_x509.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
x509/Makefile.am:35: while processing Libtool library 'libgnutls_x509.la'
autoreconf: automake failed with exit status: 1
make: *** [.gnutls] Error 1
Can you please help me? The error appears to be in the linking process and that automake 1.12.1 treats by default all warnings as errors...
I would appreciate it if you could tell me the exact versions of the tools used in order to build this project. Thanks!
--- Also for those who have automake 1.13.1 version or higher build process will not work as some of the deprecated commands are treated as errors, not as warnings...
Thank you very much!