DPMS check fails with -Wl,--as-needed during mplayer-1.0.20070622-r3 configure test and DPMS support doesn't get included in the build. Failing check, #include <X11/Xlib.h> #include <X11/extensions/dpms.h> int main(void) { (void) DPMSQueryExtension(0, 0, 0); } i686-pc-linux-gnu-gcc -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=athlon-xp -mtune=athlon-xp -pipe -ffast-math -fomit-frame-pointer -I/usr/X11R6/include -Wl,-O1,--as-needed -lncurses -lXext -lX11 -lpthread -o /var/tmp/portage/media-video/mplayer-1.0.20070622-r3/temp/mplayer-conf-18542-22077.o /var/tmp/portage/media-video/mplayer-1.0.20070622-r3/temp/mplayer-conf-19707-22077.c /var/tmp/portage/media-video/mplayer-1.0.20070622-r3/temp/mplayer-conf-19707-22077.c: In function 'main': /var/tmp/portage/media-video/mplayer-1.0.20070622-r3/temp/mplayer-conf-19707-22077.c:5: warning: control reaches end of non-void function /var/tmp/portage/media-video/mplayer-1.0.20070622-r3/temp/ccsmjZna.o: In function `main': mplayer-conf-19707-22077.c:(.text+0x26): undefined reference to `DPMSQueryExtension' collect2: ld returned 1 exit status
fixed it myself, files/mplayer-dpms.patch
*** Bug 174012 has been marked as a duplicate of this bug. ***