meine O2 mit 6.5.22 soll Qt 4.5.3 bauen. Das Ergebnis sieht dann so aus:
-------------------------------------------------------------------------------------------------------------------------------
cd tools/bootstrap/ && make -f Makefile
make[1]: Entering directory `/usr/local/qt/src/tools/bootstrap'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/usr/local/qt/src/tools/bootstrap'
cd tools/moc/ && make -f Makefile
make[1]: Entering directory `/usr/local/qt/src/tools/moc'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/usr/local/qt/src/tools/moc'
cd tools/rcc/ && make -f Makefile
make[1]: Entering directory `/usr/local/qt/src/tools/rcc'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/usr/local/qt/src/tools/rcc'
cd tools/uic/ && make -f Makefile
make[1]: Entering directory `/usr/local/qt/src/tools/uic'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/usr/local/qt/src/tools/uic'
cd corelib/ && make -f Makefile
make[1]: Entering directory `/usr/local/qt/src/corelib'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/usr/local/qt/src/corelib'
cd xml/ && make -f Makefile
make[1]: Entering directory `/usr/local/qt/src/xml'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/usr/local/qt/src/xml'
cd network/ && make -f Makefile
make[1]: Entering directory `/usr/local/qt/src/network'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/usr/local/qt/src/network'
cd gui/ && make -f Makefile
make[1]: Entering directory `/usr/local/qt/src/gui'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/usr/local/qt/src/gui'
cd sql/ && make -f Makefile
make[1]: Entering directory `/usr/local/qt/src/sql'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/usr/local/qt/src/sql'
cd script/ && make -f Makefile
make[1]: Entering directory `/usr/local/qt/src/script'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/usr/local/qt/src/script'
cd testlib/ && make -f Makefile
make[1]: Entering directory `/usr/local/qt/src/testlib'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/usr/local/qt/src/testlib'
cd qt3support/ && make -f Makefile
make[1]: Entering directory `/usr/local/qt/src/qt3support'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/usr/local/qt/src/qt3support'
cd tools/uic3/ && make -f Makefile
make[1]: Entering directory `/usr/local/qt/src/tools/uic3'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/usr/local/qt/src/tools/uic3'
cd opengl/ && make -f Makefile
make[1]: Entering directory `/usr/local/qt/src/opengl'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/usr/local/qt/src/opengl'
cd svg/ && make -f Makefile
make[1]: Entering directory `/usr/local/qt/src/svg'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/usr/local/qt/src/svg'
cd 3rdparty/webkit/WebCore/ && make -f Makefile
make[1]: Entering directory `/usr/local/qt/src/3rdparty/webkit/WebCore'
g++ -c -Wreturn-type -fno-strict-aliasing -O2 -I/usr/local/include -fPIC -DQT_SHARED -DBUILDING_QT__=1 -DUSE_SYSTEM_MALLOC -DNDEBUG -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DBUILD_WEBKIT -DENABLE_OFFLINE_WEB_APPLICATIONS=1 -DENABLE_DOM_STORAGE=1 -DENABLE_ICONDATABASE=1 -DENABLE_DATABASE=1 -DENABLE_DASHBOARD_SUPPORT=0 -DENABLE_XPATH=1 -DENABLE_WML=0 -DENABLE_SVG=1 -DENABLE_SVG_FONTS=1 -DENABLE_SVG_FILTERS=1 -DENABLE_SVG_FOREIGN_OBJECT=1 -DENABLE_SVG_ANIMATION=1 -DENABLE_SVG_AS_IMAGE=1 -DENABLE_SVG_USE=1 -DENABLE_VIDEO=0 -DENABLE_NETSCAPE_PLUGIN_API=1 -DWTF_USE_JAVASCRIPTCORE_BINDINGS=1 -DWTF_CHANGES=1 -DBUILDING_QT__ -DXP_UNIX -DSQLITE_CORE -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_OMIT_COMPLETE -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../../../mkspecs/irix-g++ -I. -I../../../../include/QtCore -I../../../../include/QtNetwork -I../../../../include/QtGui -I../../../../include -Istorage -I../WebKit/qt/Api -I../../../../include/QtWebKit -I.rcc/release-shared -I. -I../JavaScriptCore -I../JavaScriptCore/ForwardingHeaders -I../JavaScriptCore/interpreter -I../JavaScriptCore/bytecode -I../JavaScriptCore/debugger -I../JavaScriptCore/parser -I../JavaScriptCore/runtime -I/usr/local/qt/src/3rdparty/webkit/WebCore/../JavaScriptCore/bindings -I../JavaScriptCore/wrec -I../JavaScriptCore/jit -I../JavaScriptCore/wtf -Itmp -I../JavaScriptCore -I../JavaScriptCore/parser -I../JavaScriptCore/bytecompiler -I../JavaScriptCore/debugger -I../JavaScriptCore/runtime -I../JavaScriptCore/wtf -I../JavaScriptCore/wtf/unicode -I../JavaScriptCore/interpreter -I../JavaScriptCore/jit -I../JavaScriptCore/profiler -I../JavaScriptCore/wrec -I../JavaScriptCore/API -I../../webkit -I../JavaScriptCore/ForwardingHeaders -I../JavaScriptCore/bytecode -I../JavaScriptCore/assembler -I../JavaScriptCore/pcre -I/usr/local/qt/src/3rdparty/webkit/WebKitBuild/Debug/JavaScriptCore/tmp -Iplatform/qt -Iplatform/network/qt -Iplatform/graphics/filters -Iplatform/graphics/transforms -Iplatform/graphics/qt -Isvg/graphics/qt -Iloader -Ipage/qt -I../WebKit/qt/WebCoreSupport -I../WebKit/qt/Api -Ibridge/qt -I. -IForwardingHeaders -I../../webkit -Iplatform -Iplatform/animation -Iplatform/network -Iplatform/graphics -Isvg/animation -Isvg/graphics -Isvg/graphics/filters -Iplatform/sql -Iplatform/text -Iloader -Iloader/appcache -Iloader/archive -Iloader/icon -Icss -Idom -Ipage -Ipage/animation -Ibridge -Iediting -Irendering -Irendering/style -Ihistory -Iinspector -Ixml -Ihtml -Iwml -Ibindings/js -Isvg -Iplatform/image-decoders -Iplugins -Ibridge -Ibridge/c -Ibridge/qt -Igenerated -I../../sqlite -I.moc/release-shared -o .obj/release-shared/HashTable.o ../JavaScriptCore/wtf/HashTable.cpp
In file included from ../JavaScriptCore/wtf/HashTable.h:28,
from ../JavaScriptCore/wtf/HashTable.cpp:21:
../JavaScriptCore/wtf/Threading.h: In function `void WTF::atomicIncrement(int volatile*)':
../JavaScriptCore/wtf/Threading.h:199: error: invalid conversion from `int volatile*' to `volatile _Atomic_word*'
../JavaScriptCore/wtf/Threading.h:199: error: initializing argument 1 of `void __gnu_cxx::__atomic_add(volatile _Atomic_word*, int)'
../JavaScriptCore/wtf/Threading.h: In function `int WTF::atomicDecrement(int volatile*)':
../JavaScriptCore/wtf/Threading.h:200: error: invalid conversion from `int volatile*' to `volatile _Atomic_word*'
/usr/local/lib/gcc/mips-sgi-irix6.5/3.4.6/../../../../include/c++/3.4.6/bits/atomicity.h:39: error: too many arguments to function `_Atomic_word __gnu_cxx::__exchange_and_add(volatile _Atomic_word*, int)'
../JavaScriptCore/wtf/Threading.h:200: error: at this point in file
make[1]: *** [.obj/release-shared/HashTable.o] Error 1
make[1]: Leaving directory `/usr/local/qt/src/3rdparty/webkit/WebCore'
make: *** [sub-webkit-make_default] Error 2
-------------------------------------------------------------------------------------------------------------------------------
Ich habe dann mit den verschiedenen Castings rumgespielt, wobei ich gestehe, nicht wirklich durchzublicken. dynamic_cast liefert z.B. einen Error wegen der constness.
Von daher: HILFEEEE!!!!