#575·Havoc

导致客户端构建错误

作者: han-ls创建于 2026年1月5日更新于 2026年1月7日

When I build the client, there is always an ERROR as follows: home/kaliuser/work/Havoc/client/src/UserInterface/Widgets/LootWidget.cc: In member function 'const QPixmap* ImageLabel::pixmap() const': home/kaliuser/work/Havoc/client/src/UserInterface/Widgets/LootWidget.cc:41:25: warning: 'const QPixmap* QLabel::pixmap() const' is deprecated: Use the other overload which returns QPixmap by-value [-Wdeprecated-declarations] 41 | return label->pixmap(); | ~~~~~~~~~~~~~^~ In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QLabel:1, from /home/kaliuser/work/Havoc/client/include/global.hpp:12, from /home/kaliuser/work/Havoc/client/src/UserInterface/Widgets/LootWidget.cc:1: /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qlabel.h:78:20: note: declared here 78 | const QPixmap *pixmap() const; // ### Qt 7: Remove function | ^~~~~~ [80%] Building CXX object CMakeFiles/Havoc.dir/src/UserInterface/Widgets/FileBrowser.cc.o [82%] Building CXX object CMakeFiles/Havoc.dir/src/UserInterface/Widgets/Teamserver.cc.o [84%] Building CXX object CMakeFiles/Havoc.dir/src/UserInterface/Widgets/Store.cc.o [86%] Building CXX object CMakeFiles/Havoc.dir/src/UserInterface/Widgets/ProcessList.cc.o [88%] Building CXX object CMakeFiles/Havoc.dir/src/UserInterface/SmallWidgets/EventViewer.cc.o [90%] Building CXX object CMakeFiles/Havoc.dir/src/Util/ColorText.cpp.o [92%] Building CXX object CMakeFiles/Havoc.dir/src/Util/Base64.cpp.o [94%] Building CXX object CMakeFiles/Havoc.dir/src/Util/Base.cpp.o [96%] Building CXX object CMakeFiles/Havoc.dir/Havoc_autogen/QYFM2Z2WYQ/qrc_Havoc.cpp.o [98%] Linking CXX executable /home/kaliuser/work/Havoc/client/Havoc /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.15.17: undefined reference to `__cxa_call_terminate@CXXABI_1.3.15' collect2: error: ld returned 1 exit status gmake[3]: *** [CMakeFiles/Havoc.dir/build.make:896:/home/kaliuser/work/Havoc/client/Havoc] 错误 1 gmake[2]: *** [CMakeFiles/Makefile2:90:CMakeFiles/Havoc.dir/all] 错误 2 gmake[1]: *** [Makefile:91:all] 错误 2 gmake[1]: 离开目录“/home/kaliuser/work/Havoc/client/Build” make: *** [makefile:35:client-build] 错误 2 **因此,您能告诉我如何处理吗?非常感谢**

内容来源: HavocFramework/Havoc