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

Guillaume POIRIER poirierg at gmail.com
Fri Apr 22 00:16:53 CEST 2011


Hi,

On Fri, Apr 22, 2011 at 12:07 AM, stan <RegBur_Flydan8 at q.com> wrote:
> 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


try this patch

Guillaume
-- 
"I am the Jesus Christ of politics. I sacrifice myself for everyone."

 -- Silvio Berlusconi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix.patch
Type: application/octet-stream
Size: 3915 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20110422/d3e830cf/attachment.obj>


More information about the MPlayer-users mailing list