mplayer error

Discussion in 'Installation/Configuration' started by dexjul, Nov 30, 2007.

  1. dexjul

    dexjul New Member

    Hi,

    I was installing mplayer and I got this errors.

    make[1]: *** [stream_dvd.o] Error 1
    make[1]: Leaving directory `/usr/local/src/mplayer/stream'
    make: *** [stream/stream.a] Error 2

    Any idea regarding this errors.

    Thank you.
     
  2. dschmid

    dschmid New Member

    Can you post what comes before that output? Which distro are you using?
     
  3. dexjul

    dexjul New Member

    I am using centos 4.

    No errors in ./configure then make

    Code:
    [root@dexter mplayer]# make
    ./version.sh `cc -dumpversion`
    cc -I./libavcodec -I./libavformat -I. -I. -I./libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=pentium4 -mtune=pentium4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H    -c -o mplayer.o mplayer.c
    libvo/font_load.h:97: warning: 'render_one_glyph' defined but not used
    libvo/font_load.h:98: warning: 'kerning' defined but not used
    cc -I./libavcodec -I./libavformat -I. -I. -I./libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=pentium4 -mtune=pentium4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H    -c -o vobsub.o vobsub.c
    make -C libvo libvo.a
    make[1]: Entering directory `/usr/local/src/mplayer/libvo'
    make[1]: `libvo.a' is up to date.
    make[1]: Leaving directory `/usr/local/src/mplayer/libvo'
    make -C libao2
    make[1]: Entering directory `/usr/local/src/mplayer/libao2'
    make[1]: Nothing to be done for `libs'.
    make[1]: Leaving directory `/usr/local/src/mplayer/libao2'
    make -C input
    make[1]: Entering directory `/usr/local/src/mplayer/input'
    make[1]: Nothing to be done for `libs'.
    make[1]: Leaving directory `/usr/local/src/mplayer/input'
    make -C vidix
    make[1]: Entering directory `/usr/local/src/mplayer/vidix'
    make[1]: Nothing to be done for `libs'.
    make[1]: Leaving directory `/usr/local/src/mplayer/vidix'
    make -C libmpcodecs
    make[1]: Entering directory `/usr/local/src/mplayer/libmpcodecs'
    make[1]: Nothing to be done for `libs'.
    make[1]: Leaving directory `/usr/local/src/mplayer/libmpcodecs'
    make -C libaf
    make[1]: Entering directory `/usr/local/src/mplayer/libaf'
    make[1]: Nothing to be done for `libs'.
    make[1]: Leaving directory `/usr/local/src/mplayer/libaf'
    make -C libmpdemux libmpdemux.a
    make[1]: Entering directory `/usr/local/src/mplayer/libmpdemux'
    make[1]: `libmpdemux.a' is up to date.
    make[1]: Leaving directory `/usr/local/src/mplayer/libmpdemux'
    make -C stream
    make[1]: Entering directory `/usr/local/src/mplayer/stream'
    cc -I../libavcodec -I../libavformat -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=pentium4 -mtune=pentium4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H    -c -o stream_dvd.o stream_dvd.c
    In file included from ../libavutil/intreadwrite.h:23,
                     from stream_dvd.c:41:
    ../libavutil/bswap.h:42: error: syntax error before "__extension__"
    ../libavutil/bswap.h:42: warning: type defaults to `int' in declaration of `__v'
    ../libavutil/bswap.h:42: warning: data definition has no type or storage class
    ../libavutil/bswap.h:42: error: syntax error before '}' token
    ../libavutil/bswap.h:56: error: syntax error before "__extension__"
    ../libavutil/bswap.h:56: warning: type defaults to `int' in declaration of `__v'
    ../libavutil/bswap.h:56: warning: redundant redeclaration of '__v'
    ../libavutil/bswap.h:42: warning: previous declaration of '__v' was here
    ../libavutil/bswap.h:56: warning: data definition has no type or storage class
    ../libavutil/bswap.h:56: error: syntax error before '}' token
    ../libavutil/bswap.h:97: error: syntax error before "__extension__"
    ../libavutil/bswap.h:97: error: syntax error before '}' token
    ../libavutil/bswap.h:97: warning: type defaults to `int' in declaration of `__w'
    ../libavutil/bswap.h:97: warning: type defaults to `int' in declaration of `__r'
    ../libavutil/bswap.h:97: warning: data definition has no type or storage class
    ../libavutil/bswap.h:97: error: syntax error before "if"
    ../libavutil/bswap.h:97: warning: type defaults to `int' in declaration of `__v'
    ../libavutil/bswap.h:97: warning: redundant redeclaration of '__v'
    ../libavutil/bswap.h:56: warning: previous declaration of '__v' was here
    ../libavutil/bswap.h:97: warning: data definition has no type or storage class
    ../libavutil/bswap.h:97: error: syntax error before '}' token
    ../libavutil/bswap.h:97: warning: type defaults to `int' in declaration of `__v'
    ../libavutil/bswap.h:97: warning: redundant redeclaration of '__v'
    ../libavutil/bswap.h:97: warning: previous declaration of '__v' was here
    ../libavutil/bswap.h:97: warning: data definition has no type or storage class
    ../libavutil/bswap.h:97: error: syntax error before '}' token
    ../libavutil/bswap.h:112: error: syntax error before '}' token
    ../libavutil/bswap.h:112: warning: type defaults to `int' in declaration of `w'
    ../libavutil/bswap.h:112: warning: type defaults to `int' in declaration of `r'
    ../libavutil/bswap.h:112: warning: data definition has no type or storage class
    ../libavutil/bswap.h:113: error: syntax error before '.' token
    ../libavutil/bswap.h:114: warning: type defaults to `int' in declaration of `__v'
    ../libavutil/bswap.h:114: warning: redundant redeclaration of '__v'
    ../libavutil/bswap.h:97: warning: previous declaration of '__v' was here
    ../libavutil/bswap.h:114: warning: data definition has no type or storage class
    ../libavutil/bswap.h:114: error: syntax error before '}' token
    ../libavutil/bswap.h:115: warning: type defaults to `int' in declaration of `__v'
    ../libavutil/bswap.h:115: warning: redundant redeclaration of '__v'
    ../libavutil/bswap.h:114: warning: previous declaration of '__v' was here
    ../libavutil/bswap.h:115: warning: data definition has no type or storage class
    ../libavutil/bswap.h:115: error: syntax error before '}' token
    stream_dvd.c: In function `dvd_parse_chapter_range':
    stream_dvd.c:167: warning: passing arg 2 of `strtol' from incompatible pointer type
    make[1]: *** [stream_dvd.o] Error 1
    make[1]: Leaving directory `/usr/local/src/mplayer/stream'
    make: *** [stream/stream.a] Error 2
    
    Thank you.
     
  4. falko

    falko Super Moderator Howtoforge Staff

Share This Page