Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

undefined reference to 'qt_static_plugin_QWaylandEglStreamBufferIntegrationPlugin()'



  • os : ubuntu 16.04
    g++ : gcc version 5.5.0 20171010
    
    ./configure -prefix /home/sfdev/qtstatic -confirm-license -opensource -c++std c++11 -platform linux-g++-64 -release -static -qt-sqlite -fontconfig -gstreamer 1.0 -qt-zlib -qt-libpng -qt-libjpeg -qt-xcb
    
    
    cd examples/ && ( test -e Makefile || /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtbase/bin/qmake -o Makefile /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtwayland/examples/examples.pro ) && make -f Makefile 
    make[2]: Entering directory '/home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtwayland/examples'
    /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtbase/bin/qmake -o Makefile examples.pro
    cd wayland/ && ( test -e Makefile || /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtbase/bin/qmake -o Makefile /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtwayland/examples/wayland/wayland.pro ) && make -f Makefile 
    make[3]: Entering directory '/home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtwayland/examples/wayland'
    /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtbase/bin/qmake -o Makefile wayland.pro
    cd qwindow-compositor/ && ( test -e Makefile || /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtbase/bin/qmake -o Makefile /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtwayland/examples/wayland/qwindow-compositor/qwindow-compositor.pro ) && make -f Makefile 
    make[4]: Entering directory '/home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtwayland/examples/wayland/qwindow-compositor'
    /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtbase/bin/qmake -o Makefile qwindow-compositor.pro
    g++ -Wl,-O1 -fuse-ld=gold -Wl,--enable-new-dtags -Wl,--gc-sections -o qwindow-compositor .obj/main.o .obj/window.o .obj/compositor.o .obj/qwindow-compositor_plugin_import.o .obj/qrc_qwindow-compositor.o .obj/moc_compositor.o   -L ../../lib /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtwayland/plugins/wayland-graphics-integration-server/libdmabuf-server.a -L/usr/X11R6/lib64 /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtwayland/plugins/wayland-graphics-integration-server/libdrm-egl-server.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtwayland/plugins/wayland-graphics-integration-server/libqt-plugin-wayland-egl.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtwayland/plugins/wayland-graphics-integration-server/libshm-emulation-server.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtwayland/plugins/wayland-graphics-integration-server/libwayland-eglstream-controller.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtwayland/plugins/platforms/libqwayland-egl.a /usr/lib/x86_64-linux-gnu/libwayland-egl.so /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtwayland/plugins/platforms/libqwayland-generic.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtbase/plugins/platforms/libqxcb.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtbase/lib/libQt5XcbQpa.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtbase/lib/libxcb-static.a /usr/lib/x86_64-linux-gnu/libxcb.so /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtimageformats/plugins/imageformats/libqicns.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtimageformats/plugins/imageformats/libqtga.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtimageformats/plugins/imageformats/libqtiff.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtimageformats/plugins/imageformats/libqwbmp.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtimageformats/plugins/imageformats/libqwebp.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtbase/plugins/imageformats/libqgif.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtbase/plugins/imageformats/libqico.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtbase/plugins/imageformats/libqjpeg.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtbase/plugins/egldeviceintegrations/libqeglfs-emu-integration.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtbase/plugins/egldeviceintegrations/libqeglfs-kms-egldevice-integration.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtbase/lib/libQt5EglFsKmsSupport.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtbase/lib/libQt5EglFSDeviceIntegration.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtbase/lib/libQt5FbSupport.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtbase/lib/libQt5EglSupport.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtbase/lib/libQt5InputSupport.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtbase/lib/libQt5PlatformCompositorSupport.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtbase/lib/libQt5KmsSupport.a -ldl /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtbase/lib/libQt5DeviceDiscoverySupport.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtbase/lib/libQt5EdidSupport.a /usr/lib/x86_64-linux-gnu/libdrm.so /usr/lib/x86_64-linux-gnu/libEGL.so /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtdeclarative/plugins/qmltooling/libqmldbg_debugger.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtdeclarative/plugins/qmltooling/libqmldbg_inspector.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtdeclarative/plugins/qmltooling/libqmldbg_local.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtdeclarative/plugins/qmltooling/libqmldbg_messages.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtdeclarative/plugins/qmltooling/libqmldbg_native.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtdeclarative/plugins/qmltooling/libqmldbg_nativedebugger.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtdeclarative/plugins/qmltooling/libqmldbg_preview.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtdeclarative/plugins/qmltooling/libqmldbg_profiler.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtdeclarative/plugins/qmltooling/libqmldbg_quickprofiler.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtdeclarative/plugins/qmltooling/libqmldbg_server.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtdeclarative/lib/libQt5PacketProtocol.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtdeclarative/plugins/qmltooling/libqmldbg_tcp.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtbase/plugins/bearer/libqconnmanbearer.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtbase/plugins/bearer/libqgenericbearer.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtbase/plugins/bearer/libqnmbearer.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtwayland/plugins/wayland-decoration-client/libbradient.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtwayland/plugins/wayland-shell-integration/libivi-shell.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtwayland/plugins/wayland-shell-integration/libwl-shell.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtwayland/plugins/wayland-shell-integration/libxdg-shell-v5.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtwayland/plugins/wayland-shell-integration/libxdg-shell-v6.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtwayland/plugins/wayland-shell-integration/libxdg-shell.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtwayland/lib/libQt5WaylandClient.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtbase/lib/libQt5FontDatabaseSupport.a /usr/lib/x86_64-linux-gnu/libfontconfig.so /usr/lib/x86_64-linux-gnu/libfreetype.so /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtbase/lib/libQt5EventDispatcherSupport.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtbase/lib/libQt5ThemeSupport.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtbase/lib/libQt5ServiceSupport.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtbase/lib/libQt5DBus.a /usr/lib/x86_64-linux-gnu/libwayland-cursor.so /usr/lib/x86_64-linux-gnu/libwayland-client.so /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtwayland/lib/libQt5WaylandCompositor.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtdeclarative/lib/libQt5Quick.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtbase/lib/libQt5Gui.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtbase/lib/libqtlibpng.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtbase/lib/libqtharfbuzz.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtdeclarative/lib/libQt5Qml.a -lrt /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtbase/lib/libQt5Network.a /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtbase/lib/libQt5Core.a -lm /usr/lib/x86_64-linux-gnu/libicui18n.so /usr/lib/x86_64-linux-gnu/libicuuc.so /usr/lib/x86_64-linux-gnu/libicudata.so /usr/lib/x86_64-linux-gnu/libdl.so /home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtbase/lib/libqtpcre2.a /usr/lib/x86_64-linux-gnu/libgthread-2.0.so /usr/lib/x86_64-linux-gnu/libglib-2.0.so /usr/lib/x86_64-linux-gnu/libGL.so -lpthread /usr/lib/x86_64-linux-gnu/libwayland-server.so /usr/lib/x86_64-linux-gnu/libxkbcommon.so   
    .obj/qwindow-compositor_plugin_import.o:qwindow-compositor_plugin_import.cpp:function _GLOBAL__sub_I_qwindow_compositor_plugin_import.cpp: error: undefined reference to 'qt_static_plugin_QWaylandEglStreamBufferIntegrationPlugin()'
    collect2: error: ld returned 1 exit status
    Makefile:113: recipe for target 'qwindow-compositor' failed
    make[4]: *** [qwindow-compositor] Error 1
    make[4]: Leaving directory '/home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtwayland/examples/wayland/qwindow-compositor'
    Makefile:58: recipe for target 'sub-qwindow-compositor-make_first' failed
    make[3]: *** [sub-qwindow-compositor-make_first] Error 2
    make[3]: Leaving directory '/home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtwayland/examples/wayland'
    Makefile:46: recipe for target 'sub-wayland-make_first' failed
    make[2]: *** [sub-wayland-make_first] Error 2
    make[2]: Leaving directory '/home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtwayland/examples'
    Makefile:73: recipe for target 'sub-examples-make_first' failed
    make[1]: *** [sub-examples-make_first] Error 2
    make[1]: Leaving directory '/home/sfdev/Downloads/qt-everywhere-src-5.12.10/qtwayland'
    Makefile:600: recipe for target 'module-qtwayland-make_first' failed
    make: *** [module-qtwayland-make_first] Error 2
    

    How can I solve this problem?


  • Lifetime Qt Champion

    Hi,

    Disable the build of examples and tests in your configure options. This will only eat time and disk space.


Log in to reply