[vlc-devel] Cant compile vlc 3.0.0

Steve Lhomme robux4 at ycbcr.xyz
Fri Feb 9 07:39:30 CET 2018


Le 09/02/2018 à 05:20, Masaru Nomiya a écrit :
> Hello,
>
> I got vlc-3.0.0.tar.xz, and tried to compile.
> But, I got the error;

What C++ compiler are you using ?

> [...]
> In file included from ../include/vlc_common.h:1021:0,
>                   from demux/mkv/mkv.hpp:38,
>                   from demux/mkv/mkv.cpp:25:
> demux/mkv/mkv.cpp: In function 'int Control(demux_t*, int, __va_list_tag*)':
> demux/mkv/mkv.cpp:433:45: error: expected ')' before 'PRId64'
>               msg_Dbg(p_demux,"SET_TIME to %" PRId64, i64 );
>                                               ^
> ../include/vlc_messages.h:79:23: note: in definition of macro 'msg_Generic'
>               __func__, __VA_ARGS__)
>                         ^~~~~~~~~~~
> demux/mkv/mkv.cpp:433:13: note: in expansion of macro 'msg_Dbg'
>               msg_Dbg(p_demux,"SET_TIME to %" PRId64, i64 );
>
> ../include/vlc_messages.h:79:34: warning: spurious trailing '%' in format [-Wformat=]
>               __func__, __VA_ARGS__)
>                                    ^
> ../include/vlc_messages.h:87:5: note: in expansion of macro 'msg_Generic'
>       msg_Generic(p_this, VLC_MSG_DBG, __VA_ARGS__)
>       ^~~~~~~~~~~
> demux/mkv/mkv.cpp:433:13: note: in expansion of macro 'msg_Dbg'
>               msg_Dbg(p_demux,"SET_TIME to %" PRId64, i64 );
>               ^~~~~~~
> ../include/vlc_messages.h:79:34: warning: too many arguments for format [-Wformat-extra-args]
>               __func__, __VA_ARGS__)
>                                    ^
> ../include/vlc_messages.h:87:5: note: in expansion of macro 'msg_Generic'
>       msg_Generic(p_this, VLC_MSG_DBG, __VA_ARGS__)
>       ^~~~~~~~~~~
> demux/mkv/mkv.cpp:433:13: note: in expansion of macro 'msg_Dbg'
>               msg_Dbg(p_demux,"SET_TIME to %" PRId64, i64 );
>               ^~~~~~~
> demux/mkv/mkv.cpp: In function 'int Seek(demux_t*, mtime_t, double, virtual_chapter_c*, bool)':
> demux/mkv/mkv.cpp:447:71: error: expected ')' before 'PRId64'
>
>       if( f_percent < 0 ) msg_Dbg( p_demux, "seek request to i_pos = %" PRId64, i_mk_date );
>                                                                         ^
> ../include/vlc_messages.h:79:23: note: in definition of macro 'msg_Generic'
>               __func__, __VA_ARGS__)
>                         ^~~~~~~~~~~
> demux/mkv/mkv.cpp:447:25: note: in expansion of macro 'msg_Dbg'
>       if( f_percent < 0 ) msg_Dbg( p_demux, "seek request to i_pos = %" PRId64, i_mk_date );
>                           ^~~~~~~
> ../include/vlc_messages.h:79:34: warning: spurious trailing '%' in format [-Wformat=]
>               __func__, __VA_ARGS__)
>                                    ^
> ../include/vlc_messages.h:87:5: note: in expansion of macro 'msg_Generic'
>       msg_Generic(p_this, VLC_MSG_DBG, __VA_ARGS__)
>       ^~~~~~~~~~~
> demux/mkv/mkv.cpp:447:25: note: in expansion of macro 'msg_Dbg'
>       if( f_percent < 0 ) msg_Dbg( p_demux, "seek request to i_pos = %" PRId64, i_mk_date );
>                           ^~~~~~~
> ../include/vlc_messages.h:79:34: warning: too many arguments for format [-Wformat-extra-args]
>               __func__, __VA_ARGS__)
>
>                                    ^
> ../include/vlc_messages.h:87:5: note: in expansion of macro 'msg_Generic'
>       msg_Generic(p_this, VLC_MSG_DBG, __VA_ARGS__)
>       ^~~~~~~~~~~
> demux/mkv/mkv.cpp:447:25: note: in expansion of macro 'msg_Dbg'
>       if( f_percent < 0 ) msg_Dbg( p_demux, "seek request to i_pos = %" PRId64, i_mk_date );
>                           ^~~~~~~
>    CC       demux/mpeg/libts_plugin_la-ts_streams.lo
>    CC       demux/mpeg/libts_plugin_la-ts_scte.lo
> make[4]: *** [Makefile:23360: demux/mkv/libmkv_plugin_la-mkv.lo] Error 1
> make[4]: *** Waiting for unfinished jobs....
> make[4]: Leaving directory '/tmp/nom/vlc-3.0.0/modules'
> make[3]: *** [Makefile:26103: all-recursive] Error 1
> make[3]: Leaving directory '/tmp/nom/vlc-3.0.0/modules'
> make[2]: *** [Makefile:11216: all] Error 2
> make[2]: Leaving directory '/tmp/nom/vlc-3.0.0/modules'
> make[1]: *** [Makefile:1529: all-recursive] Error 1
> make[1]: Leaving directory '/tmp/nom/vlc-3.0.0'
> make: *** [Makefile:1414: all] Error 2
>
> Any idea?
>
> Thanks.
>
> ---
> ┏━━┓彡 Masaru Nomiya             mail-to: nomiya @ galaxy.dti.ne.jp
> ┃\/彡
> ┗━━┛ "Bill! You married with Computers.
>            Not with Me!"
>           "No..., with money."
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel



More information about the vlc-devel mailing list