[MPlayer-dev-eng] Test Build on Linux 2.6.1

Bill Trenker wtrenker at shaw.ca
Wed Jan 28 18:13:47 CET 2004


I tried building MPlayer-20040128 on my Linux 2.6.1 system today.  The fbdev fixes work fine but the compiler (gcc 3.3.2) stops here:

/src/MPlayer-20040128# make
cc -c -O4 -march=pentium2 -mcpu=pentium2 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -Ilibmpdemux -Iloader -Ilibvo -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -I/usr/include/SDL -D_REENTRANT -I/usr/X11/include    -I/usr/X11R6/include    -o mencoder.o mencoder.c
In file included from libavcodec/avcodec.h:15,
                 from mencoder.c:78:
libavcodec/rational.h:35: error: parse error before "__attribute__"
libavcodec/rational.h:43: error: parse error before "__attribute__"
In file included from /usr/X11R6/include/freetype2/freetype/config/ftstdlib.h:74,
                 from /usr/X11R6/include/freetype2/freetype/config/ftconfig.h:44,
                 from /usr/X11R6/include/freetype2/freetype/freetype.h:42,
                 from libvo/font_load.h:6,
                 from mencoder.c:170:
/usr/include/ctype.h:167: error: parse error before "__attribute__"
/usr/include/ctype.h:173: error: parse error before "__attribute__"
In file included from libmpdemux/dvbin.h:5,
                 from cfg-common.h:365,
                 from cfg-mencoder.h:5,
                 from mencoder.c:253:
libmpdemux/dvb_defaults.h:69:10: warning: #warning No DVB-T country defined in dvb_defaults.h
libmpdemux/dvb_defaults.h:70:10: warning: #warning defaulting to UK
libmpdemux/dvb_defaults.h:71:10: warning: #warning Ignore this if using Satellite or Cable
make: *** [mencoder.o] Error 1

I just did a standard ./configure (no options).  The kernel is standard (no patches) with frame-buffer, alsa, and rtc enabled.  Any suggestions what I can do about the parse errors?

Bill




More information about the MPlayer-dev-eng mailing list