tech-ports archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

build error for "vlc"



On amd64 and pkgsrc from around a week ago:

  ...
  CCLD     libvaapi_x11_plugin.la
  CC       codec/libx264_plugin_la-x264.lo
In file included from ../config.h:801:0,
                 from codec/x264.c:29:
../include/vlc_fixups.h:256:43: warning: "__cplusplus" is not defined, evaluates to 0 [-Wundef]
 # if !(__STDC_VERSION__ - 0 >= 201112L || __cplusplus >= 201103L)
                                           ^~~~~~~~~~~
In file included from codec/x264.c:29:0:
../config.h:804:0: warning: ignoring #pragma STDC FENV_ACCESS [-Wunknown-pragmas]
 # pragma STDC FENV_ACCESS OFF

../config.h:805:0: warning: ignoring #pragma STDC FP_CONTRACT [-Wunknown-pragmas]
 # pragma STDC FP_CONTRACT ON

codec/x264.c: In function 'Open':
codec/x264.c:850:26: error: 'x264_bit_depth' undeclared (first use in this function); did you mean 'x264_picture_t'?
         const int mask = x264_bit_depth > 8 ? X264_CSP_HIGH_DEPTH : 0;
                          ^~~~~~~~~~~~~~
                          x264_picture_t
codec/x264.c:850:26: note: each undeclared identifier is reported only once for each function it appears in
At top level:
codec/x264.c:428:26: warning: 'profile_list' defined but not used [-Wunused-const-variable=]
 static const char *const profile_list[] =
                          ^~~~~~~~~~~~
gmake[4]: *** [Makefile:9088: codec/libx264_plugin_la-x264.lo] Error 1
gmake[4]: Leaving directory '/usr/pkgsrc/multimedia/vlc/work/vlc-2.2.6/modules'
gmake[3]: *** [Makefile:9654: all-recursive] Error 1
gmake[3]: Leaving directory '/usr/pkgsrc/multimedia/vlc/work/vlc-2.2.6/modules'
gmake[2]: *** [Makefile:4528: all] Error 2
gmake[2]: Leaving directory '/usr/pkgsrc/multimedia/vlc/work/vlc-2.2.6/modules'
gmake[1]: *** [Makefile:2265: all-recursive] Error 1
gmake[1]: Leaving directory '/usr/pkgsrc/multimedia/vlc/work/vlc-2.2.6'
gmake: *** [Makefile:2150: all] Error 2
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/multimedia/vlc
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/multimedia/vlc



-bash-5.0$ pwd
/usr/pkgsrc/multimedia/vlc/work/vlc-2.2.6/modules/codec
-bash-5.0$ find ../.. -type f | xargs grep x264_bit_depth
../../modules/codec/x264.c:        const int mask = x264_bit_depth > 8 ? X264_CSP_HIGH_DEPTH : 0; ../../modules/codec/x264.c:            msg_Err( p_enc, "Only high bith depth encoding supported, bit depth:%d", x264_bit_depth);
-bash-5.0$


regards,
chris



Home | Main Index | Thread Index | Old Index