Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-38952

Cannot build with libxcb 1.5

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • 5.3.0 RC1
    • QPA: X11/XCB
    • None

    Description

      I receive the following error when trying to compile on a CentOS 6.1 machine (with libxcb 1.5):

      rm -f libqxcb.so
      linking ../../../../plugins/platforms/libqxcb.so
      .obj/util.o: In function `adopt_atoms':
      util.c:(.text+0x347): undefined reference to `xcb_discard_reply'
      collect2: error: ld returned 1 exit status
      make[6]: *** [../../../../plugins/platforms/libqxcb.so] Error 1
      

      I tried using the -qt-xcb configure option, but noticed that qtbase/src/3rdparty/xcb also does not appear to have xcb_discard_reply defined.

      It appears that the xcb_discard_reply symbol was not introduced into libxcb 1.6.

      From a objdump -T, it appears I would have the same issue on our SUSE 11.3 machines. There is no issue on our CentOS 6.5 machines, which ship with libxcb 1.8.1.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            paeglis Gatis Paeglis
            rwbrown Ryan Brown
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes