[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 01:57:12 CEST 2011


On Fri, 22 Apr 2011 00:16:53 +0200
Guillaume POIRIER <poirierg at gmail.com> wrote:

> try this patch  


Well, that got me farther.  But it failed later on in the compile.

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 libmpdemux/muxer_lavf.o libmpdemux/muxer_lavf.c                                                                                                      
libmpdemux/muxer_lavf.c:50:2: warning: 'ByteIOContext' is deprecated (declared at ffmpeg/libavformat/avio.h:50)                                                                                                   
libmpdemux/muxer_lavf.c: In function 'list_formats':                                                     
libmpdemux/muxer_lavf.c:311:13: error: 'first_oformat' undeclared (first use in this function)           
libmpdemux/muxer_lavf.c:311:13: note: each undeclared identifier is reported only once for each function it appears in                                                                                            
libmpdemux/muxer_lavf.c: In function 'muxer_init_muxer_lavf':                                            
libmpdemux/muxer_lavf.c:367:32: error: 'AVFormatContext' has no member named 'title'                     
libmpdemux/muxer_lavf.c:367:68: error: 'AVFormatContext' has no member named 'title'                     
libmpdemux/muxer_lavf.c:369:32: error: 'AVFormatContext' has no member named 'author'                    
libmpdemux/muxer_lavf.c:369:71: error: 'AVFormatContext' has no member named 'author'                    
libmpdemux/muxer_lavf.c:371:32: error: 'AVFormatContext' has no member named 'genre'                     
libmpdemux/muxer_lavf.c:371:69: error: 'AVFormatContext' has no member named 'genre'                     
libmpdemux/muxer_lavf.c:373:32: error: 'AVFormatContext' has no member named 'copyright'                 
libmpdemux/muxer_lavf.c:373:76: error: 'AVFormatContext' has no member named 'copyright'                 
libmpdemux/muxer_lavf.c:375:32: error: 'AVFormatContext' has no member named 'comment'                   
libmpdemux/muxer_lavf.c:375:73: error: 'AVFormatContext' has no member named 'comment'                   
libmpdemux/muxer_lavf.c:384:2: warning: 'av_alloc_put_byte' is deprecated (declared at ffmpeg/libavformat/avio.h:228)                                                                                             
libmpdemux/muxer_lavf.c:386:13: warning: 'is_streamed' is deprecated (declared at ffmpeg/libavformat/avio.h:68)                                                                                                   
make: *** [libmpdemux/muxer_lavf.o] Error 1 


More information about the MPlayer-users mailing list