[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help with new version of xmedcon



Hi,

On Sun, Aug 18, 2013 at 01:35:27AM +0600, Andrey Rahmatullin wrote:
> On Sat, Aug 17, 2013 at 09:30:24PM +0200, Andreas Tille wrote:
> > /bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security  -lm -Wl,-z,relro -o xmedcon xcolmap.o xcolgbc.o xdefs.o
> > libtool: link: gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wl,-z -Wl,relro -o .libs/xmedcon xcolmap.o xcolgbc.o xdefs.o xicons.o xerror.o xextract
> > /usr/bin/ld: xprogbar.o: undefined reference to symbol 'gtk_main_iteration'
> > /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0: error adding symbols: DSO missing from command line
> You need to link with the library that provides the required symbol.

Well, this is the Gtk library - but it does not explain why the linker
might find it when using debuild (even in a manually created unstable
chroot but fails when using pdebuild.  Usually this is an issue of a
missing Build-Depends but I have no idea which one.

> If
> the link command differs in different environments you may need to
> investigate how is it constructed.
> Also, it looks like you didn't provide the full commands.

True.  Cut-n-pasto, sorry:

...
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security  -lm -Wl,-z,relro -o xmedcon xcolmap.o xcolgbc.o xdefs.o xicons.o xerror.o xextract.o xfancy.o xfiles.o xfilesel.o xhelp.o ximages.o xinfo.o xlabels.o xmedcon.o xmnuftry.o xoptions.o xpages.o xprogbar.o xreader.o xrender.o xreset.o xresize.o xreslice.o xtransf.o xutils.o xviewer.o xvifi.o xwriter.o xzoom.o libmdc.la 
libtool: link: gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wl,-z -Wl,relro -o .libs/xmedcon xcolmap.o xcolgbc.o xdefs.o xicons.o xerror.o xextract.o xfancy.o xfiles.o xfilesel.o xhelp.o ximages.o xinfo.o xlabels.o xmedcon.o xmnuftry.o xoptions.o xpages.o xprogbar.o xreader.o xrender.o xreset.o xresize.o xreslice.o xtransf.o xutils.o xviewer.o xvifi.o xwriter.o xzoom.o  -lm ./.libs/libmdc.so
/usr/bin/ld: xprogbar.o: undefined reference to symbol 'gtk_main_iteration'
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status


This remains strange

     Andreas.

-- 
http://fam-tille.de


Reply to: