[webkit-qt] help : Build webkit error

陈朝 cz model_cz at live.cn
Sun Mar 6 19:14:52 PST 2011


Hi:
When I build webkit like this:

-----------------------------
# ./build-webkit --qt
-----------------------------


Then the following error arise:

-----------------------------
Calling 'make ' in /home/auroral/work/WebKit/WebKitBuild/Release


cd JavaScriptCore/ && make -f Makefile 
make[1]: Entering directory `/home/auroral/work/WebKit/WebKitBuild/Release/JavaScriptCore'
g++ -c -pipe -Wall -Wextra -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 -Werror -fno-stack-protector -O3 -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -D_REENTRANT -DBUILDING_QT__=1 -DNDEBUG -DBUILDING_JavaScriptCore -DBUILDING_WTF -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/qtsdk-2010.05/qt/mkspecs/linux-g++ -I../../../Source/JavaScriptCore -I/opt/qtsdk-2010.05/qt/include/QtCore -I/opt/qtsdk-2010.05/qt/include -I../../../Source/JavaScriptCore -I../../../Source -I../../../Source/ThirdParty -I../../../Source/JavaScriptCore/assembler -I../../../Source/JavaScriptCore/bytecode -I../../../Source/JavaScriptCore/bytecompiler -I../../../Source/JavaScriptCore/debugger -I../../../Source/JavaScriptCore/interpreter -I../../../Source/JavaScriptCore/jit -I../../../Source/JavaScriptCore/parser -I../../../Source/JavaScriptCore/profiler -I../../../Source/JavaScriptCore/runtime -I../../../Source/JavaScriptCore/wtf -I../../../Source/JavaScriptCore/wtf/gobject -I/home/auroral/work/WebKit/Source/JavaScriptCore/wtf/symbian -I../../../Source/JavaScriptCore/wtf/unicode -I../../../Source/JavaScriptCore/yarr -I../../../Source/JavaScriptCore/API -I../../../Source/JavaScriptCore/ForwardingHeaders -Igenerated -I../include/QtWebKit -I. -I../../../Source/JavaScriptCore -I. -o obj/release/YarrSyntaxChecker.o ../../../Source/JavaScriptCore/yarr/YarrSyntaxChecker.cpp
cc1plus: warnings being treated as errors
In file included from ../../../Source/JavaScriptCore/yarr/YarrSyntaxChecker.cpp:29:0:
../../../Source/JavaScriptCore/yarr/YarrParser.h: In member function ‘void JSC::Yarr::Parser<Delegate>::parseTokens() [with Delegate = JSC::Yarr::SyntaxChecker]’:
../../../Source/JavaScriptCore/yarr/YarrParser.h:454:64: error: ‘characterClassConstructor.JSC::Yarr::Parser<JSC::Yarr::SyntaxChecker>::CharacterClassParserDelegate::m_character’ may be used uninitialized in this function
../../../Source/JavaScriptCore/yarr/YarrParser.h:454:64: note: ‘characterClassConstructor.JSC::Yarr::Parser<JSC::Yarr::SyntaxChecker>::CharacterClassParserDelegate::m_character’ was declared here
make[1]: *** [obj/release/YarrSyntaxChecker.o] Error 1
make[1]: Leaving directory `/home/auroral/work/WebKit/WebKitBuild/Release/JavaScriptCore'
make: *** [sub-JavaScriptCore-JavaScriptCore-pro-make_default-ordered] Error 2
-----------------------------

How can I resolve this ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20110307/e7e654e6/attachment.html>


More information about the webkit-qt mailing list