Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 188615 - media-video/mplayer-1.0.20070622-r3 dpms config check fails with as-needed
Summary: media-video/mplayer-1.0.20070622-r3 dpms config check fails with as-needed
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
: 174012 (view as bug list)
Depends on:
Blocks: as-needed
  Show dependency tree
Reported: 2007-08-12 17:37 UTC by Samuli Suominen (RETIRED)
Modified: 2007-08-15 03:59 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Samuli Suominen (RETIRED) gentoo-dev 2007-08-12 17:37:43 UTC
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
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2007-08-12 18:03:33 UTC
fixed it myself, files/mplayer-dpms.patch
Comment 2 Steve Dibb (RETIRED) gentoo-dev 2007-08-15 03:59:23 UTC
*** Bug 174012 has been marked as a duplicate of this bug. ***