[oi-dev] Linker error while compiling a new QT creator
Stephan Althaus
Stephan.Althaus at Duedinghausen.eu
Thu Apr 28 11:24:45 UTC 2022
Hello!
I get an error, and i don't know how and where to search for a solution.
I generally don't expect linking errors of this type.
Please give me some hints where to start looking for...
FAILED: lib/amd64/qtcreator/libAdvancedDockingSystem.so.7.82.0
: && /usr/gcc/10/bin/g++ -fPIC -m64 -O3 -O3 -DNDEBUG -m64 -lsocket
-Wl,--no-undefined -shared -Wl,-hlibAdvancedDockingSystem.so.7 -o
lib/amd64/qtcreator/libAdvancedDockingSystem.so.7.82.0
src/libs/advanceddockingsystem/CMakeFiles/AdvancedDockingSystem.dir/AdvancedDockingSystem_autogen/mocs_compilation.cpp.o
src/libs/advanceddockingsystem/CMakeFiles/AdvancedDockingSystem.dir/ads_globals.cpp.o
src/libs/advanceddockingsystem/CMakeFiles/AdvancedDockingSystem.dir/dockareatabbar.cpp.o
src/libs/advanceddockingsystem/CMakeFiles/AdvancedDockingSystem.dir/dockareatitlebar.cpp.o
src/libs/advanceddockingsystem/CMakeFiles/AdvancedDockingSystem.dir/dockareawidget.cpp.o
src/libs/advanceddockingsystem/CMakeFiles/AdvancedDockingSystem.dir/dockcomponentsfactory.cpp.o
src/libs/advanceddockingsystem/CMakeFiles/AdvancedDockingSystem.dir/dockcontainerwidget.cpp.o
src/libs/advanceddockingsystem/CMakeFiles/AdvancedDockingSystem.dir/dockfocuscontroller.cpp.o
src/libs/advanceddockingsystem/CMakeFiles/AdvancedDockingSystem.dir/dockingstatereader.cpp.o
src/libs/advanceddockingsystem/CMakeFiles/AdvancedDockingSystem.dir/dockmanager.cpp.o
src/libs/advanceddockingsystem/CMakeFiles/AdvancedDockingSystem.dir/dockoverlay.cpp.o
src/libs/advanceddockingsystem/CMakeFiles/AdvancedDockingSystem.dir/docksplitter.cpp.o
src/libs/advanceddockingsystem/CMakeFiles/AdvancedDockingSystem.dir/dockwidget.cpp.o
src/libs/advanceddockingsystem/CMakeFiles/AdvancedDockingSystem.dir/dockwidgettab.cpp.o
src/libs/advanceddockingsystem/CMakeFiles/AdvancedDockingSystem.dir/elidinglabel.cpp.o
src/libs/advanceddockingsystem/CMakeFiles/AdvancedDockingSystem.dir/floatingdockcontainer.cpp.o
src/libs/advanceddockingsystem/CMakeFiles/AdvancedDockingSystem.dir/floatingdragpreview.cpp.o
src/libs/advanceddockingsystem/CMakeFiles/AdvancedDockingSystem.dir/iconprovider.cpp.o
src/libs/advanceddockingsystem/CMakeFiles/AdvancedDockingSystem.dir/workspacedialog.cpp.o
src/libs/advanceddockingsystem/CMakeFiles/AdvancedDockingSystem.dir/workspacemodel.cpp.o
src/libs/advanceddockingsystem/CMakeFiles/AdvancedDockingSystem.dir/workspaceview.cpp.o
src/libs/advanceddockingsystem/CMakeFiles/AdvancedDockingSystem.dir/linux/floatingwidgettitlebar.cpp.o
-L/usr/lib/qt/6.2/lib/amd64
-Wl,-R"\$ORIGIN:\$ORIGIN/../Qt/lib:/home2/src/oi-hoewweken/oi-userland/components/editor/qtcreator/build/amd64/lib/amd64/qtcreator:/usr/lib/qt/6.2/lib/amd64:"
lib/amd64/qtcreator/libUtils.so.7.82.0
/usr/lib/qt/6.2/lib/amd64/libQt6Widgets.so.6.2.4
/usr/lib/qt/6.2/lib/amd64/libQt6Gui.so.6.2.4 /usr/lib/64/libGL.so
/usr/lib/qt/6.2/lib/amd64/libQt6Concurrent.so.6.2.4
/usr/lib/qt/6.2/lib/amd64/libQt6Core5Compat.so.6.2.4
/usr/lib/qt/6.2/lib/amd64/libQt6Network.so.6.2.4 -lsocket -lnsl
/usr/lib/qt/6.2/lib/amd64/libQt6Core.so.6.2.4 && :
Undefined first referenced
symbol in file
_ZN5Utils9FileSaver8finalizeEv
src/libs/advanceddockingsystem/CMakeFiles/AdvancedDockingSystem.dir/dockmanager.cpp.o
_ZN5Utils19writeAssertLocationEPKc
src/libs/advanceddockingsystem/CMakeFiles/AdvancedDockingSystem.dir/dockmanager.cpp.o
_ZN5Utils9FileSaverC1ERKNS_8FilePathE6QFlagsIN13QIODeviceBase12OpenModeFlagEE
src/libs/advanceddockingsystem/CMakeFiles/AdvancedDockingSystem.dir/dockmanager.cpp.o
_ZNK5Utils8FilePath6existsEv
src/libs/advanceddockingsystem/CMakeFiles/AdvancedDockingSystem.dir/dockmanager.cpp.o
_ZN5Utils8FilePath10fromStringERK7QString
src/libs/advanceddockingsystem/CMakeFiles/AdvancedDockingSystem.dir/dockmanager.cpp.o
_ZTVN5Utils9FileSaverE
src/libs/advanceddockingsystem/CMakeFiles/AdvancedDockingSystem.dir/dockmanager.cpp.o
_ZTIN5Utils8TreeViewE
src/libs/advanceddockingsystem/CMakeFiles/AdvancedDockingSystem.dir/AdvancedDockingSystem_autogen/mocs_compilation.cpp.o
_ZNK5Utils8FilePath10toFileInfoEv
src/libs/advanceddockingsystem/CMakeFiles/AdvancedDockingSystem.dir/dockmanager.cpp.o
_ZNK5Utils8FilePath12toUserOutputEv
src/libs/advanceddockingsystem/CMakeFiles/AdvancedDockingSystem.dir/dockmanager.cpp.o
_ZNK5Utils8FilePath8toStringEv
src/libs/advanceddockingsystem/CMakeFiles/AdvancedDockingSystem.dir/dockmanager.cpp.o
_ZN5Utils8TreeView11qt_metacastEPKc
src/libs/advanceddockingsystem/CMakeFiles/AdvancedDockingSystem.dir/AdvancedDockingSystem_autogen/mocs_compilation.cpp.o
_ZN5Utils8TreeView16staticMetaObjectE
src/libs/advanceddockingsystem/CMakeFiles/AdvancedDockingSystem.dir/AdvancedDockingSystem_autogen/mocs_compilation.cpp.o
_ZNK5Utils8FilePath12lastModifiedEv
src/libs/advanceddockingsystem/CMakeFiles/AdvancedDockingSystem.dir/dockmanager.cpp.o
_ZN5Utils13FileSaverBase5writeERK10QByteArray
src/libs/advanceddockingsystem/CMakeFiles/AdvancedDockingSystem.dir/dockmanager.cpp.o
_ZN5Utils8TreeView11qt_metacallEN11QMetaObject4CallEiPPv
src/libs/advanceddockingsystem/CMakeFiles/AdvancedDockingSystem.dir/AdvancedDockingSystem_autogen/mocs_compilation.cpp.o
_ZN5Utils8FilePathC1Ev
src/libs/advanceddockingsystem/CMakeFiles/AdvancedDockingSystem.dir/dockmanager.cpp.o
_ZN5Utils13FileSaverBaseD2Ev
src/libs/advanceddockingsystem/CMakeFiles/AdvancedDockingSystem.dir/dockmanager.cpp.o
ld: fatal: symbol referencing errors. No output written to
lib/amd64/qtcreator/libAdvancedDockingSystem.so.7.82.0
collect2: error: ld returned 1 exit status
btw this is cmake --build . -v from within qtcreator/build/amd64/
Thanks,
Stephan
More information about the oi-dev
mailing list