0

当我构建 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

谁能告诉我可能的错误和解决方案是什么?

4

1 回答 1

0

检查你的野牛的版本,如果它是 2.6 或更高版本,就会有 webkit 的错误,请参阅Bug 92264

有人讨论同样的问题:Mac 10.8 上的 libwebcore build error,您可以了解如何解决它。

于 2013-04-01T15:32:20.363 回答