[Qt-interest] FW: QT build problem

Orian Patterson orianpatterson at hotmail.com
Wed Jan 13 07:15:27 CET 2010











Hello I'm trying to build Qt ,qt-everywhere-opensource-src-4.6.0.tar on macosX 10.6.2 with the driver for Mysql enabled but  I get the following errors:

Build type:    macx-g++
Architecture:  macosx ( x86 )
Using framework: Carbon

g++ -c -include .pch/debug-shared/QtWebKit_debug -pipe -I/Volumes/BIGMAMA/usr/local/mysql-5.0.89-osx10.5-x86/include -Xarch_i386 -mmacosx-version-min=10.4 -Wreturn-type -fno-strict-aliasing -fconstant-cfstrings -gdwarf-2 -arch i386 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DBUILDING_QT__=1 -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DNDEBUG -DBUILD_WEBKIT -DENABLE_JAVASCRIPT_DEBUGGER=1 -DENABLE_DATABASE=1 -DENABLE_EVENTSOURCE=1 -DENABLE_OFFLINE_WEB_APPLICATIONS=1 -DENABLE_DOM_STORAGE=1 -DENABLE_ICONDATABASE=1 -DENABLE_CHANNEL_MESSAGING=1 -DENABLE_ORIENTATION_EVENTS=0 -DENABLE_SQLITE=1 -DENABLE_DASHBOARD_SUPPORT=0 -DENABLE_FILTERS=0 -DENABLE_XPATH=1 -DENABLE_WCSS=0 -DENABLE_WML=0 -DENABLE_SHARED_WORKERS=1 -DENABLE_WORKERS=1 -DENABLE_XHTMLMP=0 -DENABLE_DATAGRID=1 -DENABLE_SVG=1 -DENABLE_SVG_FONTS=1 -DENABLE_SVG_FOREIGN_OBJECT=1 -DENABLE_SVG_ANIMATION=1 -DENABLE_SVG_AS_IMAGE=1 -DENABLE_SVG_USE=1 -DENABLE_RUBY=1 -DENABLE_VIDEO=1 -DENABLE_DATALIST=1 -DENABLE_NETSCAPE_PLUGIN_API=1 -DENABLE_WEB_SOCKETS=1 -DENABLE_XSLT=1 -DWTF_USE_JAVASCRIPTCORE_BINDINGS=1 -DWTF_CHANGES=1 -DBUILDING_QT__ -DBUILDING_JavaScriptCore -DBUILDING_WTF -DSQLITE_CORE -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_OMIT_COMPLETE -DQT_XMLPATTERNS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../../../mkspecs/macx-g++ -I. -I../../../../include/QtCore -I../../../../include/QtNetwork -I../../../../include/QtGui -I../../../../include/QtXmlPatterns -I../../../../include -Ibridge/qt -Ipage/qt -Iplatform/graphics/qt -Iplatform/network/qt -Iplatform/qt -I../WebKit/qt/WebCoreSupport -I. -Iaccessibility -Ibindings/js -Ibridge -Ibridge/c -Icss -Idom -Idom/default -Iediting -Ihistory -Ihtml -Ihtml/canvas -Iinspector -Iloader -Iloader/appcache -Iloader/archive -Iloader/icon -Inotifications -Ipage -Ipage/animation -Iplatform -Iplatform/animation -Iplatform/graphics -Iplatform/graphics/filters -Iplatform/graphics/transforms -Iplatform/image-decoders -Iplatform/mock -Iplatform/network -Iplatform/sql -Iplatform/text -Iplugins -Irendering -Irendering/style -Istorage -Isvg -Isvg/animation -Isvg/graphics -Isvg/graphics/filters -Iwebsockets -Iwml -Iworkers -Ixml -Igenerated -I../JavaScriptCore -I../../webkit -I../JavaScriptCore/assembler -I../JavaScriptCore/bytecode -I../JavaScriptCore/bytecompiler -I../JavaScriptCore/debugger -I../JavaScriptCore/interpreter -I../JavaScriptCore/jit -I../JavaScriptCore/parser -I../JavaScriptCore/profiler -I../JavaScriptCore/runtime -I../JavaScriptCore/wrec -I../JavaScriptCore/wtf -I../JavaScriptCore/wtf/unicode -I../JavaScriptCore/yarr -I../JavaScriptCore/API -I../JavaScriptCore/ForwardingHeaders -Igenerated -I../WebKit/qt/Api -I../../../../include/QtWebKit -I.rcc/debug-shared -I../JavaScriptCore/pcre -I/Users/nairo/Downloads/qt-everywhere-opensource-src-4.6.0/src/3rdparty/webkit/WebKitBuild/Debug/JavaScriptCore/tmp -Iplatform/mac -I../../sqlite -I../../../../include/phonon -I/Users/nairo/Downloads/qt-everywhere-opensource-src-4.6.0/lib/phonon.framework/Headers -I.moc/debug-shared -F/Users/nairo/Downloads/qt-everywhere-opensource-src-4.6.0/lib -o obj/debug/AccessibilityObject.o accessibility/AccessibilityObject.cpp
In file included from accessibility/AccessibilityObject.cpp:33:
accessibility/AXObjectCache.h:139: warning: unused parameter ‘postToElement’
In file included from bindings/js/SerializedScriptValue.h:30,
                 from dom/MessagePortChannel.h:36,
                 from dom/MessagePort.h:34,
                 from page/DOMWindow.h:31,
                 from generated/JSDOMWindow.h:24,
                 from bindings/js/JSDOMWindowShell.h:32,
                 from bindings/js/ScriptController.h:25,
                 from page/Frame.h:40,
                 from accessibility/AccessibilityObject.cpp:37:
