Re: MPlayer Required GCC Version

Alexander Strasser <[email protected]>
Newsgroups gmane.comp.video.mplayer.user
Message-ID <[email protected]>
Hi!

On 2019-05-15 11:39 -0400, Kevan Hashemi wrote:
>
[...]
> After a few lines, I get:
>
> WARNING: libavdevice/alldevices.c libavfilter/allfilters.c libavformat/allformats.c libavcodec/allcodecs.c libavcodec/bitstream_filters.c libavcodec/parsers.c libavformat/protocols.c newer than config.h, rerun configure
>
> and later:
>
> CC	libavcodec/diracdec.o
> In file included from ./libavcodec/mpegvideo.h:35,
>                  from libavcodec/diracdec.c:39:
> ./libavcodec/error_resilience.h:23:23: warning: stdatomic.h: No such file or directory
> In file included from ./libavcodec/mpegvideo.h:35,
>                  from libavcodec/diracdec.c:39:
> ./libavcodec/error_resilience.h:64: error: expected specifier-qualifier-list before 'atomic_int'
> make[1]: *** [libavcodec/diracdec.o] Error 1
> make[1]: Leaving directory `/media/sf_Scratch/ALT/mplayer/mplayer/ffmpeg'
> make: *** [ffmpeg/libavcodec/libavcodec.a] Error 2


Are you running into

  https://trac.mplayerhq.hu/ticket/2312

?


> I re-run configure but the above error persists. I note that there are several copies of stdatomic.h in the distribution:
>
> [mplayer]$ find ./ -name stdatomic.h
> ./ffmpeg/compat/atomics/dummy/stdatomic.h
> ./ffmpeg/compat/atomics/gcc/stdatomic.h
> ./ffmpeg/compat/atomics/pthread/stdatomic.h
> ./ffmpeg/compat/atomics/suncc/stdatomic.h
> ./ffmpeg/compat/atomics/win32/stdatomic.h
>
> This looks like an effort to compile C11 language usage on a GCC that pre-dates GCC 4.7+. Is it possible to compile MPlayer with GCC 4.4.7?

Maybe with the workaround described in the ticket. You could give it a
try.


  Alexander
_______________________________________________
MPlayer-users mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.