[Mplayer-users] compile problem and a little patch for gcc3 users
Tomek Jarzynka
tomee at cpi.pl
Sat Sep 22 21:31:02 CEST 2001
> > 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
> >
> I got the same yesterday.
> Problem is that X and wine headers conflicts. Unfortunately gui headers
> requires X headers, and mplayer.c requires both wine and gui headers...
> So it isn't easy to fix. We're already working on this.
> (as a workaround: disable gui)
The only way I could get through was temporarily commenting out the relevant
lines in Xmd.h header file, but this is obviously no good. Maybe if you
put Xmd to be included first, then loader/wine/windef.h, and did a #ifdef
BYTE, it would work out? Just guessing...
--
Tomasz Jarzynka, tomee@{slackware|cpi}.pl 0601706601
"Whip me. Beat me. Make me maintain AIX."
_______________________________________________
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