[MPlayer-users] compile failure on MacOS 10.5.8

Christian Ebert blacktrash at gmx.net
Mon Mar 11 09:36:55 CET 2013


Hi,

mplayer fails to build on Mac OS 10.5.8:

make -C ffmpeg libavutil/libavutil.a
CC      libavutil/adler32.o
CC      libavutil/aes.o
CC      libavutil/atomic.o
In file included from libavutil/atomic.c:21:
libavutil/atomic.h:26:5: warning: "HAVE_MEMORYBARRIER" is not defined
In file included from libavutil/atomic.h:29,
                 from libavutil/atomic.c:21:
libavutil/atomic_gcc.h: In function 'atomic_int_get_gcc':
libavutil/atomic_gcc.h:29: error: implicit declaration of function '__sync_synchronize'
libavutil/atomic_gcc.h: In function 'atomic_int_add_and_fetch_gcc':
libavutil/atomic_gcc.h:43: error: implicit declaration of function '__sync_add_and_fetch'
libavutil/atomic_gcc.h: In function 'atomic_ptr_cas_gcc':
libavutil/atomic_gcc.h:50: error: implicit declaration of function '__sync_val_compare_and_swap'
libavutil/atomic_gcc.h:50: warning: return makes pointer from integer without a cast
libavutil/atomic.c:23:6: warning: "HAVE_MEMORYBARRIER" is not defined
make[1]: *** [libavutil/atomic.o] Error 1
make: *** [ffmpeg/libavutil/libavutil.a] Error 2

$ uname -mrsv
Darwin 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386

The current ffmpeg git HEAD builds and installs fine.
$ ffmpeg -version
ffmpeg version N-50651-g1123080
built on Mar 11 2013 08:12:22 with gcc 4.0.1 (GCC) (Apple Inc. build 5493)
configuration: --enable-gpl --enable-version3 --enable-nonfree --disable-network --disable-ffserver --enable-shared --enable-libx264 --enable-libxvid --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-librtmp --extra-cflags=-I/sw/include --extra-libs=-L/sw/lib
libavutil      52. 19.100 / 52. 19.100
libavcodec     54. 92.100 / 54. 92.100
libavformat    54. 63.104 / 54. 63.104
libavdevice    54.  3.103 / 54.  3.103
libavfilter     3. 44.101 /  3. 44.101
libswscale      2.  2.100 /  2.  2.100
libswresample   0. 17.102 /  0. 17.102
libpostproc    52.  2.100 / 52.  2.100

-- 
  Was heißt hier Dogma, ich bin Underdogma!
[ What the hell do you mean dogma, I am underdogma. ]
free movies       --->>> http://www.blacktrash.org/underdogma
http://itunes.apple.com/podcast/underdogma-movies/id363423596


More information about the MPlayer-users mailing list