[MPlayer-users] svn checkout 33269 compile fails with error of ffmpeg libavcodec include opt.h not found

stan RegBur_Flydan8 at q.com
Fri Apr 22 00:07:22 CEST 2011


I am getting the following error while compiling svn checkout version
33269 on Fedora 14, x86_64.

cc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99  -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg  -D_REENTRANT -I/usr/include/directfb -I/usr/include/   -pthread -I/usr/include/kde/artsc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -D_REENTRANT   -I/usr/include/cdda -I/usr/include/freetype2    -pthread -DHAVE_STRUCT_SOCKADDR_STORAGE -I/usr/include/nemesi   -DFF_API_MAX_STREAMS=0 -I/usr/include/dirac   -I/usr/include/schroedinger-1.0 -I/usr/include/orc-0.4   -c -o av_opts.o av_opts.c                         
av_opts.c:26:28: fatal error: libavcodec/opt.h: No such file or directory                                
compilation terminated.                                                                                  
make: *** [av_opts.o] Error 1

I have the ffmpeg-devel library installed and the
file /usr/include/libavcodec/opt.h does exist on the system.

I tried a distclean with no success.  So I deleted the whole
mplayer checkout and checked out again.  When I configured mplayer, it
checked out the ffmpeg git repository.  I thought this would fix it,
but it failed with the same error again.

I looked at the configure options, but I didn't see a way to tell it to
use the system version of ffmpeg instead of the git version.  Is there
a way to do that?

Thanks.


More information about the MPlayer-users mailing list