[Mplayer-users] compile problem and a little patch for gcc3 users
Steve Stavropoulos
steve at math.upatras.gr
Sat Sep 22 17:00:14 CEST 2001
The gcc3 compiler doesn't like a file which doesn't end with an empty
line. It just gives a warning, no error but it's not a big trouble for you
mplayer developers to fix it.
The files that need an extra empty line at the end are:
Gui/bitmap/bitmap.h
Gui/bitmap/bmp/bmp.h
Gui/bitmap/tga/tga.h
Gui/wm/ws.h
------------------
Here is the output I get when I try to compile the latest cvs version (Sat
Sep 22 17:56:42 EEST 2001 (+3:00)):
$ make
gcc3 -c -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Iloader
-Ilibvo -I/usr/local/include -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -o
mplayer.o mplayer.c
In file included from /usr/X11R6/include/X11/extensions/dpms.h:47,
from Gui/wm/ws.h:15,
from Gui/mplayer/play.h:7,
from mplayer.c:70:
/usr/X11R6/include/X11/Xmd.h:128: redefinition of `INT16'
loader/wine/windef.h:362: `INT16' previously declared here
/usr/X11R6/include/X11/Xmd.h:151: redefinition of `BYTE'
loader/wine/windef.h:155: `BYTE' previously declared here
make: *** [mplayer.o] Error 1
rpm -qf /usr/X11R6/include/X11/Xmd.h gives:
XFree86-devel-4.0.3-5
The distro is RedHat 7.1 and I never had any problem with mplayer before.
_______________________________________________
Mplayer-users mailing list
Mplayer-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mplayer-users
More information about the MPlayer-users
mailing list