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

Bug#555602: FTBFS with binutils-gold



Source: mldonkey
Version: 3.0.0-3
Severity: minor
User: peter.fritzsche@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
 http://wiki.debian.org/qa.debian.org/FTBFS#A2009-11-02Packagesfailingbecausebinutils-gold.2BAC8-indirectlinking

ocamlopt -inline 10 -linkall -o mlgui \
	     bigarray.cmxa unix.cmxa str.cmxa -ccopt " " -cclib "-lz  " -cclib -lbz2 -ccopt "-pthread" \
	-ccopt "" -cclib "-lgtk-x11-2.0 -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 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0  " -I +lablgtk2  lablgtk.cmxa gtkInit.cmx lablrsvg.cmxa  \
	  \
	  \
	  \
	-I build    build/cdk.cmxa    build/common.cmxa    build/icons.cmxa    build/guibase.cmxa    build/gui.cmxa    src/daemon/common/commonMain.cmx  
/usr/bin/ld: src/gtk2/gui/x11/eggtrayicon.o: in function egg_tray_icon_send_manager_message:src/gtk2/gui/x11/eggtrayicon.c:263: error: undefined reference to 'XSendEvent'
/usr/bin/ld: src/gtk2/gui/x11/eggtrayicon.o: in function egg_tray_icon_send_manager_message:src/gtk2/gui/x11/eggtrayicon.c:265: error: undefined reference to 'XSync'
/usr/bin/ld: src/gtk2/gui/x11/eggtrayicon.o: in function egg_tray_icon_send_message:src/gtk2/gui/x11/eggtrayicon.c:430: error: undefined reference to 'XInternAtom'
/usr/bin/ld: src/gtk2/gui/x11/eggtrayicon.o: in function egg_tray_icon_send_message:src/gtk2/gui/x11/eggtrayicon.c:444: error: undefined reference to 'XSendEvent'
/usr/bin/ld: src/gtk2/gui/x11/eggtrayicon.o: in function egg_tray_icon_send_message:src/gtk2/gui/x11/eggtrayicon.c:446: error: undefined reference to 'XSync'
/usr/bin/ld: src/gtk2/gui/x11/eggtrayicon.o: in function egg_tray_icon_send_message:src/gtk2/gui/x11/eggtrayicon.c:444: error: undefined reference to 'XSendEvent'
/usr/bin/ld: src/gtk2/gui/x11/eggtrayicon.o: in function egg_tray_icon_send_message:src/gtk2/gui/x11/eggtrayicon.c:446: error: undefined reference to 'XSync'
/usr/bin/ld: src/gtk2/gui/x11/eggtrayicon.o: in function egg_tray_icon_new_for_xscreen:src/gtk2/gui/x11/eggtrayicon.c:374: error: undefined reference to 'XScreenNumberOfScreen'
/usr/bin/ld: src/gtk2/gui/x11/eggtrayicon.o: in function egg_tray_icon_get_orientation_property:src/gtk2/gui/x11/eggtrayicon.c:155: error: undefined reference to 'XGetWindowProperty'
/usr/bin/ld: src/gtk2/gui/x11/eggtrayicon.o: in function egg_tray_icon_get_orientation_property:src/gtk2/gui/x11/eggtrayicon.c:184: error: undefined reference to 'XFree'
/usr/bin/ld: src/gtk2/gui/x11/eggtrayicon.o: in function egg_tray_icon_update_manager_window:src/gtk2/gui/x11/eggtrayicon.c:296: error: undefined reference to 'XGrabServer'
/usr/bin/ld: src/gtk2/gui/x11/eggtrayicon.o: in function egg_tray_icon_update_manager_window:src/gtk2/gui/x11/eggtrayicon.c:298: error: undefined reference to 'XGetSelectionOwner'
/usr/bin/ld: src/gtk2/gui/x11/eggtrayicon.o: in function egg_tray_icon_update_manager_window:src/gtk2/gui/x11/eggtrayicon.c:305: error: undefined reference to 'XUngrabServer'
/usr/bin/ld: src/gtk2/gui/x11/eggtrayicon.o: in function egg_tray_icon_update_manager_window:src/gtk2/gui/x11/eggtrayicon.c:306: error: undefined reference to 'XFlush'
/usr/bin/ld: src/gtk2/gui/x11/eggtrayicon.o: in function egg_tray_icon_update_manager_window:src/gtk2/gui/x11/eggtrayicon.c:302: error: undefined reference to 'XSelectInput'
/usr/bin/ld: src/gtk2/gui/x11/eggtrayicon.o: in function egg_tray_icon_realize:src/gtk2/gui/x11/eggtrayicon.c:346: error: undefined reference to 'XInternAtom'
/usr/bin/ld: src/gtk2/gui/x11/eggtrayicon.o: in function egg_tray_icon_realize:src/gtk2/gui/x11/eggtrayicon.c:348: error: undefined reference to 'XInternAtom'
/usr/bin/ld: src/gtk2/gui/x11/eggtrayicon.o: in function egg_tray_icon_realize:src/gtk2/gui/x11/eggtrayicon.c:350: error: undefined reference to 'XInternAtom'
collect2: ld returned 1 exit status
File "caml_startup", line 1, characters 0-1:
Error: Error during linking
make[1]: *** [mlgui] Error 2



Reply to: