Sat, 15 Jan 2011 15:16:40 -0500
Jon Bernard <jbern...@debian.org>:

> I just tried building this package in sid with a current toolchain and
> gold is able to link without error. -lX11 is added to $LIBS in
> configure and so all needed libs are defined at link-time. I suspect
> if you retry a build with the current ubuntu toolchain including
> gold, link will succeed.
> 
> At least in sid, this seem to no longer be an issue.
> 

Hmm, when I build version 0.6-1 in pbuilder-sid, I get the following
linking line:

gcc  -g -O2 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include 
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 
-I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 
-I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     
-o e16keyedit ipc.o menus.o viewer.o  -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 
-latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lcairo 
-lgio-2.0 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 
-lgthread-2.0 -lrt -lglib-2.0

So no -lX11 here, I'm not sure how it could sneak into LIBS. And the package 
stops building when I add -Wl,--no-add-needed to LDFLAGS.

-- 
Ilya Barygin



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to