Advertisement
Guest User

qt build error on ubuntu 13.10 with gcc 4.8.1 c++11 mode

a guest
Dec 17th, 2013
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 5.88 KB | None | 0 0
  1. kannan@linuxdesktop2:~/sources/qt-everywhere-opensource-src-5.2.0/qtscript/src/script$ make
  2. g++ -c -std=c++11 -I/opt/PostgreSQL/9.3/include -Wall -Wreturn-type -fno-strict-aliasing -Wcast-align -Wchar-subscripts -Wformat-security -Wreturn-type -Wno-unused-parameter -Wno-sign-compare -Wno-switch -Wno-switch-enum -Wundef -Wmissing-noreturn -Winit-self -fno-stack-protector -O2 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -D_REENTRANT -fPIC -DQT_NO_XKB -DJSC=QTJSC -Djscyyparse=qtjscyyparse -Djscyylex=qtjscyylex -Djscyyerror=qtjscyyerror -DWTF=QTWTF -DQT_NO_USING_NAMESPACE -DQLALR_NO_QSCRIPTGRAMMAR_DEBUG_INFO -DQT_BUILD_SCRIPT_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DBUILDING_QT__=1 -DNDEBUG -DLOG_DISABLED=1 -DBUILDING_QT__ -DBUILDING_JavaScriptCore -DBUILDING_WTF -DWTF_USE_JAVASCRIPTCORE_BINDINGS=1 -DWTF_CHANGES=1 -DNDEBUG -DJS_NO_EXPORT -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -I/home/kannan/sources/qt-everywhere-opensource-src-5.2.0/qtbase/mkspecs/linux-g++ -I. -I../3rdparty/javascriptcore/JavaScriptCore -I../3rdparty/javascriptcore -I../3rdparty/javascriptcore/JavaScriptCore/assembler -I../3rdparty/javascriptcore/JavaScriptCore/bytecode -I../3rdparty/javascriptcore/JavaScriptCore/bytecompiler -I../3rdparty/javascriptcore/JavaScriptCore/debugger -I../3rdparty/javascriptcore/JavaScriptCore/interpreter -I../3rdparty/javascriptcore/JavaScriptCore/jit -I../3rdparty/javascriptcore/JavaScriptCore/parser -I../3rdparty/javascriptcore/JavaScriptCore/pcre -I../3rdparty/javascriptcore/JavaScriptCore/profiler -I../3rdparty/javascriptcore/JavaScriptCore/runtime -I../3rdparty/javascriptcore/JavaScriptCore/wrec -I../3rdparty/javascriptcore/JavaScriptCore/wtf -I../3rdparty/javascriptcore/JavaScriptCore/wtf/symbian -I../3rdparty/javascriptcore/JavaScriptCore/wtf/unicode -I../3rdparty/javascriptcore/JavaScriptCore/yarr -I../3rdparty/javascriptcore/JavaScriptCore/API -I../3rdparty/javascriptcore/JavaScriptCore/ForwardingHeaders -I../3rdparty/javascriptcore/JavaScriptCore/generated -I../../include -I../../include/QtScript -I../../include/QtScript/5.2.0 -I../../include/QtScript/5.2.0/QtScript -I/home/kannan/sources/qt-everywhere-opensource-src-5.2.0/qtscript/src/3rdparty/javascriptcore/WebKit/qt/Api -I../3rdparty/javascriptcore/JavaScriptCore/pcre -I/home/kannan/sources/qt-everywhere-opensource-src-5.2.0/qtscript/src/3rdparty/javascriptcore/JavaScriptCore/tmp -I../3rdparty/javascriptcore/JavaScriptCore -I../3rdparty/javascriptcore/JavaScriptCore/parser -I../3rdparty/javascriptcore/JavaScriptCore/bytecompiler -I../3rdparty/javascriptcore/JavaScriptCore/debugger -I../3rdparty/javascriptcore/JavaScriptCore/runtime -I../3rdparty/javascriptcore/JavaScriptCore/wtf -I/home/kannan/sources/qt-everywhere-opensource-src-5.2.0/qtscript/src/script/../3rdparty/javascriptcore/JavaScriptCore/unicode -I../3rdparty/javascriptcore/JavaScriptCore/interpreter -I../3rdparty/javascriptcore/JavaScriptCore/jit -I../3rdparty/javascriptcore/JavaScriptCore/profiler -I../3rdparty/javascriptcore/JavaScriptCore/wrec -I../3rdparty/javascriptcore/JavaScriptCore/API -I../3rdparty/javascriptcore/JavaScriptCore/bytecode -I../3rdparty/javascriptcore/JavaScriptCore/assembler -I../3rdparty/javascriptcore/JavaScriptCore/generated -I. -Iparser -I/home/kannan/sources/qt-everywhere-opensource-src-5.2.0/qtbase/include/QtCore/5.2.0 -I/home/kannan/sources/qt-everywhere-opensource-src-5.2.0/qtbase/include/QtCore/5.2.0/QtCore -I/home/kannan/sources/qt-everywhere-opensource-src-5.2.0/qtbase/include -I/home/kannan/sources/qt-everywhere-opensource-src-5.2.0/qtbase/include/QtCore -I.moc -o obj/release/pcre_exec.o ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_exec.cpp
  3. In file included from ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastAllocBase.h:84:0,
  4.                  from ../3rdparty/javascriptcore/JavaScriptCore/wtf/Vector.h:24,
  5.                  from ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_exec.cpp:50:
  6. ../3rdparty/javascriptcore/JavaScriptCore/wtf/TypeTraits.h:173:69: error: ‘std::tr1’ has not been declared
  7.      template<typename T> struct HasTrivialConstructor : public std::tr1::has_trivial_constructor<T> { };
  8.                                                                      ^
  9. ../3rdparty/javascriptcore/JavaScriptCore/wtf/TypeTraits.h:173:74: error: expected ‘{’ before ‘has_trivial_constructor’
  10.      template<typename T> struct HasTrivialConstructor : public std::tr1::has_trivial_constructor<T> { };
  11.                                                                           ^
  12. ../3rdparty/javascriptcore/JavaScriptCore/wtf/TypeTraits.h:173:97: error: expected initializer before ‘<’ token
  13.      template<typename T> struct HasTrivialConstructor : public std::tr1::has_trivial_constructor<T> { };
  14.                                                                                                  ^
  15. ../3rdparty/javascriptcore/JavaScriptCore/wtf/TypeTraits.h:174:68: error: ‘std::tr1’ has not been declared
  16.      template<typename T> struct HasTrivialDestructor : public std::tr1::has_trivial_destructor<T> { };
  17.                                                                     ^
  18. ../3rdparty/javascriptcore/JavaScriptCore/wtf/TypeTraits.h:174:73: error: expected ‘{’ before ‘has_trivial_destructor’
  19.      template<typename T> struct HasTrivialDestructor : public std::tr1::has_trivial_destructor<T> { };
  20.                                                                          ^
  21. ../3rdparty/javascriptcore/JavaScriptCore/wtf/TypeTraits.h:174:95: error: expected initializer before ‘<’ token
  22.      template<typename T> struct HasTrivialDestructor : public std::tr1::has_trivial_destructor<T> { };
  23.                                                                                                ^
  24. make: *** [obj/release/pcre_exec.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement