生成android源文件时出错



当我正在构建android源代码时,我得到以下错误:

external/webkit/Source/WebCore/xml/XPathParser.cpp: In member function 'WebCore::XPath::Expression* WebCore::XPath::Parser::parseStatement(const WTF::String&, WTF::PassRefPtr<WebCore::XPathNSResolver>, WebCore::ExceptionCode&)':
external/webkit/Source/WebCore/xml/XPathParser.cpp:480:39: error: too many arguments to function 'int WebCore::XPath::xpathyyparse()'
In file included from external/webkit/Source/WebCore/xml/XPathParser.cpp:51:0:
out/target/product/generic/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/XPathGrammar.hpp:106:5: note: declared here
make: *** [out/target/product/generic/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/xml/XPathParser.o] Error 1
谁能告诉我有什么可能的错误和解决方案?

检查您的bison版本,如果是2.6或更高版本,则可能存在webkit错误,请参阅bug 92264。

有人讨论同样的问题:libwebcore在Mac 10.8上构建错误,你可以学习如何解决它。

最新更新