[webkit-help] Compiling Webkit for Android

Amit Joshi jo_amit at hotmail.com
Fri Apr 1 07:27:34 PDT 2011


Hello,

 I'm trying to compile webkit for android. I have taken entire repository from webkit svn and the revision number is 81008. While compiling I have seen lot-of differences between android webkit (which is available in froyo) and the revision on SVN.
 I have tried to merge the code - only adding the missing files and condition for Android platform.
While compilation, I'm getting error. If anybody can help me to resolve this. 

compiling on Fedora 13 x86_64 system

The error code text is :

build/core/binary.mk:220: target `out/target/product/generic/obj/STATIC_LIBRARIES/libwebcore_intermediates/WebCore/storage/JSStorageEvent.o' given more than once in the same rule.
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/css/CSSCanvasValue.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/css/CSSComputedStyleDeclaration.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/css/CSSCursorImageValue.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/css/CSSFontFace.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/css/CSSFontFaceSource.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/css/CSSFontSelector.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/css/CSSGradientValue.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/css/CSSImageGeneratorValue.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/css/CSSImageValue.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/css/CSSImportRule.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/css/CSSMutableStyleDeclaration.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/css/CSSParser.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/css/CSSStyleSelector.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/css/CSSStyleSheet.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/css/Media.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/css/MediaList.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/css/MediaQueryEvaluator.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/dom/AsyncScriptRunner.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/dom/CharacterData.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/dom/ContainerNode.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/dom/DOMImplementation.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/dom/Document.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/dom/DocumentFragment.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/dom/DocumentMarkerController.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/dom/Element.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/dom/InputElement.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/dom/MouseRelatedEvent.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/dom/Node.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/dom/OptionElement.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/dom/PendingScript.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/dom/Position.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/dom/PositionIterator.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/dom/ProcessingInstruction.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/dom/Range.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/dom/ScriptElement.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/dom/SelectElement.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/dom/Text.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/dom/Touch.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/dom/XMLDocumentParser.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/dom/XMLDocumentParserLibxml2.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/editing/ApplyBlockElementCommand.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/editing/ApplyStyleCommand.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/editing/BreakBlockquoteCommand.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/editing/CompositeEditCommand.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/editing/DeleteButton.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/editing/DeleteButtonController.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/editing/DeleteSelectionCommand.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/editing/EditCommand.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/editing/Editor.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/editing/EditorCommand.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/editing/HTMLInterchange.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/editing/IndentOutdentCommand.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/editing/InsertLineBreakCommand.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/editing/InsertListCommand.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/editing/InsertParagraphSeparatorCommand.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/editing/MarkupAccumulator.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/editing/ModifySelectionListLevel.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/editing/ReplaceSelectionCommand.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/editing/SelectionController.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/editing/SplitTextNodeContainingElementCommand.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/editing/TextIterator.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/editing/TypingCommand.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/editing/VisiblePosition.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/editing/VisibleSelection.cpp
target thumb C++: libwebcore <= external/WebKit/Source/WebCore/editing/android/EditorAndroid.cpp
external/WebKit/Source/WebCore/editing/android/EditorAndroid.cpp: In member function 'WTF::PassRefPtr<WebCore::Clipboard> WebCore::Editor::newGeneralClipboard(WebCore::ClipboardAccessPolicy, WebCore::Frame*)':
external/WebKit/Source/WebCore/editing/android/EditorAndroid.cpp:37: error: request for member 'operator new' is ambiguous
external/WebKit/Source/WebCore/loader/cache/CachedResourceClient.h:49: error: candidates are: static void* WebCore::CachedResourceClient::operator new(size_t)
external/WebKit/Source/WebCore/loader/cache/CachedResourceClient.h:49: error: candidates are: static void* WebCore::CachedResourceClient::operator new(size_t, void*)
external/WebKit/Source/JavaScriptCore/wtf/RefCounted.h:136: error:                 static void* WTF::RefCounted<T>::operator new(size_t) [with T = WebCore::Clipboard]
external/WebKit/Source/JavaScriptCore/wtf/RefCounted.h:136: error:                 static void* WTF::RefCounted<T>::operator new(size_t, void*) [with T = WebCore::Clipboard]
make: *** [out/target/product/generic/obj/STATIC_LIBRARIES/libwebcore_intermediates/WebCore/editing/android/EditorAndroid.o] Error 1

Regards,
Amit Joshi
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20110401/77cb77c9/attachment.html>


More information about the webkit-help mailing list