[MPlayer-dev-eng] Failed to compile current SVN (36775)

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Feb 2 09:08:07 CET 2014


On 02.02.2014, at 03:02, Hans-Dieter Kosch <hdkosch at kabelbw.de> wrote:
> Hi all,
> 
> just updated my SVN copy to r36775, did a './configure; make all;' and got following error:
> 
> CC      libavfilter/avfilter.o
> In file included from ./libavutil/atomic.h:29,
>                 from libavfilter/avfilter.c:22:
> ./libavutil/atomic_gcc.h: In function 'atomic_int_get_gcc':
> ./libavutil/atomic_gcc.h:31: error: implicit declaration of function '__sync_synchronize'
> ./libavutil/atomic_gcc.h: In function 'atomic_int_add_and_fetch_gcc':
> ./libavutil/atomic_gcc.h:45: error: implicit declaration of function '__sync_add_and_fetch'
> ./libavutil/atomic_gcc.h: In function 'atomic_ptr_cas_gcc':
> ./libavutil/atomic_gcc.h:57: error: implicit declaration of function '__sync_val_compare_and_swap'
> 
> 
> PS:
> config args:
> --enable-gui --extra-cflags=-I/usr/local/fontconfig/include --extra-ldflags=-L/usr/local/fontconfig/lib --enable-rpath
> gcc:
> 4.0.2

That is too old to get useful multithreading performance with current FFmpeg (which is the main reason I did not bother implementing auto-detection of atomics).
I think (but have not tried) that you should be able to build with it if you disable threads.


More information about the MPlayer-dev-eng mailing list