Page 1 of 1

Unable to build LibVLC tag 1.4.1

Posted: 24 Jun 2015 13:24
by Ltty
Hi guys,

I am unable to build the VLC tag 1.4.1. I am doing a clean checkout for all libraries, all tools are up-to-date. This the error I get. Any ideas on how to resolve this issue?

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
GEN dummy.c
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
CC dummy.lo
CC atof.lo
CC getdelim.lo
CC posix_memalign.lo
CC strtof.lo
CC swab.lo
CC tdestroy.lo
CC strverscmp.lo
../../compat/strverscmp.c:42:5: warning: no previous prototype for 'strverscmp' [-Wmissing-prototypes]
int strverscmp (const char *s1, const char *s2)
^
CCLD libcompat.la
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
Making all in src
CC fourcc_gen
GEN stamp-revision
GEN ../include/vlc_about.h
GEN fourcc_tables.h
video: 791 entries
audio: 255 entries
spu: 47 entries
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
CC libvlc.lo
CC libvlc-module.lo
CC missing.lo
GEN ../../src/revision.c
CC version.lo
In file included from ../../include/vlc_picture.h:35:0,
from ../../include/vlc_subpicture.h:32,
from ../../include/vlc_spu.h:29,
from ../../include/vlc_vout_osd.h:29,
from ../../include/vlc_input.h:41,
from ../../include/vlc_vlm.h:28,
from ../../src/missing.c:343:
../../include/vlc_atomic.h:34:25: fatal error: stdatomic.h: No such file or directory
# include <stdatomic.h>
^
compilation terminated.
In file included from ../../include/vlc_picture.h:35:0,
from ../../include/vlc_subpicture.h:32,
from ../../include/vlc_spu.h:29,
from ../../include/vlc_vout_osd.h:29,
from ../../include/vlc_input.h:41,
from ../../src/libvlc.c:41:
../../include/vlc_atomic.h:34:25: fatal error: stdatomic.h: No such file or directory
# include <stdatomic.h>
^
compilation terminated.
make[3]: *** [libvlc.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [missing.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
vlc: make failed
Build step 'Execute shell' marked build as failure
Archiving artifacts
Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 2 second
Finished: FAILURE

Re: Unable to build LibVLC tag 1.4.1

Posted: 24 Jun 2015 13:45
by RĂ©mi Denis-Courmont
There is no LibVLC version 1.4.1. You are building HEAD, which currently requires GCC 5.

Re: Unable to build LibVLC tag 1.4.1

Posted: 25 Jun 2015 16:01
by Ltty
Doesn't VLC configure its own toolchain with custom environment scripts in the NDK? I am building on a MAC, so I have clang installed on it. Everything worked so far until I changed from tag 1.3.x to 1.4.1.

Re: Unable to build LibVLC tag 1.4.1

Posted: 09 Jul 2015 22:15
by Jean-Baptiste Kempf
Use gcc 4.9