[MPlayer-users] problems building 1.0rc1 in FC5

Lonni J Friedman netllama at gmail.com
Tue Oct 24 16:16:07 CEST 2006


On 10/23/06, Guillaume POIRIER <poirierg at gmail.com> wrote:
> Hi
>
> On 10/24/06, Lonni J Friedman <netllama at gmail.com> wrote:
> > I'm trying to build 1.0rc1 in FC5-x86, and its blowing up here:
> >
> > gcc32 -Wdeclaration-after-statement -fno-PIC -O3 -march=athlon-xp
> > -funroll-loops -fexpensive-optimizations -D_REENTRANT
> > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=athlon-xp
> > -mcpu=athlon-xp -I/usr/X11R6/include  -I/usr/include/SDL -D_REENTRANT
> > -I/usr/include/kde/artsc -pthread -I/usr/include/glib-2.0
> > -I/usr/lib/glib-2.0/include  -I/usr/include/cdda
> > -I/usr/include/freetype2 -I.  -I./libavutil -I./libavcodec
> > -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> > -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil
> > -Wdeclaration-after-statement -fno-PIC -O3 -march=athlon-xp
> > -funroll-loops -fexpensive-optimizations -D_REENTRANT
> > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=athlon-xp
> > -mcpu=athlon-xp -I/usr/X11R6/include  -I/usr/include/SDL -D_REENTRANT
> > -I/usr/include/kde/artsc -pthread -I/usr/include/glib-2.0
> > -I/usr/lib/glib-2.0/include  -I/usr/include/cdda
> > -I/usr/include/freetype2  -c -o h264.o h264.c
> > h264.c: In function `decode_cabac_residual':
> > h264.c:6143: warning: passing arg 4 of `decode_significance_8x8_x86'
> > discards qualifiers from pointer target type
> > svq3.c: In function `decode_mb_cabac':
> > cabac.h:513: can't find a register in class `GENERAL_REGS' while reloading `asm'
> > cabac.h:513: can't find a register in class `GENERAL_REGS' while reloading `asm'
> > cabac.h:513: can't find a register in class `GENERAL_REGS' while reloading `asm'
> > make[1]: *** [h264.o] Error 1
> >
> > I also tried with gcc-4.1.1 (the FC5 default), and that failed with
> > exactly the same error.  Anyone have any ideas or suggestions?
>
> Could you append "-fomit-frame-pointer" to your CFLAGS?

Thanks.  Actually it turned out that my CFLAGS were the problem, and
once I removed them, the build worked fine.


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                                    netllama at gmail.com
LlamaLand                       http://netllama.linux-sxs.org



More information about the MPlayer-users mailing list