[MPlayer-dev-eng] [PATCH] fix broken compilation with --disable-mpdvdkit --disable-dvdread
Diego Biurrun
diego at biurrun.de
Wed Dec 14 01:20:30 CET 2005
On Tue, Dec 13, 2005 at 10:35:47PM +0100, Nico Sabbi wrote:
> since demux_mkv.c needs a couple of variables defined in stream_dvd.c I
> moved them to open.c and
> redefined them as extern in stream_dvd.c
>
> Additionally, now stream_dvd.c gets compiled in only when at least one
> of dvdread or mpdvdkit is available.
>
> If no one objects I'll commit this patch tomorrow.
Hmm, probably you tested without having the GUI compiled in:
Gui/libgui.a(interface.o): In function `guiGetEvent':/home/diego/src/mplayer/vanilla/Gui/interface.c:734: undefined reference to `dvd_title'
:/home/diego/src/mplayer/vanilla/Gui/interface.c:734: undefined reference to `dvd_title'
Gui/libgui.a(cfg.o):(.data+0x464): undefined reference to `dvd_device'
Gui/libgui.a(opts.o): In function `ShowPreferences':mplayer/gtk/opts.c:379: undefined reference to `dvd_device'
:mplayer/gtk/opts.c:379: undefined reference to `dvd_device'
:mplayer/gtk/opts.c:379: undefined reference to `dvd_device'
:mplayer/gtk/opts.c:379: undefined reference to `dvd_device'
Gui/libgui.a(opts.o):mplayer/gtk/opts.c:379: more undefined references to `dvd_device' follow
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1
Diego
More information about the MPlayer-dev-eng
mailing list