#12 label at end of compound statement

closed
nobody
None
7
2005-03-02
2005-03-01
Will L G
No

Receiving the following error while attempting to compile
with:
RedHat 7.2
GCC-3.4.3
Make-3.80
Binutils-2.15

gcc-3.4.3 -c -O3 -mtune=ev56 -mcpu=ev56 -mieee -
funroll-loops -mmax -ffast-math -fstrict-aliasing -pipe -
fexpensive-optimizations -ffloat-store -finline -Winline -
foptimize-register-move -foptimize-sibling-calls -fforce-
addr -fforce-mem -fomit-frame-pointer -I/usr/include -
D_REENTRANT -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 -I. -I.. -I../libmpdemux -
I../loader -Wall -o dec_video.o dec_video.c
In file included from dec_video.c:49:
../postproc/postprocess.h:99:7: warning: no newline at
end of file
dec_video.c: In function `set_video_colors':
dec_video.c:178: error: label at end of compound
statement
make[2]: *** [dec_video.o] Error 1
make[2]: Leaving directory `/usr2/www/pub/alpha-
RH7/multimedia/mplayerxp/mplayerxp-
0.5.0/mplayerxp/libmpcodecs'
make[1]: *** [libmpcodecs/libmpcodecs.a] Error 2
make[1]: Leaving directory `/usr2/www/pub/alpha-
RH7/multimedia/mplayerxp/mplayerxp-0.5.0/mplayerxp'
make: *** [all] Error 2

Discussion

  • Will L G

    Will L G - 2005-03-01
    • priority: 5 --> 7
     
  • Anonymous - 2005-03-02
    • assigned_to: nobody --> nickols_k
    • status: open --> closed-fixed
     
  • Anonymous - 2005-03-02

    Logged In: YES
    user_id=5556

    >dec_video.c: In function `set_video_colors':
    >dec_video.c:178: error: label at end of compound statement
    It's problem of gcc-3.4 series (I'm using gcc-3.3.5 for now)
    Fixed! Try latest CVS changes (after 24hours)!

     
  • Will L G

    Will L G - 2005-03-02

    Logged In: YES
    user_id=312992

    Ok then, I'll go ahead and compile it with GCC-3.2.3. I tend to
    keep several versions installed ;-)

     
  • Will L G

    Will L G - 2005-03-02

    Logged In: YES
    user_id=312992

    Ok then, I'll go ahead and compile it with GCC-3.2.3. I tend to
    keep several versions installed ;-)

     
  • Will L G

    Will L G - 2005-03-02

    Logged In: YES
    user_id=312992

    Ok then, I'll go ahead and compile it with GCC-3.2.3. I tend to
    keep several versions installed ;-)

     
  • Will L G

    Will L G - 2005-03-02
    • assigned_to: nickols_k --> nobody
    • status: closed-fixed --> open
     
  • Will L G

    Will L G - 2005-03-02

    Logged In: YES
    user_id=312992

    Well managed to get past that error by setting my CFLAGS
    to include 'mcpu=pca56'. The PCA56 and faster cpu,
    supports multimedia extensions. THen I promptly received a
    GP_RELATIVE error in regards to RTjpegN.c. I then added '-
    fpic' to my CFLAGS and then recompiled again. This time I
    received the error below:

    gcc -c -O3 -mtune=pca56 -mcpu=pca56 -mieee -funroll-
    loops -mmax -ffast-math -fstrict-aliasing -pipe -fexpensive-
    optimizations -ffloat-store -finline -Winline -foptimize-register-
    move -foptimize-sibling-calls -fforce-addr -fforce-mem -fomit-
    frame-pointer -I/usr/include -fpic -o sr1.o sr1.c
    In file included from sr1.c:24:
    mpg123.h:19: warning: useless keyword or type name in
    empty declaration
    mpg123.h:19: warning: empty declaration
    sr1.c:437: warning: `__stdcall__' attribute directive ignored
    sr1.c:438: warning: `__stdcall__' attribute directive ignored
    sr1.c:439: warning: `__stdcall__' attribute directive ignored
    sr1.c:440: warning: `__stdcall__' attribute directive ignored
    sr1.c:441: warning: `__stdcall__' attribute directive ignored
    gcc -c -O3 -mtune=pca56 -mcpu=pca56 -mieee -funroll-
    loops -mmax -ffast-math -fstrict-aliasing -pipe -fexpensive-
    optimizations -ffloat-store -finline -Winline -foptimize-register-
    move -foptimize-sibling-calls -fforce-addr -fforce-mem -fomit-
    frame-pointer -I/usr/include -fpic -o decode_MMX.o
    decode_MMX.c
    decode_MMX.c: In function `synth_1to1_MMX_s_16':
    decode_MMX.c:54: error: unknown register name `%ebx' in
    `asm'
    decode_MMX.c:54: error: unknown register name `%esi' in
    `asm'
    decode_MMX.c:54: error: unknown register name `%edi' in
    `asm'
    make[2]: *** [decode_MMX.o] Error 1
    make[2]: Leaving directory `/usr2/www/pub/alpha-
    RH7/multimedia/mplayerxp/mplayerxp-0.5.0/codecs/mp3lib'
    make[1]: *** [all] Error 2
    make[1]: Leaving directory `/usr2/www/pub/alpha-
    RH7/multimedia/mplayerxp/mplayerxp-0.5.0/codecs'
    make: *** [all] Error 2

    Unfortunately my computer doesn't support Intel MMX
    multimedia extensions :-(

     
  • Will L G

    Will L G - 2005-03-02
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks