[MPlayer-users] Re: Compile mplayer problem when enable debug

ying lcs yinglcs at gmail.com
Sun Jan 28 06:02:49 CET 2007


On 1/27/07, ying lcs <yinglcs at gmail.com> wrote:
> On 1/27/07, ying lcs <yinglcs at gmail.com> wrote:
> > Hi,
> >
> > I am able to compile mplayer on my fedora 5 machine.
> > However, when I compile after I do './configure --enable-debug=1', I
> > get the following error:
> >
> > Can you please tell me how can I compile mplayer with debug enable
> > under fedora 5?
> >
> > Thank you.
> >
> >
> > h264.c: At top level:
> > h264.c:8540: warning: missing initializer
> > h264.c:8540: warning: (near initialization for 'h264_parser.next')
> > In file included from h264.c:8543:
> > svq3.c: In function 'svq3_decode_block':
> > svq3.c:224: warning: comparison between signed and unsigned
> > svq3.c: In function 'svq3_mc_dir':
> > svq3.c:374: warning: comparison between signed and unsigned
> > svq3.c:374: warning: comparison between signed and unsigned
> > svq3.c: In function 'svq3_decode_mb':
> > svq3.c:450: warning: comparison between signed and unsigned
> > svq3.c: In function 'svq3_decode_slice_header':
> > svq3.c:741: warning: comparison between signed and unsigned
> > svq3.c: At top level:
> > svq3.c:1014: warning: missing initializer
> > svq3.c:1014: warning: (near initialization for 'svq3_decoder.next')
> > cabac.h:109: warning: 'put_cabac_static' defined but not used
> > cabac.h:155: warning: 'put_cabac_terminate' defined but not used
> > cabac.h:183: warning: 'put_cabac_u' defined but not used
> > cabac.h:218: warning: 'put_cabac_ueg' defined but not used
> > cabac.h:270: warning: 'refill2' defined but not used
> > cabac.h:808: warning: 'get_cabac_u' defined but not used
> > cabac.h:824: warning: 'get_cabac_ueg' defined but not used
> > cabac.h: In function 'get_cabac_noinline':
> > cabac.h:522: error: can't find a register in class 'GENERAL_REGS'
> > while reloading 'asm'make[1]: *** [h264.o] Error 1
> > make[1]: Leaving directory `/home/scheung/src/mplayer/libavcodec'
> > make: *** [libavcodec/libavcodec.a] Error 2
> >
>
>
> I find this answer in the mailing list archives about my problem:
>
> http://lists-archives.org/mplayer-dev-eng/13743-enable-debug-build-broken.html
>
>
> But I don't understand the answer:
> "To work around it you can manually redo the failing
> compiler invocation with -fomit-frame-pointer added to the options (at
> least unless you want to debug h264 specifically)."
>
> the compilation stops when it reaches the file h264.c, so how can I
> just recompile invocation manually with the above steps ? And how to
> continue the rest of the compilation?
>
> Thank you.
>

I figure out my problem. Sorry for the confusion.



More information about the MPlayer-users mailing list