[MPlayer-users] MPlayer fails to build (on Ubuntu 14.04 LTS)

Erik Auerswald auerswal at unix-ag.uni-kl.de
Tue Feb 14 11:42:26 EET 2017


Hi,

On Tue, Feb 14, 2017 at 12:01:26AM +0100, Alexander Strasser wrote:
> 
> On 2017-02-13 09:59 +0100, Erik Auerswald wrote:
> > I tried to build current MPlayer, but the build failed with the following
> > error:
> > 
> > ------------------------------------8<-------------------------------------
> > 
> > libavcodec/vaapi_encode_vp8.c:20:27: fatal error: va/va_enc_vp8.h: No such file or directory
> >  #include <va/va_enc_vp8.h>
> >                            ^
> > compilation terminated.
> > make[1]: *** [libavcodec/vaapi_encode_vp8.o] Error 1
> > make[1]: Leaving directory `/home/auerswald/Software/mplayer/ffmpeg'
> > make: *** [ffmpeg/libavcodec/libavcodec.a] Error 2
> > 
> > ------------------------------------8<-------------------------------------
> > 
> > Perhaps a configure check for the needed header file could be added?
> > 
> > I used the following command line to start the build:
> > 
> >     svn up && make distclean && ./configure && make
> 
>   Hopefully fixed with SVN r37924

Thanks, the build now fails with:

libavutil/cpu.c:20:23: fatal error: stdatomic.h: No such file or directory
 #include <stdatomic.h>
                       ^
compilation terminated.
make[1]: *** [libavutil/cpu.o] Error 1
make[1]: Leaving directory `/home/auerswald/Software/mplayer/ffmpeg'
make: *** [ffmpeg/libavutil/libavutil.a] Error 2

Directly above I see warnings for undefined constants
HAVE_ATOMIC_COMPARE_EXCHANGE, HAVE_ATOMICS_WIN32 and HAVE_ATOMICS_SUNCC
(just the atmics related stuff, as always there is a multitude of ffmpeg
configuration constants not defined by MPlayer).

nks,
Erik
-- 
[M]ost parts of this industry just work by chance.
                        -- Thomas Gleixner


More information about the MPlayer-users mailing list