[webkit-help] Compile Error PluginView.o

Timophey Zaitsev tzaitsev at gmail.com
Thu Apr 8 16:10:48 PDT 2010


Hi can anyone help with this compile error, I've been getting it no matter
what I do.


./build-webkit --qt

In file included from ../../../WebCore/platform/network/HTTPHeaderMap.h:33,
                 from
../../../WebCore/platform/network/ResourceRequestBase.h:34,
                 from
../../../WebCore/platform/network/qt/ResourceRequest.h:31,
                 from ../../../WebCore/page/FrameLoadRequest.h:30,
                 from ../../../WebCore/plugins/PluginView.h:32,
                 from ../../../WebCore/plugins/PluginView.cpp:29:
../../../WebCore/platform/text/StringHash.h: In static member function
'static bool WebCore::StringHash::equal(WebCore::StringImpl*,
WebCore::StringImpl*)':
../../../WebCore/platform/text/StringHash.h:67: warning: cast from 'const
UChar*' to 'const uint32_t*' increases required alignment of target type
../../../WebCore/platform/text/StringHash.h:68: warning: cast from 'const
UChar*' to 'const uint32_t*' increases required alignment of target type
../../../WebCore/plugins/PluginView.cpp: At global scope:
../../../WebCore/plugins/PluginView.cpp:1301: error: no 'NPError
WebCore::PluginView::getValueStatic(NPNVariable, void*)' member function
declared in class 'WebCore::PluginView'
../../../JavaScriptCore/wtf/Vector.h: In member function 'T*
WTF::VectorBuffer<T, inlineCapacity>::inlineBuffer() [with T =
JSC::ExecutablePool::Allocation, unsigned int inlineCapacity = 2u]':
../../../JavaScriptCore/wtf/Vector.h:397:   instantiated from
'WTF::VectorBuffer<T, inlineCapacity>::VectorBuffer() [with T =
JSC::ExecutablePool::Allocation, unsigned int inlineCapacity = 2u]'
../../../JavaScriptCore/wtf/Vector.h:502:   instantiated from
'WTF::Vector<T, inlineCapacity>::Vector() [with T =
JSC::ExecutablePool::Allocation, unsigned int inlineCapacity = 2u]'
../../../JavaScriptCore/jit/ExecutableAllocator.h:285:   instantiated from
here
../../../JavaScriptCore/wtf/Vector.h:484: warning: cast from
'WTF::AlignedBufferChar*' to 'JSC::ExecutablePool::Allocation*' increases
required alignment of target type
../../../JavaScriptCore/wtf/Vector.h: In member function 'T*
WTF::VectorBuffer<T, inlineCapacity>::inlineBuffer() [with T =
JSC::Identifier, unsigned int inlineCapacity = 20u]':
../../../JavaScriptCore/wtf/Vector.h:397:   instantiated from
'WTF::VectorBuffer<T, inlineCapacity>::VectorBuffer() [with T =
JSC::Identifier, unsigned int inlineCapacity = 20u]'
../../../JavaScriptCore/wtf/Vector.h:502:   instantiated from
'WTF::Vector<T, inlineCapacity>::Vector() [with T = JSC::Identifier,
unsigned int inlineCapacity = 20u]'
../../../JavaScriptCore/runtime/PropertyNameArray.h:46:   instantiated from
here
../../../JavaScriptCore/wtf/Vector.h:484: warning: cast from
'WTF::AlignedBufferChar*' to 'JSC::Identifier*' increases required alignment
of target type
../../../JavaScriptCore/wtf/Vector.h: In member function 'T*
WTF::VectorBuffer<T, inlineCapacity>::inlineBuffer() [with T =
JSC::Register, unsigned int inlineCapacity = 8u]':
../../../JavaScriptCore/wtf/Vector.h:397:   instantiated from
'WTF::VectorBuffer<T, inlineCapacity>::VectorBuffer() [with T =
JSC::Register, unsigned int inlineCapacity = 8u]'
../../../JavaScriptCore/wtf/Vector.h:502:   instantiated from
'WTF::Vector<T, inlineCapacity>::Vector() [with T = JSC::Register, unsigned
int inlineCapacity = 8u]'
../../../JavaScriptCore/runtime/ArgList.h:48:   instantiated from here
../../../JavaScriptCore/wtf/Vector.h:484: warning: cast from
'WTF::AlignedBufferChar*' to 'JSC::Register*' increases required alignment
of target type
../../../JavaScriptCore/wtf/Vector.h: In member function 'T*
WTF::VectorBuffer<T, inlineCapacity>::inlineBuffer() [with T =
WebCore::CSSParserValue, unsigned int inlineCapacity = 4u]':
../../../JavaScriptCore/wtf/Vector.h:397:   instantiated from
'WTF::VectorBuffer<T, inlineCapacity>::VectorBuffer() [with T =
WebCore::CSSParserValue, unsigned int inlineCapacity = 4u]'
../../../JavaScriptCore/wtf/Vector.h:502:   instantiated from
'WTF::Vector<T, inlineCapacity>::Vector() [with T = WebCore::CSSParserValue,
unsigned int inlineCapacity = 4u]'
../../../WebCore/css/CSSParserValues.h:67:   instantiated from here
../../../JavaScriptCore/wtf/Vector.h:484: warning: cast from
'WTF::AlignedBufferChar*' to 'WebCore::CSSParserValue*' increases required
alignment of target type
../../../JavaScriptCore/wtf/Vector.h: In member function 'T*
WTF::VectorBuffer<T, inlineCapacity>::inlineBuffer() [with T =
WebCore::AtomicString, unsigned int inlineCapacity = 8u]':
../../../JavaScriptCore/wtf/Vector.h:397:   instantiated from
'WTF::VectorBuffer<T, inlineCapacity>::VectorBuffer() [with T =
WebCore::AtomicString, unsigned int inlineCapacity = 8u]'
../../../JavaScriptCore/wtf/Vector.h:502:   instantiated from
'WTF::Vector<T, inlineCapacity>::Vector() [with T = WebCore::AtomicString,
unsigned int inlineCapacity = 8u]'
../../../WebCore/dom/SpaceSplitString.h:33:   instantiated from here
../../../JavaScriptCore/wtf/Vector.h:484: warning: cast from
'WTF::AlignedBufferChar*' to 'WebCore::AtomicString*' increases required
alignment of target type
../../../JavaScriptCore/wtf/Vector.h: In member function 'T*
WTF::VectorBuffer<T, inlineCapacity>::inlineBuffer() [with T =
WTF::OwnPtr<WebCore::MessagePortChannel>, unsigned int inlineCapacity =
1u]':
../../../JavaScriptCore/wtf/Vector.h:434:   instantiated from 'void
WTF::VectorBuffer<T, inlineCapacity>::deallocateBuffer(T*) [with T =
WTF::OwnPtr<WebCore::MessagePortChannel>, unsigned int inlineCapacity = 1u]'
../../../JavaScriptCore/wtf/Vector.h:410:   instantiated from
'WTF::VectorBuffer<T, inlineCapacity>::~VectorBuffer() [with T =
WTF::OwnPtr<WebCore::MessagePortChannel>, unsigned int inlineCapacity = 1u]'
../../../JavaScriptCore/wtf/Vector.h:517:   instantiated from
'WTF::Vector<T, inlineCapacity>::~Vector() [with T =
WTF::OwnPtr<WebCore::MessagePortChannel>, unsigned int inlineCapacity = 1u]'
../../../JavaScriptCore/wtf/OwnPtrCommon.h:55:   instantiated from 'void
WTF::deleteOwnedPtr(T*) [with T =
WTF::Vector<WTF::OwnPtr<WebCore::MessagePortChannel>, 1u>]'
../../../JavaScriptCore/wtf/PassOwnPtr.h:52:   instantiated from
'WTF::PassOwnPtr<T>::~PassOwnPtr() [with T =
WTF::Vector<WTF::OwnPtr<WebCore::MessagePortChannel>, 1u>]'
../../../WebCore/dom/MessagePortChannel.h:86:   instantiated from here
../../../JavaScriptCore/wtf/Vector.h:484: warning: cast from
'WTF::AlignedBufferChar*' to 'WTF::OwnPtr<WebCore::MessagePortChannel>*'
increases required alignment of target type
../../../JavaScriptCore/wtf/ListHashSet.h: In member function
'WTF::ListHashSetNode<ValueArg>*
WTF::ListHashSetNodeAllocator<ValueArg>::pool() [with ValueArg =
WebCore::KURL]':
../../../JavaScriptCore/wtf/ListHashSet.h:175:   instantiated from
'WTF::ListHashSetNode<ValueArg>*
WTF::ListHashSetNodeAllocator<ValueArg>::pastPool() [with ValueArg =
WebCore::KURL]'
../../../JavaScriptCore/wtf/ListHashSet.h:146:   instantiated from
'WTF::ListHashSetNode<ValueArg>*
WTF::ListHashSetNodeAllocator<ValueArg>::allocate() [with ValueArg =
WebCore::KURL]'
../../../JavaScriptCore/wtf/ListHashSet.h:206:   instantiated from 'static
void* WTF::ListHashSetNode<ValueArg>::operator new(size_t,
WTF::ListHashSetNodeAllocator<ValueArg>*) [with ValueArg = WebCore::KURL]'
../../../JavaScriptCore/wtf/ListHashSet.h:354:   instantiated from 'static
void WTF::ListHashSetTranslator<ValueType,
HashFunctions>::translate(WTF::ListHashSetNode<ValueArg>*&, const
ValueType&, WTF::ListHashSetNodeAllocator<ValueArg>*) [with ValueType =
WebCore::KURL, HashFunctions = WebCore::KURLHash]'
../../../JavaScriptCore/wtf/HashTable.h:690:   instantiated from
'std::pair<typename WTF::HashTable<Key, Value, Extractor, HashFunctions,
Traits, KeyTraits>::iterator, bool> WTF::HashTable<Key, Value, Extractor,
HashFunctions, Traits, KeyTraits>::add(const T&, const Extra&) [with T =
WebCore::KURL, Extra = WTF::ListHashSetNodeAllocator<WebCore::KURL>*,
HashTranslator = WTF::ListHashSetTranslator<WebCore::KURL,
WebCore::KURLHash>, Key = WTF::ListHashSetNode<WebCore::KURL>*, Value =
WTF::ListHashSetNode<WebCore::KURL>*, Extractor =
WTF::IdentityExtractor<WTF::ListHashSetNode<WebCore::KURL>*>, HashFunctions
= WTF::ListHashSetNodeHashFunctions<WebCore::KURL, WebCore::KURLHash>,
Traits = WTF::HashTraits<WTF::ListHashSetNode<WebCore::KURL>*>, KeyTraits =
WTF::HashTraits<WTF::ListHashSetNode<WebCore::KURL>*>]'
../../../JavaScriptCore/wtf/ListHashSet.h:473:   instantiated from
'std::pair<typename WTF::ListHashSet<Value, HashFunctions>::iterator, bool>
WTF::ListHashSet<Value, HashFunctions>::add(const ValueArg&) [with ValueArg
= WebCore::KURL, HashArg = WebCore::KURLHash]'
../../../WebCore/dom/Node.h:649:   instantiated from here
../../../JavaScriptCore/wtf/ListHashSet.h:174: warning: cast from 'char*' to
'WTF::ListHashSetNode<WebCore::KURL>*' increases required alignment of
target type
../../../JavaScriptCore/wtf/ListHashSet.h: In member function
'WTF::ListHashSetNode<ValueArg>*
WTF::ListHashSetNodeAllocator<ValueArg>::pool() [with ValueArg =
WebCore::Element*]':
../../../JavaScriptCore/wtf/ListHashSet.h:175:   instantiated from
'WTF::ListHashSetNode<ValueArg>*
WTF::ListHashSetNodeAllocator<ValueArg>::pastPool() [with ValueArg =
WebCore::Element*]'
../../../JavaScriptCore/wtf/ListHashSet.h:146:   instantiated from
'WTF::ListHashSetNode<ValueArg>*
WTF::ListHashSetNodeAllocator<ValueArg>::allocate() [with ValueArg =
WebCore::Element*]'
../../../JavaScriptCore/wtf/ListHashSet.h:206:   instantiated from 'static
void* WTF::ListHashSetNode<ValueArg>::operator new(size_t,
WTF::ListHashSetNodeAllocator<ValueArg>*) [with ValueArg =
WebCore::Element*]'
../../../JavaScriptCore/wtf/ListHashSet.h:354:   instantiated from 'static
void WTF::ListHashSetTranslator<ValueType,
HashFunctions>::translate(WTF::ListHashSetNode<ValueArg>*&, const
ValueType&, WTF::ListHashSetNodeAllocator<ValueArg>*) [with ValueType =
WebCore::Element*, HashFunctions = WTF::PtrHash<WebCore::Element*>]'
../../../JavaScriptCore/wtf/HashTable.h:690:   instantiated from
'std::pair<typename WTF::HashTable<Key, Value, Extractor, HashFunctions,
Traits, KeyTraits>::iterator, bool> WTF::HashTable<Key, Value, Extractor,
HashFunctions, Traits, KeyTraits>::add(const T&, const Extra&) [with T =
WebCore::Element*, Extra =
WTF::ListHashSetNodeAllocator<WebCore::Element*>*, HashTranslator =
WTF::ListHashSetTranslator<WebCore::Element*,
WTF::PtrHash<WebCore::Element*> >, Key =
WTF::ListHashSetNode<WebCore::Element*>*, Value =
WTF::ListHashSetNode<WebCore::Element*>*, Extractor =
WTF::IdentityExtractor<WTF::ListHashSetNode<WebCore::Element*>*>,
HashFunctions = WTF::ListHashSetNodeHashFunctions<WebCore::Element*,
WTF::PtrHash<WebCore::Element*> >, Traits =
WTF::HashTraits<WTF::ListHashSetNode<WebCore::Element*>*>, KeyTraits =
WTF::HashTraits<WTF::ListHashSetNode<WebCore::Element*>*>]'
../../../JavaScriptCore/wtf/ListHashSet.h:473:   instantiated from
'std::pair<typename WTF::ListHashSet<Value, HashFunctions>::iterator, bool>
WTF::ListHashSet<Value, HashFunctions>::add(const ValueArg&) [with ValueArg
= WebCore::Element*, HashArg = WTF::PtrHash<WebCore::Element*>]'
../../../WebCore/dom/Document.h:447:   instantiated from here
../../../JavaScriptCore/wtf/ListHashSet.h:174: warning: cast from 'char*' to
'WTF::ListHashSetNode<WebCore::Element*>*' increases required alignment of
target type
make[1]: *** [obj/release/PluginView.o] Error 1
make[1]: Leaving directory
`/home/staging/devel/browser/webkit/webkit/WebKitBuild/Release/WebCore'
make: *** [sub-WebCore-make_default-ordered] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20100408/fee495ff/attachment.html>


More information about the webkit-help mailing list