konqueror build problem: /ecma
Ziran.Sun@eu.panasonic.com
Ziran.Sun at eu.panasonic.com
Tue Aug 16 17:16:01 CEST 2005
Hi there,
I am using qt/e 2.3.9 and qtopia-1.7.1 to build Konq/E for an arm
processor. Configure with qpe interface was OK. Then when I run "make",
I got the following problems:
kjs_html.cpp: In member function `virtual bool
KJS::HTMLDocument::hasProperty(const KJS::UString&, bool) const':
kjs_html.cpp:183: error: request for member `all' in `
0->DOM::HTMLDocument::HTMLDocument(const DOM::Node&)((this + 28))',
which is
of non-aggregate type `void'
kjs_html.cpp: In member function `virtual KJS::KJSO
KJS::HTMLDocument::tryGet(const KJS::UString&) const':
kjs_html.cpp:192: error: conversion from `void' to non-scalar type `
DOM::HTMLDocument' requested
kjs_html.cpp: In member function `virtual void
KJS::HTMLDocument::tryPut(const
KJS::UString&, const KJS::KJSO&)':
kjs_html.cpp:252: error: conversion from `void' to non-scalar type `
DOM::HTMLDocument' requested
kjs_html.cpp: In member function `virtual KJS::KJSO
KJS::HTMLElement::tryGet(const KJS::UString&) const':
kjs_html.cpp:290: error: conversion from `void' to non-scalar type `
DOM::HTMLElement' requested
kjs_html.cpp:315: error: request for member `sheet' in `
0->DOM::ProcessingInstruction::ProcessingInstruction(const
DOM::Node&)((this
+ 28))', which is of non-aggregate type `void'
kjs_html.cpp:348: error: request for member `sheet' in `
0->DOM::ProcessingInstruction::ProcessingInstruction(const
DOM::Node&)((this
+ 28))', which is of non-aggregate type `void'
kjs_html.cpp:443: error: request for member `getAttribute' in `
0->DOM::Element::Element(const
DOM::Node&)((&DOM::HTMLCollection::item(long
unsigned int) const(i)))', which is of non-aggregate type `void'
kjs_html.cpp:469: error: request for member `getAttribute' in `
0->DOM::Element::Element(const
DOM::Node&)((&DOM::HTMLCollection::item(long
unsigned int) const(i)))', which is of non-aggregate type `void'
kjs_html.cpp: In member function `virtual KJS::List*
KJS::HTMLElement::eventHandlerScope() const':
kjs_html.cpp:939: error: conversion from `void' to non-scalar type `
DOM::HTMLElement' requested
kjs_html.cpp: In member function `virtual void
KJS::HTMLElement::tryPut(const
KJS::UString&, const KJS::KJSO&)':
kjs_html.cpp:1098: error: conversion from `void' to non-scalar type `
DOM::HTMLElement' requested
kjs_html.cpp:1216: error: request for member `setData' in `
0->DOM::Text::Text(const DOM::Node&)((&DOM::NodeList::item(long
unsigned
int) const(i)))', which is of non-aggregate type `void'
kjs_html.cpp: In member function `virtual KJS::KJSO
KJS::HTMLCollection::tryGet(const KJS::UString&) const':
kjs_html.cpp:1672: error: conversion from `void' to non-scalar type `
DOM::HTMLSelectElement' requested
kjs_html.cpp: In member function `virtual void
KJS::HTMLSelectCollection::tryPut(const KJS::UString&, const
KJS::KJSO&)':
kjs_html.cpp:1773: error: conversion from `void' to non-scalar type `
DOM::HTMLOptionElement' requested
kjs_html.cpp: In member function `virtual KJS::Object
KJS::OptionConstructor::construct(const KJS::List&)':
kjs_html.cpp:1801: error: conversion from `void' to non-scalar type `
DOM::HTMLOptionElement' requested
After did some thing like (For the error in line 183):
DOM::HTMLDocument temp(node);
//if (!static_cast<DOM::HTMLDocument>(node).all().
if (!temp.all().
namedItem(p.string()).isNull())
return true;
return recursive && DOMDocument::hasProperty(p, true);
I managed to get through this problem in kjs_html.cpp, then the
compiling for the next file appear the following errors:
kjs_dom.cpp: In member function `virtual KJS::KJSO
KJS::DOMNode::tryGet(const
KJS::UString&) const':
kjs_dom.cpp:200: error: `0->KJS::KJSO::KJSO(const
KJS::KJSO&)((&Number((*(rend->khtml::RenderObject::_vptr.CachedObjectCli
ent
+ 196))(rend))))' has type `void' and is not a throw-expression
kjs_dom.cpp:202: error: `0->KJS::KJSO::KJSO(const
KJS::KJSO&)((&Number((*(rend->khtml::RenderObject::_vptr.CachedObjectCli
ent
+ 200))(rend))))' has type `void' and is not a throw-expression
kjs_dom.cpp:204: error: `0->KJS::KJSO::KJSO(const
KJS::KJSO&)((&Number((*(rend->khtml::RenderObject::_vptr.CachedObjectCli
ent
+ 208))(rend))))' has type `void' and is not a throw-expression
kjs_dom.cpp:206: error: `0->KJS::KJSO::KJSO(const
KJS::KJSO&)((&Number((*(rend->khtml::RenderObject::_vptr.CachedObjectCli
ent
+ 212))(rend))))' has type `void' and is not a throw-expression
kjs_dom.cpp:210: error: `0->KJS::KJSO::KJSO(const
KJS::KJSO&)((&Number((*(rend->khtml::RenderObject::_vptr.CachedObjectCli
ent
+ 168))(rend))))' has type `void' and is not a throw-expression
kjs_dom.cpp:212: error: `0->KJS::KJSO::KJSO(const
KJS::KJSO&)((&Number((*(rend->khtml::RenderObject::_vptr.CachedObjectCli
ent
+ 172))(rend))))' has type `void' and is not a throw-expression
kjs_dom.cpp:214: error: `0->KJS::KJSO::KJSO(const
KJS::KJSO&)((&Number(((&DOM::Node::ownerDocument()
const())->DOM::Document::view() const()->QScrollView::contentsX()
const() -
(*(rend->khtml::RenderObject::_vptr.CachedObjectClient +
196))(rend)))))'
has type `void' and is not a throw-expression
kjs_dom.cpp:216: error: `0->KJS::KJSO::KJSO(const
KJS::KJSO&)((&Number(((&DOM::Node::ownerDocument()
const())->DOM::Document::view() const()->QScrollView::contentsY()
const() -
(*(rend->khtml::RenderObject::_vptr.CachedObjectClient +
200))(rend)))))'
has type `void' and is not a throw-expression
kjs_dom.cpp: In member function `virtual KJS::KJSO
KJS::DOMAttr::tryGet(const
KJS::UString&) const':
kjs_dom.cpp:427: error: request for member `name' in
`0->DOM::Attr::Attr(const
DOM::Node&)((this + 28))', which is of non-aggregate type `void'
kjs_dom.cpp:429: error: request for member `specified' in `
0->DOM::Attr::Attr(const DOM::Node&)((this + 28))', which is of
non-aggregate type `void'
kjs_dom.cpp:431: error: request for member `value' in
`0->DOM::Attr::Attr(const
DOM::Node&)((this + 28))', which is of non-aggregate type `void'
kjs_dom.cpp: In member function `virtual void KJS::DOMAttr::tryPut(const
KJS::UString&, const KJS::KJSO&)':
kjs_dom.cpp:443: error: request for member `setValue' in `
0->DOM::Attr::Attr(const DOM::Node&)((this + 28))', which is of
non-aggregate type `void'
kjs_dom.cpp: In member function `virtual KJS::KJSO
KJS::DOMDocument::tryGet(const KJS::UString&) const':
kjs_dom.cpp:475: error: conversion from `void' to non-scalar type `
DOM::Document' requested
kjs_dom.cpp: In member function `virtual KJS::Completion
KJS::DOMDocFunction::tryExecute(const KJS::List&)':
kjs_dom.cpp:610: error: invalid use of void expression
kjs_dom.cpp: In member function `virtual KJS::KJSO
KJS::DOMElement::tryGet(const KJS::UString&) const':
kjs_dom.cpp:628: error: conversion from `void' to non-scalar type
`DOM::Element
' requested
kjs_dom.cpp: In member function `virtual KJS::KJSO
KJS::DOMDocumentType::tryGet(const KJS::UString&) const':
kjs_dom.cpp:787: error: conversion from `void' to non-scalar type `
DOM::DocumentType' requested
kjs_dom.cpp: In member function `virtual KJS::KJSO
KJS::DOMProcessingInstruction::tryGet(const KJS::UString&) const':
kjs_dom.cpp:885: error: request for member `target' in `
0->DOM::ProcessingInstruction::ProcessingInstruction(const
DOM::Node&)((this
+ 28))', which is of non-aggregate type `void'
kjs_dom.cpp:887: error: request for member `data' in `
0->DOM::ProcessingInstruction::ProcessingInstruction(const
DOM::Node&)((this
+ 28))', which is of non-aggregate type `void'
kjs_dom.cpp:889: error: request for member `sheet' in `
0->DOM::ProcessingInstruction::ProcessingInstruction(const
DOM::Node&)((this
+ 28))', which is of non-aggregate type `void'
kjs_dom.cpp: In member function `virtual void
KJS::DOMProcessingInstruction::tryPut(const KJS::UString&, const
KJS::KJSO&)
':
kjs_dom.cpp:897: error: request for member `setData' in `
0->DOM::ProcessingInstruction::ProcessingInstruction(const
DOM::Node&)((this
+ 28))', which is of non-aggregate type `void'
kjs_dom.cpp: In member function `virtual KJS::KJSO
KJS::DOMNotation::tryGet(const KJS::UString&) const':
kjs_dom.cpp:909: error: request for member `publicId' in `
0->DOM::Notation::Notation(const DOM::Node&)((this + 28))', which is
of
non-aggregate type `void'
kjs_dom.cpp:911: error: request for member `systemId' in `
0->DOM::Notation::Notation(const DOM::Node&)((this + 28))', which is
of
non-aggregate type `void'
kjs_dom.cpp: In member function `virtual KJS::KJSO
KJS::DOMEntity::tryGet(const
KJS::UString&) const':
kjs_dom.cpp:923: error: request for member `publicId' in `
0->DOM::Entity::Entity(const DOM::Node&)((this + 28))', which is of
non-aggregate type `void'
kjs_dom.cpp:925: error: request for member `systemId' in `
0->DOM::Entity::Entity(const DOM::Node&)((this + 28))', which is of
non-aggregate type `void'
kjs_dom.cpp:927: error: request for member `notationName' in `
0->DOM::Entity::Entity(const DOM::Node&)((this + 28))', which is of
non-aggregate type `void'
kjs_dom.cpp: In function `KJS::KJSO KJS::getDOMNode(DOM::Node)':
kjs_dom.cpp:944: error: request for member `isHTMLElement' in `
0->DOM::Element::Element(const DOM::Node&)((&n))', which is of
non-aggregate
type `void'
kjs_dom.cpp:945: error: invalid use of void expression
kjs_dom.cpp:947: error: invalid use of void expression
kjs_dom.cpp:950: error: invalid use of void expression
kjs_dom.cpp:954: error: invalid use of void expression
kjs_dom.cpp:960: error: invalid use of void expression
kjs_dom.cpp:963: error: invalid use of void expression
kjs_dom.cpp:966: error: invalid use of void expression
kjs_dom.cpp:969: error: request for member `isHTMLDocument' in `
0->DOM::Document::Document(const DOM::Node&)((&n))', which is of
non-aggregate type `void'
kjs_dom.cpp:970: error: invalid use of void expression
kjs_dom.cpp:972: error: invalid use of void expression
kjs_dom.cpp:975: error: invalid use of void expression
kjs_dom.cpp:981: error: invalid use of void expression
make[3]: *** [kjs_dom.lo] Error 1
Now I start to wondering that it might not worthy doing file by file. Do
you guys have ever met this problem? Is there any patch for it?
Please help ASAP and many thanks,
Ziran
..............................................................................
Confidentiality Notice
The information contained in this Email, and any attachments, is intended for the named recipients only. It may contain confidential and/or legally privileged information. If you are not the intended recipient, you must not copy, store, distribute or take any action in reliance on it. Any views expressed do not necessarily reflect the views of the company.
If you receive this Email by mistake, please advise the sender by using the reply facility in your Email software and then delete it.
.............................................................................
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BDY.RTF
Type: application/rtf
Size: 11541 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/konq-e/attachments/20050817/03d18bcd/BDY.rtf
More information about the konq-e
mailing list