https://bugs.kde.org/show_bug.cgi?id=426088
Bug ID: 426088 Summary: Compile error (kdesrc-build) Product: ksudoku Version: unspecified Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: iandw...@gmail.com Reporter: justin.zo...@gmail.com CC: kde-games-b...@kde.org Target Milestone: --- Full build of kdesrc-build, errors: ``` # kdesrc-build running: 'gmake' '-j' '8' # from directory: /home/justin/kde/build/ksudoku [ 2%] Automatic MOC for target ksudoku_logic [ 5%] Built target doc-index-cache-bz2 [ 5%] Built target ksudoku_logic_autogen [ 15%] Built target ksudoku_logic [ 17%] Automatic MOC for target ksudoku_gui [ 17%] Built target ksudoku_gui_autogen [ 20%] Building CXX object src/gui/CMakeFiles/ksudoku_gui.dir/ksudoku_gui_autogen/mocs_compilation.cpp.o [ 23%] Building CXX object src/gui/CMakeFiles/ksudoku_gui.dir/welcomescreen.cpp.o [ 25%] Building CXX object src/gui/CMakeFiles/ksudoku_gui.dir/puzzleprinter.cpp.o [ 28%] Building CXX object src/gui/CMakeFiles/ksudoku_gui.dir/settings.cpp.o [ 30%] Building CXX object src/gui/CMakeFiles/ksudoku_gui.dir/views/ksview.cpp.o [ 33%] Building CXX object src/gui/CMakeFiles/ksudoku_gui.dir/views/gameactions.cpp.o [ 35%] Building CXX object src/gui/CMakeFiles/ksudoku_gui.dir/views/renderer.cpp.o [ 38%] Building CXX object src/gui/CMakeFiles/ksudoku_gui.dir/views/valuelistwidget.cpp.o In file included from /home/justin/kde/src/ksudoku/src/gui/views/roxdokuview.h:31, from /home/justin/kde/src/ksudoku/src/gui/views/ksview.cpp:33: /home/justin/kde/src/ksudoku/src/gui/views/ArcBall.h:31: warning: "assert" redefined 31 | # define assert(x) { } | In file included from /home/justin/kde/qt5/include/QtCore/qglobal.h:50, from /home/justin/kde/qt5/include/QtCore/qnamespace.h:43, from /home/justin/kde/qt5/include/QtCore/qobjectdefs.h:48, from /home/justin/kde/qt5/include/QtCore/qobject.h:46, from /home/justin/kde/qt5/include/QtCore/QObject:1, from /home/justin/kde/src/ksudoku/src/gui/ksudokugame.h:26, from /home/justin/kde/src/ksudoku/src/gui/views/ksview.h:26, from /home/justin/kde/src/ksudoku/src/gui/views/ksview.cpp:23: /usr/include/assert.h:89: note: this is the location of the previous definition 89 | # define assert(expr) \ | In file included from /home/justin/kde/src/ksudoku/src/gui/views/roxdokuview.h:31, from /home/justin/kde/build/ksudoku/src/gui/ksudoku_gui_autogen/DWW7M6GQBY/moc_roxdokuview.cpp:10, from /home/justin/kde/build/ksudoku/src/gui/ksudoku_gui_autogen/mocs_compilation.cpp:9: /home/justin/kde/src/ksudoku/src/gui/views/ArcBall.h:31: warning: "assert" redefined 31 | # define assert(x) { } | In file included from /home/justin/kde/qt5/include/QtCore/qglobal.h:50, from /home/justin/kde/qt5/include/QtCore/qalgorithms.h:43, from /home/justin/kde/qt5/include/QtCore/qlist.h:43, from /home/justin/kde/qt5/include/QtCore/QList:1, from /home/justin/kde/src/ksudoku/src/gui/config.h:23, from /home/justin/kde/build/ksudoku/src/gui/ksudoku_gui_autogen/EWIEGA46WW/moc_config.cpp:10, from /home/justin/kde/build/ksudoku/src/gui/ksudoku_gui_autogen/mocs_compilation.cpp:2: /usr/include/assert.h:89: note: this is the location of the previous definition 89 | # define assert(expr) \ | [ 41%] Building CXX object src/gui/CMakeFiles/ksudoku_gui.dir/views/view2d.cpp.o [ 43%] Building CXX object src/gui/CMakeFiles/ksudoku_gui.dir/views/ArcBall.cpp.o [ 46%] Building CXX object src/gui/CMakeFiles/ksudoku_gui.dir/views/roxdokuview.cpp.o In file included from /home/justin/kde/src/ksudoku/src/gui/views/roxdokuview.h:31, from /home/justin/kde/src/ksudoku/src/gui/views/roxdokuview.cpp:23: /home/justin/kde/src/ksudoku/src/gui/views/ArcBall.h:31: warning: "assert" redefined 31 | # define assert(x) { } | In file included from /home/justin/kde/qt5/include/QtCore/qglobal.h:50, from /home/justin/kde/qt5/include/QtGui/qtguiglobal.h:43, from /home/justin/kde/qt5/include/QtGui/qopengl.h:43, from /home/justin/kde/qt5/include/QtOpenGL/qgl.h:45, from /home/justin/kde/qt5/include/QtOpenGL/QGL:1, from /home/justin/kde/src/ksudoku/src/gui/views/roxdokuview.h:26, from /home/justin/kde/src/ksudoku/src/gui/views/roxdokuview.cpp:23: /usr/include/assert.h:89: note: this is the location of the previous definition 89 | # define assert(expr) \ | [ 48%] Linking CXX static library ../../lib/libksudoku_gui.a [ 74%] Built target ksudoku_gui Scanning dependencies of target ksudoku_autogen [ 76%] Automatic MOC for target ksudoku [ 76%] Built target ksudoku_autogen Scanning dependencies of target ksudoku [ 82%] Building CXX object src/CMakeFiles/ksudoku.dir/ksudoku_autogen/mocs_compilation.cpp.o [ 82%] Building CXX object src/CMakeFiles/ksudoku.dir/generator/sudokuboard.cpp.o [ 84%] Building CXX object src/CMakeFiles/ksudoku.dir/main.cpp.o [ 87%] Building CXX object src/CMakeFiles/ksudoku.dir/generator/state.cpp.o [ 89%] Building CXX object src/CMakeFiles/ksudoku.dir/generator/dlxsolver.cpp.o [ 92%] Building CXX object src/CMakeFiles/ksudoku.dir/generator/cagegenerator.cpp.o [ 94%] Building CXX object src/CMakeFiles/ksudoku.dir/generator/mathdokugenerator.cpp.o [ 97%] Building CXX object src/CMakeFiles/ksudoku.dir/ksudoku_logging.cpp.o /home/justin/kde/src/ksudoku/src/generator/cagegenerator.cpp: In member function ‘int CageGenerator::makeCages(SKGraph*, QList<int>*, int, int, bool, int)’: /home/justin/kde/src/ksudoku/src/generator/cagegenerator.cpp:48:48: warning: unused parameter ‘maxValue’ [-Wunused-parameter] 48 | int maxSize, int maxValue, | ~~~~^~~~~~~~ /home/justin/kde/src/ksudoku/src/generator/sudokuboard.cpp: In member function ‘BoardContents SudokuBoard::insertValues(const BoardContents&, Difficulty, Symmetry)’: /home/justin/kde/src/ksudoku/src/generator/sudokuboard.cpp:445:9: warning: variable ‘value’ set but not used [-Wunused-but-set-variable] 445 | int value = 0; | ^~~~~ /home/justin/kde/src/ksudoku/src/main.cpp: In function ‘int main(int, char**)’: /home/justin/kde/src/ksudoku/src/main.cpp:81:24: warning: ‘static QHash<QString, QByteArray>* KConfigDialogManager::changedMap()’ is deprecated: Since 5.32. See API docs [-Wdeprecated-declarations] 81 | KConfigDialogManager::changedMap()->insert(QStringLiteral("ksudoku::SymbolConfigListWidget"), SIGNAL(itemChanged(QListWidgetItem*))); | ^~~~~~~~~~ In file included from /home/justin/kde/usr/include/KF5/KConfigWidgets/KConfigDialogManager:1, from /home/justin/kde/src/ksudoku/src/main.cpp:29: /home/justin/kde/usr/include/KF5/KConfigWidgets/kconfigdialogmanager.h:283:40: note: declared here 283 | static QHash<QString, QByteArray> *changedMap(); | ^~~~~~~~~~ /home/justin/kde/src/ksudoku/src/main.cpp:81:35: warning: ‘static QHash<QString, QByteArray>* KConfigDialogManager::changedMap()’ is deprecated: Since 5.32. See API docs [-Wdeprecated-declarations] 81 | KConfigDialogManager::changedMap()->insert(QStringLiteral("ksudoku::SymbolConfigListWidget"), SIGNAL(itemChanged(QListWidgetItem*))); | ^ In file included from /home/justin/kde/usr/include/KF5/KConfigWidgets/KConfigDialogManager:1, from /home/justin/kde/src/ksudoku/src/main.cpp:29: /home/justin/kde/usr/include/KF5/KConfigWidgets/kconfigdialogmanager.h:283:40: note: declared here 283 | static QHash<QString, QByteArray> *changedMap(); | ^~~~~~~~~~ /home/justin/kde/src/ksudoku/src/main.cpp:81:35: warning: ‘static QHash<QString, QByteArray>* KConfigDialogManager::changedMap()’ is deprecated: Since 5.32. See API docs [-Wdeprecated-declarations] 81 | KConfigDialogManager::changedMap()->insert(QStringLiteral("ksudoku::SymbolConfigListWidget"), SIGNAL(itemChanged(QListWidgetItem*))); | ^ In file included from /home/justin/kde/usr/include/KF5/KConfigWidgets/KConfigDialogManager:1, from /home/justin/kde/src/ksudoku/src/main.cpp:29: /home/justin/kde/usr/include/KF5/KConfigWidgets/kconfigdialogmanager.h:283:40: note: declared here 283 | static QHash<QString, QByteArray> *changedMap(); | ^~~~~~~~~~ /home/justin/kde/src/ksudoku/src/generator/sudokuboard.cpp: In member function ‘int SudokuBoard::getSymmetricIndices(int, Symmetry, int, int*)’: /home/justin/kde/src/ksudoku/src/generator/sudokuboard.cpp:1073:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 1073 | col = lr; | ~~~~^~~~ /home/justin/kde/src/ksudoku/src/generator/sudokuboard.cpp:1075:9: note: here 1075 | case DIAGONAL_2: | ^~~~ [100%] Linking CXX executable ../bin/ksudoku /usr/bin/ld: ../lib/libksudoku_gui.a(roxdokuview.cpp.o): in function `ksudoku::RoxdokuView::resizeGL(int, int)': /home/justin/kde/src/ksudoku/src/gui/views/roxdokuview.cpp:178: undefined reference to `gluPerspective' /usr/bin/ld: ../lib/libksudoku_gui.a(roxdokuview.cpp.o): in function `ksudoku::RoxdokuView::Selection(int, int)': /home/justin/kde/src/ksudoku/src/gui/views/roxdokuview.cpp:219: undefined reference to `gluPickMatrix' /usr/bin/ld: /home/justin/kde/src/ksudoku/src/gui/views/roxdokuview.cpp:220: undefined reference to `gluPerspective' collect2: error: ld returned 1 exit status gmake[2]: *** [src/CMakeFiles/ksudoku.dir/build.make:212: bin/ksudoku] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:279: src/CMakeFiles/ksudoku.dir/all] Error 2 gmake: *** [Makefile:161: all] Error 2 ``` -- You are receiving this mail because: You are watching all bug changes.