[MPlayer-users] Problem compiling mplayer on RedHat ES release 4, update 5

George R Goffe grgoffe at yahoo.com
Tue Dec 25 06:12:02 CET 2007


Howdy,

I have noted several weeks ago that mplayer fails to build on this system although
it builds on my CentOS 5 system.

I'm wondering if anyone else has seen this problem and/or has a solution for it.

Enclosed is my complete build log.

Regards and thanks for your help AND the way cool code.

George...


Here's a sample:


make[1]: `libmpdemux.a' is up to date.
make[1]: Leaving directory `/tools/mplayer/mplayer/libmpdemux'
make -C stream
make[1]: Entering directory `/tools/mplayer/mplayer/stream'
cc -I../libavcodec -I../libavformat -Wdisabled-optimization
-Wdeclaration-after-statement -I. -I.. -I../libavutil -Wall -Wno-switch
-Wpointer-arith -Wredundant-decls -O4 -march=pentium4 -m
tune=pentium4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H
-I/usr/lsd/Linux/include -I/usr/X11/inclu
de  -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/usr/include -DXTH
READS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/
include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -c
-o stream_dvd.o stream_dvd.c
In file included from ../libavutil/intreadwrite.h:23,
                 from stream_dvd.c:42:
../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:168: warning: passing arg 2 of `strtol' from incompatible pointer type
make[1]: *** [stream_dvd.o] Error 1
make[1]: Leaving directory `/tools/mplayer/mplayer/stream'
make: *** [stream/stream.a] Error 2



=====
    _/_/_/_/ _/_/_/_/ _/_/_/_/ _/_/_/   _/_/_/_/ _/_/_/_/ -----
   _/       _/       _/    _/ _/    _/ _/       _/
  _/  _/_/ _/_/_/_/ _/    _/ _/_/_/   _/  _/_/ _/_/_/_/ -----
 _/    _/ _/       _/    _/ _/   _/  _/    _/ _/
_/_/_/_/ _/_/_/_/ _/_/_/_/ _/    _/ _/_/_/_/ _/_/_/_/ -----
"It's not what you know that hurts you, It's what you know that ain't so." Will Rogers


      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bld-mpl.log.gz
Type: application/x-gzip
Size: 21584 bytes
Desc: 1433438012-bld-mpl.log.gz
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20071224/0bf30b48/attachment.bin>


More information about the MPlayer-users mailing list