[Ffmpeg-devel] Re: [Ffmpeg-devel-old] compile error w/ gcc 4.0 in x264.c
Fri Oct 28 22:02:28 CEST 2005
On 10/28/05, Cheryl <cheryl at tarfo.org> wrote:
> This happened with the current stable branch gcc 4.0.2 and now that you
> mentioned it I gave it a 2nd shot with gcc 3.4.5 and it gave me this as
> gcc -O3 -g -Wall -Wno-switch -DHAVE_AV_CONFIG_H -I..
> -I'/tmp/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: structure has no member named `i_vbv_buffer_size'
> x264.c:138: error: structure has no member named `i_vbv_max_bitrate'
> x264.c:162: error: structure has no member named `i_threads'
> make: *** [x264.o] Error 1
> make: Leaving directory `/tmp/ffmpeg/libavcodec'
> make: *** [lib] Error 2
I suspect you have an old version of x264.h/x264.a lying around on
your system. You need to use current svn version of x264.
Reading doesn't hurt, really!
-- Dominik 'Rathann' Mierzejewski
More information about the ffmpeg-devel