[vlc-devel] Re: x264.c:550 compile error.

Pavlov Konstantin thresh at altlinux.ru
Sat Sep 16 10:58:37 CEST 2006


On Saturday 16 September 2006 02:52, PardoX PardoX wrote:
> Hi
>
> Im trying to compile vlc and mplayer but im having trouble with x264.c file
> and i have  installed the latest x264 svn.
>
>
> vlc
> (http://downloads.videolan.org/pub/videolan/vlc/0.8.5/vlc-0.8.5.tar.bz2)
> **********************
> i686-pc-linux-gnu-gcc -Wsign-compare -Wall -mtune=i686 -O2 -pipe
> -fomit-frame-pointer -pipe -o libdvbsub_plugin.so -g -shared -fpic -fPIC -u
> vlc_entry__0_8_5  libdvbsub_plugin.a -L/usr/lib -lpthread
> if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../..   -DSYS_LINUX
> -I../../include `top_builddir="../.." ../../vlc-config --cflags plugin
> x264` -Wsign-compare -Wall -mtune=i686 -O2 -pipe -fomit-frame-pointer -pipe
> -MT libx264_plugin_a-x264.o -MD -MP -MF ".deps/libx264_plugin_a-x264.Tpo"
> -c -o libx264_plugin_a-x264.o `test -f 'x264.c' || echo './'`x264.c; \
>         then mv -f ".deps/libx264_plugin_a-x264.Tpo"
> ".deps/libx264_plugin_a-x264.Po"; else rm -f
> ".deps/libx264_plugin_a-x264.Tpo";
> exit 1; fi
> x264.c: In function `Open':
> x264.c:550: error: structure has no member named `b_cbr'
> **********************
>
>
> also i get same error by  mplayer
> ***********
> SOURCE    -c -o xvid_rc.o xvid_rc.c
> cc -I../libvo -I../../libvo  -fno-PIC -mtune=i686 -O2 -pipe
> -fomit-frame-pointer
> -D__STDC_LIMIT_MACROS -D_REENTRANT -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64
> -D_LARGEFILE64_SOURCE  -DHAVE_AV_CONFIG_H -I..
> -I/var/tmp/pisi/mplayer-20060618-26/work/mplayer-20060618/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:151: error: structure has no member named `b_cbr'
> ***********
>
> What can bee the reason ? Is there any patches for this error?
>

Known issue for current x264 and 0.8.5 -- the api somewhat changed in x264.

You can try applying that change to 0.8.5 tree: 
http://trac.videolan.org/vlc/changeset/16595


-- 
Pavlov Konstantin,
ALT Linux Team,
jid: thresh at altlinux.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20060916/0a074550/attachment.sig>


More information about the vlc-devel mailing list