+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++ ERROR WHILE BUILDING openwalnut +++++++++++++++++++ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ In file included from /SCR/Qt-5.3.1/include/QtCore/qnamespace.h:45:0, from /SCR/Qt-5.3.1/include/QtCore/qobjectdefs.h:49, from /SCR/Qt-5.3.1/include/QtCore/qobject.h:48, from /SCR/Qt-5.3.1/include/QtWidgets/qlayout.h:45, from /SCR/Qt-5.3.1/include/QtWidgets/qgridlayout.h:45, from /SCR/Qt-5.3.1/include/QtWidgets/QGridLayout:1, from /home/raid2/moreno/OpenWalnutQT5/OpenWalnut/src/qt5gui/abstractUI/WUIQtGridWidget.cpp:27: /SCR/Qt-5.3.1/include/QtCore/qglobal.h:1030:4: error: #error "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC or -fPIE." In file included from /SCR/Qt-5.3.1/include/QtCore/qnamespace.h:45:0, from /SCR/Qt-5.3.1/include/QtCore/qobjectdefs.h:49, from /SCR/Qt-5.3.1/include/QtCore/qobject.h:48, from /SCR/Qt-5.3.1/include/QtWidgets/qlayout.h:45, from /SCR/Qt-5.3.1/include/QtWidgets/qgridlayout.h:45, from /SCR/Qt-5.3.1/include/QtWidgets/QGridLayout:1, from /home/raid2/moreno/OpenWalnutQT5/OpenWalnut/src/qt5gui/abstractUI/WUIQtPropertyGroupWidget.cpp:27: /SCR/Qt-5.3.1/include/QtCore/qglobal.h:1030:4: error: #error "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC or -fPIE." In file included from /SCR/Qt-5.3.1/include/QtCore/qcoreapplication.h:45:0, from /SCR/Qt-5.3.1/include/QtWidgets/qapplication.h:45, from /SCR/Qt-5.3.1/include/QtWidgets/QApplication:1, from /home/raid2/moreno/OpenWalnutQT5/OpenWalnut/src/qt5gui/abstractUI/../WQtGui.h:34, from /home/raid2/moreno/OpenWalnutQT5/OpenWalnut/src/qt5gui/abstractUI/WUIQtWidgetBase.cpp:29: /SCR/Qt-5.3.1/include/QtCore/qglobal.h:1030:4: error: #error "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC or -fPIE." In file included from /SCR/Qt-5.3.1/include/QtCore/qnamespace.h:45:0, from /SCR/Qt-5.3.1/include/QtGui/qkeysequence.h:45, from /SCR/Qt-5.3.1/include/QtWidgets/qaction.h:45, from /SCR/Qt-5.3.1/include/QtWidgets/QAction:1, from /home/raid2/moreno/OpenWalnutQT5/OpenWalnut/src/qt5gui/abstractUI/../guiElements/WQtPropertyTriggerAction.h:28, from /home/raid2/moreno/OpenWalnutQT5/OpenWalnut/src/qt5gui/abstractUI/WUIQtViewWidget.cpp:34: /SCR/Qt-5.3.1/include/QtCore/qglobal.h:1030:4: error: #error "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC or -fPIE." make[2]: *** [qt5gui/CMakeFiles/openwalnut-qt5.dir/abstractUI/WUIQtViewWidget.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [qt5gui/CMakeFiles/openwalnut-qt5.dir/abstractUI/WUIQtGridWidget.cpp.o] Error 1 make[2]: *** [qt5gui/CMakeFiles/openwalnut-qt5.dir/abstractUI/WUIQtWidgetBase.cpp.o] Error 1 make[2]: *** [qt5gui/CMakeFiles/openwalnut-qt5.dir/abstractUI/WUIQtPropertyGroupWidget.cpp.o] Error 1 make[1]: *** [qt5gui/CMakeFiles/openwalnut-qt5.dir/all] Error 2 make: *** [all] Error 2 20:17:17: The process "/usr/bin/make" exited with code 2. Error while building project OpenWalnut (target: Desktop) When executing build step 'Make' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++ CODE THAT STOPS BUILDING PROCEDURE (located in /scr planck1/Qt-5.3.1/include/QtCore/qglobal.h) +++++ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ #if !defined(QT_BOOTSTRAPPED) && defined(QT_REDUCE_RELOCATIONS) && defined(__ELF__) && !defined(__PIC__) && !defined(__PIE__) # error "You must build your code with position independent code if Qt was built with -reduce-relocations. "\ "Compile your code with -fPIC or -fPIE." #endif +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++ ERROR WHILE EXECUTING OPENWALNUT WHEN PREVIOUS CODE IS COMMENTED BEFORE BUILDING +++++++++++++++++++ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ moreno@planck:~/OpenWalnutQT5/OpenWalnut/build/bin/>./openwalnut OpenWalnut -- Version: 1.4.0rc1+hg1033bbfe50cd ( http://www.openwalnut.org ) Copyright 2009-2013 OpenWalnut Community, BSV@Uni-Leipzig and CNCF@MPI-CBS For more information see http://www.openwalnut.org/copying This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under the terms of the GNU Lesser General Public License. You should have received a copy of the GNU Lesser General Public License along with OpenWalnut. If not, see . Written by the OpenWalnut Community, BSV@Uni-Leipzig and CNCF@MPI-CBS. *INFO [Logger] Initalizing Logger *INFO [Logger] =============================================================================== *INFO [Logger] = Starting Log Session = *INFO [Logger] =============================================================================== *INFO [Walnut] Using the file "/home/raid2/moreno/OpenWalnutQT5/OpenWalnut/build/bin/openwalnut.log" for logging. *INFO [Walnut] Version: 1.4.0rc1+hg1033bbfe50cd This application failed to start because it could not find or load the Qt platform plugin "xcb". Reinstalling the application may fix this problem. ./openwalnut: line 52: 12691 Aborted (core dumped) $runner $BINDIR/openwalnut-qt5 "$@"