[MPlayer-users] mplayer-build from the git repo does not compile
Stanislav Maslovski
stanislav.maslovski at gmail.com
Sun Mar 14 11:01:16 CET 2010
Hello,
I am not sure if this list is the correct place to ask about
mplayer-git. Nevertheless, current mplayer from the mplayer-build
git repo does not compile for me. This is the error I get:
=======================================================================
cc -I../ffmpeg-mt -Wmissing-prototypes -Wundef -Wdisabled-optimization
-Wno-pointer-sign -std=gnu99 -Wall -Wno-switch -Wpointer-arith
-Wredundant-decls -O2 -march=native -mtune=native -pipe -ffast-math
-fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -I.
-I/home/stas/src/git/mplayer-build/build_libs/include -D_REENTRANT
-I/usr/include/directfb -I/usr/include/ -D_REENTRANT
-I/usr/include -I/usr/include/freetype2
-I/home/stas/src/git/mplayer-build/build_libs/include
-I/usr/include/freetype2
-I/home/stas/src/git/mplayer-build/build_libs/include
-I/home/stas/src/git/mplayer-build/build_libs/include
-I/home/stas/src/git/mplayer-build/build_libs/include
-I/home/stas/src/git/mplayer-build/build_libs/include
-I/home/stas/src/git/mplayer-build/build_libs/include -I/usr/include
-I/usr/include -DDVDNAV_USES_EXTERNAL_DVDREAD -c -o
libaf/af_lavcac3enc.o -MD -MP -MF libaf/af_lavcac3enc.d
libaf/af_lavcac3enc.c
In file included from libaf/af_lavcac3enc.c:34:
../ffmpeg-mt/libavutil/intreadwrite.h:34: error: expected '=', ',',
';', 'asm' or '__attribute__' before 'av_alias64'
../ffmpeg-mt/libavutil/intreadwrite.h:41: error: expected '=', ',',
';', 'asm' or '__attribute__' before 'av_alias32'
../ffmpeg-mt/libavutil/intreadwrite.h:46: error: expected '=', ',',
';', 'asm' or '__attribute__' before 'av_alias16'
In file included from libaf/af_lavcac3enc.c:34:
../ffmpeg-mt/libavutil/intreadwrite.h:63:7: warning: "ARCH_TOMI" is
not defined
In file included from libaf/af_lavcac3enc.c:34:
../ffmpeg-mt/libavutil/intreadwrite.h:183: error: conflicting types
for 'av_alias'
../ffmpeg-mt/libavutil/intreadwrite.h:182: note: previous declaration
of 'av_alias' was here
../ffmpeg-mt/libavutil/intreadwrite.h:184: error: conflicting types
for 'av_alias'
../ffmpeg-mt/libavutil/intreadwrite.h:182: note: previous declaration
of 'av_alias' was here
make[2]: *** [libaf/af_lavcac3enc.o] Error 1
make[2]: Leaving directory /home/stas/src/git/mplayer-build/mplayer'
make[1]: *** [mplayer] Error 2
make[1]: Leaving directory /home/stas/src/git/mplayer-build'
make: *** [build-stamp] Error 2
=======================================================================
This error seems to be related with the recent changes in
libavutil/intreadwrite.h and libavutil/common.h. Looks like a missing
#include "internal.h". BTW, a related question: what is the meaning of
HAVE_AV_CONFIG_H macro?
Just in case, I attach gzipped configure.log
--
Stanislav
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log.gz
Type: application/octet-stream
Size: 13440 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20100314/7871968e/attachment-0001.obj>
More information about the MPlayer-users
mailing list