[webkit-qt] qtwebkit build issue
luying pan
luying.pan at gmail.com
Mon Jan 24 14:01:34 PST 2011
Hi,
I'm trying to build qt the the latest webkit.org nightly source code on
Centos OS following the instruction on this page
https://svn.webkit.org/wiki/BuildingQtOnLinux. I have qt4.7 built and
installed successfully. However when I try to build from webkit source. I
get the following errors:
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/usr/local/Trolltech/Qt-4.6.3/mkspecs/linux-g++
-I../../../../Source/JavaScriptCore
-I/usr/local/Trolltech/Qt-4.6.3/include/QtCore
-I/usr/local/Trolltech/Qt-4.6.3/include -I../../../../Source/JavaScriptCore
-I../../../../Source -I/home/bagside/WebKit-r75891
-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/pcre
-I../../../../Source/JavaScriptCore/profiler
-I../../../../Source/JavaScriptCore/runtime
-I../../../../Source/JavaScriptCore/wtf
-I../../../../Source/JavaScriptCore/wtf/gobject
-I/home/bagside/WebKit-r75891/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../../../../Source/JavaScriptCore/pcre
-Igenerated -I. -I../../../../Source/JavaScriptCore -I. -o
obj/release/DateMath.o ../../../../Source/JavaScriptCore/wtf/DateMath.cpp
cc1plus: warnings being treated as errors
../../../../Source/JavaScriptCore/wtf/PassOwnArrayPtr.h: In instantiation of
‘WTF::PassOwnArrayPtr<char>’:
../../../../Source/JavaScriptCore/wtf/DateMath.h:159: instantiated from
here
../../../../Source/JavaScriptCore/wtf/PassOwnArrayPtr.h:81: warning:
lowering visibility of ‘WTF::PassOwnArrayPtr<U> WTF::adoptArrayPtr(U*) [with
U = U, T = char]’ to match its type
gmake: *** [obj/release/DateMath.o] Error 1
I need to build from webkit source because I need a bug fix from the latest
nightly build. Please help.
Luying
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20110124/167e8a4d/attachment.html>
More information about the webkit-qt
mailing list