Bug#556515: FTBFS with binutils-gold

Peter Fritzsche peter.fritzsche at gmx.de
Mon Nov 16 10:15:32 UTC 2009

Source: update-notifier
Version: 0.70.7.debian-7
Severity: minor
User: peter.fritzsche at gmx.de
Usertags: no-add-needed

Tried to build your package and it fails to build with GNU binutils-gold. The
important difference is that --no-add-needed is the default behavior of of GNU
binutils-gold. Please provide all needed libraries to the linker when building
your executables.

More informations can be found at

x86_64-linux-gnu-gcc  -Wall -g -O2   -o update-notifier update-notifier.o clipboard.o rfc822.o hooks.o reboot.o crash.o avahi.o update.o hal.o md5.o -pthread -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomevfs-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2 -lart_lgpl_2 -lgthread-2.0 -lglade-2.0 -lxml2 -lgconf-2 -lhal -lnotify -lgtk-x11-2.0 -ldbus-glib-1 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lgio-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgmodule-2.0 -ldbus-1 -lpthread -lrt -lgobject-2.0 -lglib-2.0    
/usr/bin/ld: clipboard.o: in function up_get_clipboard:clipboard.c:54: error: undefined reference to 'XGrabServer'
/usr/bin/ld: clipboard.o: in function up_get_clipboard:clipboard.c:56: error: undefined reference to 'XGetSelectionOwner'
/usr/bin/ld: clipboard.o: in function up_get_clipboard:clipboard.c:68: error: undefined reference to 'XUngrabServer'
collect2: ld returned 1 exit status
make[3]: *** [update-notifier] Error 1

More information about the pkg-gnome-maintainers mailing list