Various errors when compiling VLC

VLC for Android and Chrome OS specific usage questions
Polochon_street
New Cone
New Cone
Posts: 4
Joined: 29 Sep 2012 13:51

Various errors when compiling VLC

Postby Polochon_street » 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»:

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
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)

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Various errors when compiling VLC

Postby Jean-Baptiste Kempf » 30 Sep 2012 13:05

Probably need to rebootstrap the vlc builddir.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Polochon_street
New Cone
New Cone
Posts: 4
Joined: 29 Sep 2012 13:51

Re: Various errors when compiling VLC

Postby Polochon_street » 30 Sep 2012 15:44

Run bootstrap again will not help, as I can't find anymore where to cut the -Werror. I tried in gnutls/configure.ac, vlc/configure.ac and severals configure, ran bootstrap every time, but « sh compile.sh » keeps failing at this point... Do you have any idea of which file edit?
Thanks by advance!
(In french, for french native speakers, because my english is really awful...)

---
Je suis pas sûr que relancer bootstrap sera très utile, vu que je ne trouve plus quel fichier modifier pour que -Werror cesse d'être actif. J'ai enlevé ce flag de plusieurs fichiers, comme gnults/configure.ac ou bien vlc/configure.ac, puis relancé bootstrap et la compilation via « sh compile.sh », mais rien n'y fait. Une idée sur quel fichier modifier du coup?

Merci d'avance!
---

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Various errors when compiling VLC

Postby Jean-Baptiste Kempf » 30 Sep 2012 16:10

Seeing the issue in configure.ac, you need to re ./bootstrap.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Polochon_street
New Cone
New Cone
Posts: 4
Joined: 29 Sep 2012 13:51

Re: Various errors when compiling VLC

Postby Polochon_street » 30 Sep 2012 17:32

Okay, so I did ./bootstrap and then sh compile.sh, but it didn't work, I got the same error. Maybe I'm missing something?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Various errors when compiling VLC

Postby Jean-Baptiste Kempf » 30 Sep 2012 19:37

Maybe try with Automake 1.11
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Polochon_street
New Cone
New Cone
Posts: 4
Joined: 29 Sep 2012 13:51

Re: Various errors when compiling VLC

Postby Polochon_street » 30 Sep 2012 20:17

Tried it, nothing changed...
Am I the only one to experience this bug?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Various errors when compiling VLC

Postby Jean-Baptiste Kempf » 30 Sep 2012 20:25

Works fine for me.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

trickyd
New Cone
New Cone
Posts: 1
Joined: 11 Oct 2012 17:01
Location: Edinburgh

Re: Various errors when compiling VLC

Postby trickyd » 11 Oct 2012 17:05

Yeah, rebootstrap the vlc builddir and everything works, thanks.


Return to “VLC for Android and Chrome OS”

Who is online

Users browsing this forum: No registered users and 58 guests