Menu

Can't compile mp3_check

Help
2001-10-24
2013-04-25
  • Mike Manchester

    Mike Manchester - 2001-10-24
    When I try to compile mp3_check on a Redhat 7.1 system I receive the folloing error
    cc1cc1: warnings being treated as errors
    mp3_check_misc.c: In function `parse_args':
    mp3_check_misc.c:629: warning: `fp' might be used uninitialized in this functionmake: *** [mp3_check_misc.o] Error 1
    warnings being treated as errors
    mp3_check_misc.c: In function `parse_args':
    mp3_check_misc.c:629: warning: `fp' might be used uninitialized in this functionmake: *** [mp3_check_misc.o] Error 1

    What's the fix for this?

     
  • jskywalker

    jskywalker - 2013-01-26

    opensuse:~/source/mp3_check-1.98> make
    cc -Wall -Werror   -c -o mp3_check_misc.o mp3_check_misc.c
    In file included from mp3_check_misc.c:11:0:
    support_functions.h: In function ‘print_frame_info’:
    support_functions.h:683:2: error: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t’
    mp3_check_misc.c: In function ‘scan_file’:
    mp3_check_misc.c:57:7: error: variable ‘found_weak_header’ set but not used
    cc1: all warnings being treated as errors

    make: ***  Error 1

    The errors change since last bug report, but it still does not compile……….

     

Log in to post a comment.

MongoDB Logo MongoDB