frankzen / wbar

wbar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wbar-2.2.1 fails to link with gold

GoogleCodeExporter opened this issue · comments

You're using symbols from libX11 and rely on imlib2 to bring it during linking. 
Normal linker will let you slide with, however gold is more strict:

i686-pc-linux-gnu-g++  -O2 -pipe  -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu 
-o wbar wbar-Bar.o wbar-Icon.o wbar-Main.o wbar-SuperBar.o wbar-SuperIcon.o 
wbar-XWin.o wbar-App.o wbar-Config.o wbar-Utils.o wbar-OptParser.o -lImlib2   
wbar-XWin.o:XWin.cc:function XWin::XWin(int, int, int, int): error: undefined 
reference to 'XOpenDisplay'
wbar-XWin.o:XWin.cc:function XWin::XWin(int, int, int, int): error: undefined 
reference to 'XCreateSimpleWindow'
wbar-XWin.o:XWin.cc:function XWin::XWin(int, int, int, int): error: undefined 
reference to 'XInternAtom'
wbar-XWin.o:XWin.cc:function XWin::XWin(int, int, int, int): error: undefined 
reference to 'XSetWMProtocols'
wbar-XWin.o:XWin.cc:function XWin::XWin(int, int, int, int): error: undefined 
reference to 'XSetClassHint'

Please see http://bugs.gentoo.org/show_bug.cgi?id=367549 for a full build.log

To fix: see attached patch

Cheers,
Kacper Kowalik

Original issue reported on code.google.com by xarthisi...@gmail.com on 17 May 2011 at 10:51

Attachments:

ok, thanks
Muchas gracias

Original comment by yadick...@gmail.com on 20 May 2011 at 1:36

  • Changed state: Accepted
new release 2.2.2

Original comment by yadick...@gmail.com on 20 May 2011 at 4:43

  • Changed state: Fixed