[MPlayer-users] Cannot compile MPlayer CVS: problem with libavcodec

irisson jean-olivier jo.irisson at noos.fr
Wed Jun 30 15:21:49 CEST 2004


Hi all,

In a previous post I was advised to use CVS in order to fix a problem I 
have after encoding a DVD:
"That is actually a known bug with OpenDML avis and MPlayer-pre4.
It affects avis between 1GB and 2GB in size.
The bug is fixed in current CVS."

But CVS won't compile on my platform. In fact the problem involves 
libavcodec (so there should be a better place to post this I'm sure and 
I apologize for my lazyness...). Here is some information:

System:
Mandrake 10.0 Official, kernel 2.6.3
compiling today's CVS snapshot: MPlayer-20040630 with gcc 3.3.2 (but the 
problem has been there for several days: I got the same error with 
MPlayer-20040628 and MPlayer-20040625).
My configure command is
/.configure --enable-menu --enable-gui
I've "old" libavcodec and XviD installed but if I understood well, the 
CVS version recompiles its own libavcodec (which is what I want anyway).

The bug is there:
cc -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=athlon-4 
-mcpu=athlon-4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-D_GNU_SOURCE -c -o ffv1.o ffv1.c
ffv1.c: In function `encode_rgb_frame':
ffv1.c:465: internal compiler error: in find_function_data, at 
function.c:329
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:https://qa.mandrakesoft.com/> for instructions.
make[1]: *** [ffv1.o] Erreur 1
make[1]: Leaving directory 
`/home/jiho/files/progs/mplayer/MPlayer-20040630/libavcodec'
make: *** [libavcodec/libavcodec.a] Erreur 2

The problem seems to involve libavcodec so I tried to get the very last 
ffmepg CVS and replaced the libavcodec directory in MPlayer-20040630 
with this one. this didn't change a thing.

I also tried to get the daily snapshot of FFMpeg (FFMpeg-20040630) and 
to compile it separately with:
./configure --enable-mp3lame --enable-vorbis
make
And I got the very same error:
gcc -O3 -g -Wall  -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o ffv1.o ffv1.c
ffv1.c: In function `encode_rgb_frame':
ffv1.c:465: internal compiler error: in find_function_data, at 
function.c:329
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:https://qa.mandrakesoft.com/> for instructions.
make[1]: *** [ffv1.o] Erreur 1
make[1]: Leaving directory 
`/home/jiho/files/progs/mplayer/FFMpeg-20040630/libavcodec'
make: *** [lib] Erreur 2

Any idea of what is broken? Thankx for any help.

JiHO




More information about the MPlayer-users mailing list