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

dev fails to build: undefined reference to `QtWayland::qt_extended_surface::raise()'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • 6.4
    • QPA: Wayland
    • None
    • Linux/X11

    Description

      Trying to build the current dev (qt5.git 178334bd29a8b8167040bc3d6f2b5f6b1c954db2, qtwayland 940e186c5afac502e55a6ccc222db5a0fdd093d4) fails for me with:

      [955/1658] Linking CXX shared library qtbase/lib/libQt6WlShellIntegration.so.6.4.0
      FAILED: qtbase/lib/libQt6WlShellIntegration.so.6.4.0 qtwayland/src/plugins/shellintegration/wl-shell/WlShellIntegrationPrivate.version /home/florian/proj/qt/dev6/build/qtwayland/src/plugins/shellintegration/wl-shell/WlShellIntegrationPrivate.version 
      cd /home/florian/proj/qt/dev6/qt5/qtwayland/src/plugins/shellintegration/wl-shell && /usr/bin/perl /home/florian/proj/qt/dev6/qt5/qtbase/mkspecs/features/data/unix/findclasslist.pl < /home/florian/proj/qt/dev6/build/qtwayland/src/plugins/shellintegration/wl-shell/WlShellIntegrationPrivate.version.in > /home/florian/proj/qt/dev6/build/qtwayland/src/plugins/shellintegration/wl-shell/WlShellIntegrationPrivate.version && cd /home/florian/proj/qt/dev6/build && /usr/lib/ccache/bin/c++ -fPIC -g  -Wl,--version-script,/home/florian/proj/qt/dev6/build/qtwayland/src/plugins/shellintegration/wl-shell/WlShellIntegrationPrivate.version -Wl,--no-undefined -Wl,--enable-new-dtags -shared -Wl,-soname,libQt6WlShellIntegration.so.6 -o qtbase/lib/libQt6WlShellIntegration.so.6.4.0 qtwayland/src/plugins/shellintegration/wl-shell/CMakeFiles/WlShellIntegrationPrivate.dir/WlShellIntegrationPrivate_autogen/mocs_compilation.cpp.o qtwayland/src/plugins/shellintegration/wl-shell/CMakeFiles/WlShellIntegrationPrivate.dir/qwaylandwlshellintegration.cpp.o qtwayland/src/plugins/shellintegration/wl-shell/CMakeFiles/WlShellIntegrationPrivate.dir/qwaylandwlshellsurface.cpp.o qtwayland/src/plugins/shellintegration/wl-shell/CMakeFiles/WlShellIntegrationPrivate.dir/wayland-wayland-protocol.c.o qtwayland/src/plugins/shellintegration/wl-shell/CMakeFiles/WlShellIntegrationPrivate.dir/qwayland-wayland.cpp.o  -Wl,-rpath,"\$ORIGIN:/home/florian/proj/qt/dev6/build/qtbase/lib:"  /usr/lib/libwayland-client.so  /usr/lib/libxkbcommon.so  /usr/lib/libxkbcommon.so  qtbase/lib/libQt6WaylandClient.so.6.4.0  /usr/lib/libwayland-client.so  qtbase/lib/libQt6Gui.so.6.4.0  /usr/lib/libGLX.so  /usr/lib/libOpenGL.so  qtbase/lib/libQt6Core.so.6.4.0  /usr/lib/libwayland-cursor.so  -Wl,-rpath-link,/home/florian/proj/qt/dev6/build/qtbase/lib && :
      /usr/bin/ld: qtwayland/src/plugins/shellintegration/wl-shell/CMakeFiles/WlShellIntegrationPrivate.dir/qwaylandwlshellsurface.cpp.o: in function `QtWaylandClient::QWaylandWlShellSurface::raise()':
      /home/florian/proj/qt/dev6/build/../qt5/qtwayland/src/plugins/shellintegration/wl-shell/qwaylandwlshellsurface.cpp:106: undefined reference to `QtWayland::qt_extended_surface::raise()'
      /usr/bin/ld: qtwayland/src/plugins/shellintegration/wl-shell/CMakeFiles/WlShellIntegrationPrivate.dir/qwaylandwlshellsurface.cpp.o: in function `QtWaylandClient::QWaylandWlShellSurface::lower()':
      /home/florian/proj/qt/dev6/build/../qt5/qtwayland/src/plugins/shellintegration/wl-shell/qwaylandwlshellsurface.cpp:112: undefined reference to `QtWayland::qt_extended_surface::lower()'
      /usr/bin/ld: qtbase/lib/libQt6WlShellIntegration.so.6.4.0: protected symbol `_ZN9QtWayland19qt_extended_surface5raiseEv' isn't defined
      /usr/bin/ld: final link failed: bad value
      collect2: error: ld returned 1 exit status
      

      Attachments

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

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            the compiler Florian Bruhin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes