Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

Failure building 4.8.5 on RHEL4 with gcc-3.4.6

$
0
0
While attempting to build qt-4.8.5 on RHEL4 with gcc-3.4.6, the build fails with:   ... In file included from /opt/build/qt-everywhere-opensource-src-4.8.5/src/3rdparty/javascriptcore/JavaScriptCore/config.h:26,                  from ../3rdparty/javascriptcore/JavaScriptCore/jit/JITArithmetic.cpp:26: /opt/build/qt-everywhere-opensource-src-4.8.5/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:430:101: warning: "OLD_SOLARIS_SYSTEM_WITH_GCC" is not defined /opt/build/qt-everywhere-opensource-src-4.8.5/src/3rdparty/javascriptcore/JavaScriptCore/assembler/MacroAssemblerCodeRef.h: In constructor `QTJSC::FunctionPtr::FunctionPtr(FunctionType*) [with FunctionType = QTJSC::JSObject*()(void**)]': ../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubCall.h:42:   instantiated from here /opt/build/qt-everywhere-opensource-src-4.8.5/src/3rdparty/javascriptcore/JavaScriptCore/assembler/MacroAssemblerCodeRef.h:79: error: ISO C++ forbids casting between pointer-to-function and pointer-to-object /opt/build/qt-everywhere-opensource-src-4.8.5/src/3rdparty/javascriptcore/JavaScriptCore/assembler/MacroAssemblerCodeRef.h: In constructor `QTJSC::FunctionPtr::FunctionPtr(FunctionType*) [with FunctionType = QTJSC::JSPropertyNameIterator*()(void**)]': ../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubCall.h:50:   instantiated from here /opt/build/qt-everywhere-opensource-src-4.8.5/src/3rdparty/javascriptcore/JavaScriptCore/assembler/MacroAssemblerCodeRef.h:79: error: ISO C++ forbids casting between pointer-to-function and pointer-to-object /opt/build/qt-everywhere-opensource-src-4.8.5/src/3rdparty/javascriptcore/JavaScriptCore/assembler/MacroAssemblerCodeRef.h: In constructor `QTJSC::FunctionPtr::FunctionPtr(FunctionType*) [with FunctionType = void*()(void**)]': ../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubCall.h:58:   instantiated from here /opt/build/qt-everywhere-opensource-src-4.8.5/src/3rdparty/javascriptcore/JavaScriptCore/assembler/MacroAssemblerCodeRef.h:79: error: ISO C++ forbids casting between pointer-to-function and pointer-to-object /opt/build/qt-everywhere-opensource-src-4.8.5/src/3rdparty/javascriptcore/JavaScriptCore/assembler/MacroAssemblerCodeRef.h: In constructor `QTJSC::FunctionPtr::FunctionPtr(FunctionType*) [with FunctionType = int ()(void**)]': ../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubCall.h:66:   instantiated from here /opt/build/qt-everywhere-opensource-src-4.8.5/src/3rdparty/javascriptcore/JavaScriptCore/assembler/MacroAssemblerCodeRef.h:79: error: ISO C++ forbids casting between pointer-to-function and pointer-to-object /opt/build/qt-everywhere-opensource-src-4.8.5/src/3rdparty/javascriptcore/JavaScriptCore/assembler/MacroAssemblerCodeRef.h: In constructor `QTJSC::FunctionPtr::FunctionPtr(FunctionType*) [with FunctionType = bool ()(void**)]': ../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubCall.h:74:   instantiated from here /opt/build/qt-everywhere-opensource-src-4.8.5/src/3rdparty/javascriptcore/JavaScriptCore/assembler/MacroAssemblerCodeRef.h:79: error: ISO C++ forbids casting between pointer-to-function and pointer-to-object /opt/build/qt-everywhere-opensource-src-4.8.5/src/3rdparty/javascriptcore/JavaScriptCore/assembler/MacroAssemblerCodeRef.h: In constructor `QTJSC::FunctionPtr::FunctionPtr(FunctionType*) [with FunctionType = void ()(void**)]': ../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubCall.h:82:   instantiated from here /opt/build/qt-everywhere-opensource-src-4.8.5/src/3rdparty/javascriptcore/JavaScriptCore/assembler/MacroAssemblerCodeRef.h:79: error: ISO C++ forbids casting between pointer-to-function and pointer-to-object gmake[1]: *** [obj/release/JITArithmetic.o] Error 1 gmake[1]: Leaving directory `/opt/build/qt-everywhere-opensource-src-4.8.5/src/script' gmake: *** [sub-script-make_default-ordered] Error 2

Viewing all articles
Browse latest Browse all 2113

Trending Articles