[MPlayer-dev-eng] [patch] Gui/mplayer/play.h fix
Diego Biurrun
diego at biurrun.de
Wed Jan 4 17:19:29 CET 2006
On Sat, Dec 31, 2005 at 08:29:22PM +0100, Diego Biurrun wrote:
> On Sat, Dec 31, 2005 at 04:56:12PM +0100, Jean-Luc Coulon (f5ibh) wrote:
> >
> > If I do the following from a fresh copy of the CVS:
> >
> > ./configure --prefix=/usr --confdir=/etc/mplayer
> > --datadir=/usr/share/mplayer --enable-gui
> >
> > it is enough:
> >
> > cc -MM -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=k8
> > -mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT
> > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I/usr/include/
> > -I/usr/include/freetype2 -I/usr/include -I/usr/include/SDL -D_REENTRANT
> > -I/usr/X11R6/include -DCODECS2HTML mplayer.c mencoder.c mplayer.c
> > mp_msg.c asxparser.c codec-cfg.c cpudetect.c edl.c find_sub.c
> > m_config.c m_option.c m_struct.c parser-cfg.c playtree.c
> > playtreeparser.c spudec.c sub_cc.c subreader.c vobsub.c unrarlib.c
> > mixer.c parser-mpcmd.c subopt-helper.c mencoder.c mp_msg-mencoder.c
> > asxparser.c codec-cfg.c cpudetect.c edl.c find_sub.c m_config.c
> > m_option.c m_struct.c parser-cfg.c playtree.c playtreeparser.c spudec.c
> > sub_cc.c subreader.c vobsub.c unrarlib.c divx4_vbr.c libvo/aclib.c
> > libvo/font_load.c libvo/font_load_ft.c libvo/osd.c libvo/sub.c
> > parser-mecmd.c xvid_vbr.c 1>.depend
> > In file included from Gui/interface.h:6,
> > from mplayer.c:82:
> > Gui/mplayer/play.h:5:23: error: ../config.h: No such file or directory
> > In file included from Gui/interface.h:6,
> > from mplayer.c:82:
> > Gui/mplayer/play.h:5:23: error: ../config.h: No such file or directory
> > make[1]: *** [depend] Error 1
>
> OK, I can now reproduce this. I'll look into it in the next days.
I investigated this, it happens with a fresh checkout when you configure
with --enable-gui and .developer is not present.
I've committed a bandaid fix since I'm afraid understanding and
repairing this properly might require massive changes to the build
system...
Diego
More information about the MPlayer-dev-eng
mailing list