Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wbar-2.2.1 fails to link with gold #50

Closed
GoogleCodeExporter opened this issue May 1, 2015 · 2 comments
Closed

wbar-2.2.1 fails to link with gold #50

GoogleCodeExporter opened this issue May 1, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

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:

@GoogleCodeExporter
Copy link
Author

ok, thanks
Muchas gracias

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

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

new release 2.2.2

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

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant