Re: avifile compilation error with ffv1.h

nicolas <[email protected]> Mon, 7 Jun 2004 18:55:04 +0200
Newsgroups gmane.comp.multimedia.avifile.general
Message-ID <[email protected]>
Le lundi 7 Juin 2004 10:27, Zdenek Kabelac a =E9crit=A0:
i use the CVS version and my CPU is not overclocked !!!

but i find my reponse, and i must change the code:

in ffv1.c by change the line 465 with :
sample[p][i]=3Dsample_buffer[p][(h+i-y)%ring_size]+3;
=20
by

 int tmp;
 tmp=3D(h+i-y)%ring_size;
sample[p][i]=3Dsample_buffer[p][tmp]+3;

that works fine !!
i use gcc 3.3.2 on Mandrake 10

> On Fri, Jun 04, 2004 at 09:24:54PM +0200, nicolas wrote:
> > Hello,
> >
> > when i compile avifile it says :
> >
> > gcc -DHAVE_CONFIG_H -I. -I. -I../../include -DHAVE_AV_CONFIG_H -I./..
> > -Wall -Wno-unused -I../../include -O4 -mcpu=3Di686 -march=3Di686 -ffast=
=2Dmath
> > -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64
> > -D_GNU_SOURCE -MT ffv1.lo -MD -MP -MF .deps/ffv1.Tpo -c ffv1.c  -fPIC
> > -DPIC -o ffv1.lo 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[3]: *** [ffv1.lo] Erreur 1
> > make[3]: Leaving directory
> > `/home/nicolas/installation/avifile/ffmpeg/libavcodec'
> >
> > someone can help me ??
>
> Are you compiling current CVS version?
> What version of gcc do you use ?
> Are you sure your CPUI is not overheating (this error seems to be quite
> common when you are using overclocked CPU and you are compiling
> complicated code)