Summary: | x11-misc/wbar: fails with forced --as-needed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Desktop Misc. Team <desktop-misc> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.gentoo.org/proj/en/qa/asneeded.xml | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 129413 | ||
Attachments: | Build log |
Description
Diego Elio Pettenò (RETIRED)
2008-11-24 09:46:58 UTC
Created attachment 173174 [details]
Build log
i686-pc-linux-gnu-g++ -Wl,-O1 XWin.o Icon.o Bar.o IconLoader.o OptParser.o SuperBar.o SuperIcon.o Main.o `imlib2-config --libs` -o wbar XWin.o: In function `XWin::bottomLayer()': XWin.cc:(.text+0xa3): undefined reference to `XInternAtom' Looks like correct order to me. What does ´imlib2-config --libs´ return to you? Also, i'd like to see 'emerge -pv imlib2' output. Thanks. It might have been missing X USE flag on imlib2 when I built this. On the other hand it does not seem to _need_ the X USE flag for imlib2, just adding a -lX11 or -lXext, whatever provides the symbol, on the commandline. (In reply to comment #3) > It might have been missing X USE flag on imlib2 when I built this. On the other > hand it does not seem to _need_ the X USE flag for imlib2, just adding a -lX11 > or -lXext, whatever provides the symbol, on the commandline. > As I suspected, will look. + 14 Jan 2010; Samuli Suominen <ssuominen@gentoo.org> + files/wbar-1.3.3-Makefile.patch: + Link to -lX11 even if media-libs/imlib2 is built with USE="-X" wrt + #248580, thanks to Diego E. Pettenò for reporting. $ strings /usr/lib64/libX11.so |grep XInt XInternAtom XInternAtoms |