Opened 10 years ago

Closed 7 years ago

#3122 closed defect (wontfix)

Error compiling from svn (cc1plus: error: unrecognized command line option "-fstack-protector-strong")

Reported by: Andrea.Amorosi76@… Owned by: somebody
Priority: high Milestone: Future
Component: *unknown* Version: trunk
Keywords: Cc:

Description

qmake-qt4 OMOptimBasis.pro
WARNING: /home/andreak/tmp/yaourt-tmp-andreak/aur-openmodelica-svn/src/openmodelica/OMOptimBasis/build/OMOptimBasis.pro:5: Unable to find file for inclusion ../vars.pri
make -f Makefile
make[3]: ingresso nella directory "/home/andreak/tmp/yaourt-tmp-andreak/aur-openmodelica-svn/src/openmodelica/OMOptimBasis/build"
/usr/lib/qt4/bin/uic ../GUI/Widgets/WidgetFilesList.ui -o release/generatedfiles/ui/ui_WidgetFilesList.h
/usr/lib/qt4/bin/uic ../GUI/Widgets/WidgetMOItem.ui -o release/generatedfiles/ui/ui_WidgetMOItem.h
/usr/lib/qt4/bin/uic ../GUI/Tabs/TabGeneric.ui -o release/generatedfiles/ui/ui_TabGeneric.h
/usr/lib/qt4/bin/uic ../GUI/Tabs/TabProjectBase.ui -o release/generatedfiles/ui/ui_TabProjectBase.h
/usr/lib/qt4/bin/uic ../GUI/Widgets/WidgetProjectBaseInfos.ui -o release/generatedfiles/ui/ui_WidgetProjectBaseInfos.h
/usr/lib/qt4/bin/uic ../GUI/Widgets/WidgetSelectVars.ui -o release/generatedfiles/ui/ui_WidgetSelectVars.h
/usr/lib/qt4/bin/uic ../GUI/Dialogs/NewProjectBaseForm.ui -o release/generatedfiles/ui/ui_NewProjectBaseForm.h
/usr/lib/qt4/bin/uic ../GUI/Widgets/WidgetMOItemsList.ui -o release/generatedfiles/ui/ui_WidgetMOItemsList.h
/usr/lib/qt4/bin/uic ../GUI/Dialogs/ScriptTextDlg.ui -o release/generatedfiles/ui/ui_ScriptTextDlg.h
/usr/lib/qt4/bin/uic ../GUI/Dialogs/HelpDlg.ui -o release/generatedfiles/ui/ui_HelpDlg.h
/usr/lib/qt4/bin/uic ../GUI/ConsoleWindow.ui -o release/generatedfiles/ui/ui_ConsoleWindow.h
g++-4.4 -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -w -fPIC -D_REENTRANT -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -Irelease/generatedfiles/ui -I../../3rdParty/qwt/src -I. -I.. -I../GUI -I../GUI/Widgets -I../GUI/Tools -I../GUI/Dialogs -I../Units -I../Tools -I../Infos -I../FileData -I../Problems -Irelease/generatedfiles/moc -Irelease/generatedfiles/ui -o release/generatedfiles/Variables.o ../Variables.cpp
cc1plus: error: unrecognized command line option "-fstack-protector-strong"
Makefile:901: set di istruzioni per l'obiettivo "release/generatedfiles/Variables.o" non riuscito
make[3]: * [release/generatedfiles/Variables.o] Errore 1
make[3]: uscita dalla directory "/home/andreak/tmp/yaourt-tmp-andreak/aur-openmodelica-svn/src/openmodelica/OMOptimBasis/build"
Makefile.unix:15: set di istruzioni per l'obiettivo "OMOptimBasis" non riuscito
make[2]:
* [OMOptimBasis] Errore 2
make[2]: uscita dalla directory "/home/andreak/tmp/yaourt-tmp-andreak/aur-openmodelica-svn/src/openmodelica/OMOptimBasis/build"
Makefile:127: set di istruzioni per l'obiettivo "omoptimbasis" non riuscito
make[1]: * [omoptimbasis] Errore 2
make[1]: uscita dalla directory "/home/andreak/tmp/yaourt-tmp-andreak/aur-openmodelica-svn/src/openmodelica"
Makefile:2: set di istruzioni per l'obiettivo "all" non riuscito
make:
* [all] Errore 2

Change History (1)

comment:1 by Francesco Casella, 7 years ago

Resolution: wontfix
Status: newclosed

There's been a lot of evolution with the QT libraries in OMC, so I guess this ticket is obsolete.

Feel free to reopen it if you still have such problems

Note: See TracTickets for help on using tickets.