Various errors when compiling VLC
Posted: 30 Sep 2012 00:46
Hello there!
I tried to compile VLC for Android, following the officiel wiki, but it fails each time I tries. I overcomed some of the errors by doing dirty fixes, but I assume it may be because of these fixes that the other parts won't compile, so I'm asking you a « clean » way to fix my errors.
The error I encounter right now is this one, when running « sh compile.sh»:
I remembered that I previously fixed this error by deleting a « -Werror » flag somewhere, but I can't finding it anymore, and I don't know if this is a clean way to continue.
Does someone have any idea please?
Thanks by advance!
(And, well, sorry for my bad English)
I tried to compile VLC for Android, following the officiel wiki, but it fails each time I tries. I overcomed some of the errors by doing dirty fixes, but I assume it may be because of these fixes that the other parts won't compile, so I'm asking you a « clean » way to fix my errors.
The error I encounter right now is this one, when running « sh compile.sh»:
Code: Select all
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] Erreur 1
Does someone have any idea please?
Thanks by advance!
(And, well, sorry for my bad English)