[MPlayer-users] Mencoder Gui compiling error

Arpi arpi at thot.banki.hu
Sun Feb 17 01:00:01 CET 2002


Hi,

> model name      : Pentium 75 - 200
> stepping        : 12
> cpu MHz         : 166.196037
> flags           : fpu vme de pse tsc msr mce cx8

hmm. don't expect big results with mplayer... it is not optimized for x86
cpus WITHOUT mmx... :(

> X_LIB = -L/usr/X11R6/lib -lX11 -lXext -lnsl -lXdpms -lGL -lXxf86dga
> -lXxf86vm   -lnsl

> # --- GUI stuff ---
> GTKLIB =  -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule
> -lglib -ldl -lXext -lX11 -lm
> GLIBLIB =   -L/usr/lib -lglib
> GTK_LIBS =   $(GTKLIB) $(GLIBLIB)
> GUI = yes
> DEBUG = -DDEBUG

> This is the error I am getting when I configure --enable-gui for MPlayer
> 0.60
anyway DOCS says always try CVS first...

> ws.o(.text+0x19ed): undefined reference to `DPMSQueryExtension'

> What am I missing?
trying CVS... maybe it's already fixed.

this is a bug, mencoder links the GUI and GTK stuff, but misses some X11
libs, like DPMS. for a workaround, change GTK_LIBS in config.mak to:

GTK_LIBS =   $(GTKLIB) $(GLIBLIB) -lXdpms

it should solve your problem.


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu




More information about the MPlayer-users mailing list