vlc-git Nov 09, 2015: Unable to compile...

*nix specific usage questions
andrew46
Blank Cone
Blank Cone
Posts: 60
Joined: 01 Jun 2009 11:36
Operating System: Linux

vlc-git Nov 09, 2015: Unable to compile...

Postby andrew46 » 09 Nov 2015 10:09

I have been unable to compile vlc-git (Nov 09 2015) under Linux with the following error:

Code: Select all

CXX demux/dash/mpd/libadaptative_plugin_la-DASHSegment.lo In file included from ../include/vlc_common.h:902:0, from ./demux/adaptative/../adaptative/playlist/Url.hpp:29, from ./demux/adaptative/../adaptative/playlist/ICanonicalUrl.hpp:23, from ./demux/adaptative/../adaptative/playlist/SegmentInformation.hpp:27, from ./demux/adaptative/../adaptative/playlist/BaseRepresentation.h:32, from demux/hls/playlist/Representation.hpp:24, from demux/hls/playlist/Representation.cpp:26: demux/hls/playlist/Representation.cpp: In member function ‘virtual void hls::playlist::Representation::runLocalUpdates(mtime_t, uint64_t)’: demux/hls/playlist/Representation.cpp:133:86: error: expected ‘)’ before ‘PRId64’ msg_Dbg(playlist->getVLCObject(), "Updated playlist ID %s, next update in %" PRId64 "s", ^ ../include/vlc_messages.h:78:23: note: in definition of macro ‘msg_Generic’ __func__, __VA_ARGS__) ^ demux/hls/playlist/Representation.cpp:133:9: note: in expansion of macro ‘msg_Dbg’ msg_Dbg(playlist->getVLCObject(), "Updated playlist ID %s, next update in %" PRId64 "s", ^ ../include/vlc_messages.h:78:34: warning: spurious trailing ‘%’ in format [-Wformat=] __func__, __VA_ARGS__) ^ ../include/vlc_messages.h:86:5: note: in expansion of macro ‘msg_Generic’ msg_Generic(p_this, VLC_MSG_DBG, __VA_ARGS__) ^ demux/hls/playlist/Representation.cpp:133:9: note: in expansion of macro ‘msg_Dbg’ msg_Dbg(playlist->getVLCObject(), "Updated playlist ID %s, next update in %" PRId64 "s", ^ ../include/vlc_messages.h:78:34: warning: too many arguments for format [-Wformat-extra-args] __func__, __VA_ARGS__) ^ ../include/vlc_messages.h:86:5: note: in expansion of macro ‘msg_Generic’ msg_Generic(p_this, VLC_MSG_DBG, __VA_ARGS__) ^ demux/hls/playlist/Representation.cpp:133:9: note: in expansion of macro ‘msg_Dbg’ msg_Dbg(playlist->getVLCObject(), "Updated playlist ID %s, next update in %" PRId64 "s", ^ make[4]: *** [demux/hls/playlist/libadaptative_plugin_la-Representation.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... demux/hls/playlist/HLSSegment.cpp:55:6: warning: unused parameter ‘chunk’ [-Wunused-parameter] void HLSSegment::onChunkDownload(block_t **pp_block, SegmentChunk *chunk, BaseRepresentation *) ^ make[4]: Leaving directory `/tmp/vlc/modules' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/tmp/vlc/modules' make[2]: *** [all] Error 2 make[2]: Leaving directory `/tmp/vlc/modules' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/vlc' make: *** [all] Error 2 root@ilium/home/andrew/source/vlc-git#
I suspect my build environment as I am able to compile the same tree on a different Linux distro. Any insights into this problem would be appreciated.

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: vlc-git Nov 09, 2015: Unable to compile...

Postby Jean-Baptiste Kempf » 09 Nov 2015 13:22

Your compiler is probably too old... Which is it?
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.

andrew46
Blank Cone
Blank Cone
Posts: 60
Joined: 01 Jun 2009 11:36
Operating System: Linux

Re: vlc-git Nov 09, 2015: Unable to compile...

Postby andrew46 » 09 Nov 2015 19:34

The compiler:

Code: Select all

andrew@ilium~$ gcc --version gcc (GCC) 4.8.2 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. andrew@ilium~$


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 24 guests