bindings/js/ScriptValue.h: In member function ‘WebCore::String WebCore::ScriptValue::toString(WebCore::ScriptState*) const’:
bindings/js/ScriptValue.h:49: error: conversion from ‘JSC::UString’ to non-scalar type ‘WebCore::String’ requested
make[2]: *** [obj/debug/AccessibilityObject.o] Error 1
make[1]: *** [debug-all] Error 2
make: *** [sub-webkit-make_default-ordered] Error 2

here is the line of configure : ./configure -debug-and-release   -phonon   -phonon-backend -qt-sql-mysql  -I /Volumes/BIGMAMA/usr/local/mysql-5.0.89-osx10.5-x86/include  -L  /Volumes/BIGMAMA/usr/local/mysql-5.0.89-osx10.5-x86/lib  -plugin-sql-mysql


so i tried to change adding to configure: "-cocoa" and "-no-webkit". 

but then compiler get the following errors: 

Build type:    macx-g++
Architecture:  macosx ( x86_64 )
Using framework: Cocoa


In file included from ../3rdparty/javascriptcore/JavaScriptCore/wtf/RandomNumber.cpp:30:
../3rdparty/javascriptcore/JavaScriptCore/wtf/RandomNumberSeed.h:32:9: error: missing binary operator before token "("
../3rdparty/javascriptcore/JavaScriptCore/wtf/RandomNumberSeed.h:36:13: error: missing binary operator before token "("
../3rdparty/javascriptcore/JavaScriptCore/wtf/RandomNumberSeed.h:41:13: error: missing binary operator before token "("
../3rdparty/javascriptcore/JavaScriptCore/wtf/RandomNumberSeed.h:52:13: error: missing binary operator before token "("
../3rdparty/javascriptcore/JavaScriptCore/wtf/RandomNumberSeed.h:54:15: error: missing binary operator before token "("
../3rdparty/javascriptcore/JavaScriptCore/wtf/RandomNumberSeed.h:65:15: error: missing binary operator before token "("
../3rdparty/javascriptcore/JavaScriptCore/wtf/RandomNumberSeed.h:67:15: error: missing binary operator before token "("
../3rdparty/javascriptcore/JavaScriptCore/wtf/RandomNumberSeed.h:79:13: error: missing binary operator before token "("
../3rdparty/javascriptcore/JavaScriptCore/wtf/RandomNumber.cpp:37:13: error: missing binary operator before token "("
../3rdparty/javascriptcore/JavaScriptCore/wtf/RandomNumber.cpp:47:13: error: missing binary operator before token "("
../3rdparty/javascriptcore/JavaScriptCore/wtf/RandomNumber.cpp:57:12: error: missing binary operator before token "("
../3rdparty/javascriptcore/JavaScriptCore/wtf/RandomNumber.cpp:65:13: error: missing binary operator before token "("
../3rdparty/javascriptcore/JavaScriptCore/wtf/RandomNumber.cpp:69:15: error: missing binary operator before token "("
../3rdparty/javascriptcore/JavaScriptCore/wtf/RandomNumber.cpp:72:15: error: missing binary operator before token "("
../3rdparty/javascriptcore/JavaScriptCore/wtf/RandomNumber.cpp:83:15: error: missing binary operator before token "("
../3rdparty/javascriptcore/JavaScriptCore/wtf/RandomNumber.cpp:85:15: error: missing binary operator before token "("
make[2]: *** [obj/debug/RandomNumber.o] Error 1
make[1]: *** [debug-all] Error 2
make: *** [sub-script-make_default-ordered] Error 2

Last i tried again this time adding :  "-cocoa -no-webkit" and "-no-javascript-jit"

but the error remains the same.

Do you have any idea what is causing this errors, where am I  mistaking?
I saw in one of the post, that a similars mistake has happend to Andrew Brooks but i ignore if it is related.   



Orian Patterson Rivero 




 		 	   		  
Internet Explorer 8 es más seguro -¡Pruébalo gratis! Haz clic aquí  		 	   		  
_________________________________________________________________
Toda la información que te interesa está en MSN Noticias. Clic aquí
http://noticias.latam.msn.com/cl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100113/97a4236a/attachment.html 


More information about the Qt-interest-old mailing list