[MPlayer-users] MPlayer does not compile with recent FFmpeg git checkout (missing libavcodec/opt.h)

Erik Auerswald auerswal at unix-ag.uni-kl.de
Sat Jan 28 14:19:59 CET 2012


MPlayer (from svn) does not compile with a recent FFmpeg (from git), 
because MPlayer's av_opts.c includes libavcodec/opt.h, which does not exist.

Actual error message:
cc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith 
-Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes 
-Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement 
-std=gnu99 -Werror-implicit-function-declaration -O4 -march=native 
-mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize 
-Ilibdvdread4 -I. -Iffmpeg  -D_REENTRANT  -D_REENTRANT 
-I/usr/include/freetype2 -I/usr/include/dirac 
-I/usr/include/schroedinger-1.0 -I/usr/include/orc-0.4   -c -o av_opts.o 
av_opts.c:26:28: fatal error: libavcodec/opt.h: No such file or directory
compilation terminated.
make: *** [av_opts.o] Error 1

MPlayer version:
$ svn info
Path: .
URL: svn://svn.mplayerhq.hu/mplayer/trunk
Repository Root: svn://svn.mplayerhq.hu/mplayer
Repository UUID: b3059339-0415-0410-9bf9-f77b7e298cf2
Revision: 34628
Node Kind: directory
Schedule: normal
Last Changed Author: reimar
Last Changed Rev: 34628
Last Changed Date: 2012-01-28 14:06:59 +0100 (Sat, 28 Jan 2012)

FFmpeg version:
$ git log
commit 3bc92e34a4699ac3661df31e41a0ea12dc632234
Author: Clément Bœsch <ubitux at gmail.com>
Date:   Sat Jan 28 12:36:38 2012 +0100

     cmdutils: re-add return 0 accidentally remove from opt_protocols().

Steps to reproduce:
1) checkout MPlayer  from svn
2) ./configure
2a) let configure download ffmpeg
3) make


More information about the MPlayer-users mailing list