[Ffmpeg-devel] [Ffmpeg-devel-old] compile error w/ gcc 4.0 in x264.c

Guillaume POIRIER poirierg
Fri Oct 28 21:40:32 CEST 2005


Hi,

On 10/28/05, Mike Melanson <mike at multimedia.cx> wrote:
> Cheryl wrote:
> >
> > Hello all,
> >
> > when attempting to compile the latest CVS, as of 10/28 this is what
> > results:
> >
> > gcc -O3 -g -Wall -Wno-switch  -DHAVE_AV_CONFIG_H -I..
> > -I'/home/phil/prgms/multimedia/video/Codecs/ffmpeg'/libavutil
> > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE    -c -o x264.o
> > x264.c
> > x264.c: In function 'X264_init':
> > x264.c:137: error: 'struct <anonymous>' has no member named
> > 'i_vbv_buffer_size'
> > x264.c:138: error: 'struct <anonymous>' has no member named
> > 'i_vbv_max_bitrate'
> > x264.c:162: error: 'x264_param_t' has no member named 'i_threads'
> > make: *** [x264.o] Error 1
>
>         What a strange error. What compiler version? gcc 3.3.5 on x86 does not
> do that (it compiles with no errors).

I can't reproduce the error with the same compiler (gcc-4.0.2,
AMD-64). Make sure you did not have any .o or .a lying around and
recompile libavcodec. That should do the trick.

Guillaume
--
Reading doesn't hurt, really!
  -- Dominik 'Rathann' Mierzejewski





More information about the ffmpeg-devel mailing list