[MPlayer-users] ffmpg build error?

PO x75 at shaw.ca
Thu Feb 12 17:17:23 CET 2009


Gene Heskett wrote:
> Greetings all;
>
> mplayer isn't working well with FF-3+ here, so I thought I would do:
> cd /usr/src/mplayer
> svn up
> ./configure --prefix=/usr
> make
>
> Which marches along for a few minutes & then terminates:
> cc -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.   -I/usr/include/SDL  -D_REENTRANT -pthread -I/usr/include/kde/artsc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -Ilibdvdread4 -I/usr/include/cdda -I/usr/include/freetype2 -Ilibdvdnav   -c -o 
> libmpcodecs/vd_ffmpeg.o libmpcodecs/vd_ffmpeg.c
> libmpcodecs/vd_ffmpeg.c: In function 'init':
> libmpcodecs/vd_ffmpeg.c:268: error: 'CODEC_FLAG_NOT_TRUNCATED' undeclared 
> (first use in this function)
> libmpcodecs/vd_ffmpeg.c:268: error: (Each undeclared identifier is reported 
> only once
> libmpcodecs/vd_ffmpeg.c:268: error: for each function it appears in.)
> libmpcodecs/vd_ffmpeg.c:377: warning: 'AVPaletteControl' is deprecated
> libmpcodecs/vd_ffmpeg.c: In function 'get_buffer':
> libmpcodecs/vd_ffmpeg.c:607: warning: assignment from incompatible pointer 
> type
> libmpcodecs/vd_ffmpeg.c: In function 'decode':
> libmpcodecs/vd_ffmpeg.c:738: warning: assignment from incompatible pointer 
> type
> make: *** [libmpcodecs/vd_ffmpeg.o] Error 1
>
> Sooo:
>  grep -R CODEC_FLAG_NOT_TRUNCATED *
> libmpcodecs/.svn/text-base/vd_ffmpeg.c.svn-base:    avctx->flags|= 
> CODEC_FLAG_NOT_TRUNCATED;
> libmpcodecs/vd_ffmpeg.c:    avctx->flags|= CODEC_FLAG_NOT_TRUNCATED;
> [root at coyote mplayer]# grep -R CODEC_FLAG_NOT_TRUNCATED /usr/include
> [root at coyote mplayer]# grep -R CODEC_FLAG_NOT_TRUNCATED /usr/local/include
>
> This is an F8 box, as uptodate as I can get it, athlon quad core 9550 running 
> in 32 bit mode.
>
> Does anyone have a clue as to what header package I might be missing?
>
> Thanks
>  
>   

Same type of machine, same error exactly, and using today's svn.

cc -Wundef -Wdisabled-optimization -Wno-pointer-sign 
-Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch 
-Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe 
-ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -I/usr/X11/include 
-I/usr/include/  -I/usr/include/SDL  -D_REENTRANT -I/usr/include/artsc 
-pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
-Ilibdvdread4 -I/usr/include/cdda -I/usr/include/freetype2 
-I/usr/include   -Ilibdvdnav   -c -o libmpcodecs/vd_ffmpeg.o 
libmpcodecs/vd_ffmpeg.c
libmpcodecs/vd_ffmpeg.c: In function 'init':
libmpcodecs/vd_ffmpeg.c:268: error: 'CODEC_FLAG_NOT_TRUNCATED' 
undeclared (first use in this function)
libmpcodecs/vd_ffmpeg.c:268: error: (Each undeclared identifier is 
reported only once
libmpcodecs/vd_ffmpeg.c:268: error: for each function it appears in.)
libmpcodecs/vd_ffmpeg.c:377: warning: 'AVPaletteControl' is deprecated
libmpcodecs/vd_ffmpeg.c: In function 'get_buffer':
libmpcodecs/vd_ffmpeg.c:607: warning: assignment from incompatible 
pointer type
libmpcodecs/vd_ffmpeg.c: In function 'decode':
libmpcodecs/vd_ffmpeg.c:738: warning: assignment from incompatible 
pointer type
make: *** [libmpcodecs/vd_ffmpeg.o] Error 1




More information about the MPlayer-users mailing list