← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 520364] Re: fix for "#502673 gui becomes unresponsive" breaks compilation

 

** Tags added: build
** Tags removed: compilation error

** Changed in: linuxdcpp
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of LinuxDC++
Team, which is subscribed to LinuxDC++.
https://bugs.launchpad.net/bugs/520364

Title:
  fix for "#502673 gui becomes unresponsive" breaks compilation

Status in Linux DC++:
  Fix Released

Bug description:
  the submitted fix for "#502673 gui becomes unresponsive", 
  which is:

  " 349. By Steven Sheehy  on 2010-02-02
      Fixed an issue with the GUI randomly freezing"

  breaks compilation, at least on my fedora/rawhide box. It bombs about
  XFlush dependency (libX11) not being found. I believe its just a
  matter of scons not checking/configuring for it, but i'm no expert.
  Reverting #349 brings back compilation just fine. (It should also
  reintroduce the #502673 bug again, although i've never been hit by it
  anyway.)

  Thank you,
  Joao

  [Complete compilation log attached, disregard the warnings, as these
  are harmless, the error is at the end.]

  
  Error message:
  "g++ -o linuxdcpp -Wl,--as-needed -pthread build/dcpp/libdcpp.a build/gui/search.o build/gui/WulforUtil.o build/gui/favoritehubs.o build/gui/privatemessage.o build/gui/hashdialog.o build/gui/settingsdialog.o build/gui/wulformanager.o build/gui/mainwindow.o build/gui/dialogentry.o build/gui/transfers.o build/gui/wulfor.o build/gui/publichubs.o build/gui/sharebrowser.o build/gui/hub.o build/gui/finishedtransfers.o build/gui/bookentry.o build/gui/entry.o build/gui/downloadqueue.o build/gui/settingsmanager.o build/gui/UserCommandMenu.o build/gui/treeview.o -L/lib -Lbuild/dcpp -Ldcpp -ldcpp -lz -lbz2 -lcrypto -lssl -lnotify -ldbus-glib-1 -ldbus-1 -lpthread -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
  /usr/bin/ld: build/gui/wulformanager.o: undefined reference to symbol 'XFlush'
  /usr/bin/ld: note: 'XFlush' is defined in DSO /usr/lib/libX11.so.6 so try adding it to the linker command line
  /usr/lib/libX11.so.6: could not read symbols: Invalid operation
  collect2: ld returned 1 exit status
  scons: *** [linuxdcpp] Error 1"



References