[webkit-help] WebKit-r80210 enable wml,xhtmlmp build error

Etring simple.acai at gmail.com
Wed Mar 9 17:49:18 PST 2011


I use Vs2008 to build webkit-r80210 with enable wml,xhtmlmp on winxp
I
modify WebKit-r80210\WebKitLibraries\win\tools\vsprops\FeatureDefines.vsprops
to enable wml and xhtmlmp and sync with FeatureDefines.xcconfig files in
JavaScriptCore\Configurations, WebCore\Configurations, and
WebKit2\Configurations.


There are two type errors.

The first error in \WebKit-r80210\Source\WebCore\dom\Document.cpp in the
function Document::isXHTMLMPDocument()
#if ENABLE(XHTMLMP)
bool Document::isXHTMLMPDocument() const
{
    if (!frame() || !frame()->loader())
        return false;
    // As per section 7.2 of OMA-WAP-XHTMLMP-V1_1-20061020-A.pdf, a
conforming user agent
    // MUST accept XHTMLMP document identified as
"application/vnd.wap.xhtml+xml"
    // and SHOULD accept it identified as "application/xhtml+xml" ,
"application/xhtml+xml" is a
    // general MIME type for all XHTML documents, not only for XHTMLMP
    return frame()->loader()->writer()->mimeType() ==
"application/vnd.wap.xhtml+xml";//error here the frame()->loader() has no
member function writer().
}
#endif

The second one:
F:\WebKit-r80210\WebKitBuild\Debug\obj\WebCore\DerivedSources\WMLElementFactory.cpp(204)
: error C2084: function 'void WebCore::addTag(const WebCore::QualifiedName
&,WebCore::ConstructorFunction)' already has a body
3>
 F:\WebKit-r80210\WebKitBuild\Debug\obj\WebCore\DerivedSources\HTMLElementFactory.cpp(517)
: see previous definition of 'addTag'
3>F:\WebKit-r80210\WebKitBuild\Debug\obj\WebCore\DerivedSources\WMLElementFactory.cpp(209)
: error C2084: function 'void WebCore::createFunctionMap(void)' already has
a body
3>
 F:\WebKit-r80210\WebKitBuild\Debug\obj\WebCore\DerivedSources\HTMLElementFactory.cpp(522)
: see previous definition of 'createFunctionMap'
3>F:\WebKit-r80210\WebKitBuild\Debug\obj\WebCore\DerivedSources\WMLElementFactory.cpp(216)
: error C2872: 'aTag' : ambiguous symbol
3>        could be
'f:\webkit-r80210\webkitbuild\debug\obj\webcore\derivedsources\WMLNames.h(44)
: const WebCore::QualifiedName WebCore::WMLNames::aTag'
3>        or
'f:\webkit-r80210\webkitbuild\debug\obj\webcore\derivedsources\HTMLNames.h(44)
: const WebCore::QualifiedName WebCore::HTMLNames::aTag'
3>F:\WebKit-r80210\WebKitBuild\Debug\obj\WebCore\DerivedSources\WMLElementFactory.cpp(216)
: error C3861: 'addTag': identifier not found
3>F:\WebKit-r80210\WebKitBuild\Debug\obj\WebCore\DerivedSources\WMLElementFactory.cpp(217)
: error C3861: 'addTag': identifier not found
3>F:\WebKit-r80210\WebKitBuild\Debug\obj\WebCore\DerivedSources\WMLElementFactory.cpp(218)
: error C3861: 'addTag': identifier not found
3>F:\WebKit-r80210\WebKitBuild\Debug\obj\WebCore\DerivedSources\WMLElementFactory.cpp(219)
: error C2872: 'brTag' : ambiguous symbol
3>        could be
'f:\webkit-r80210\webkitbuild\debug\obj\webcore\derivedsources\WMLNames.h(47)
: const WebCore::QualifiedName WebCore::WMLNames::brTag'
3>        or
'f:\webkit-r80210\webkitbuild\debug\obj\webcore\derivedsources\HTMLNames.h(61)
: const WebCore::QualifiedName WebCore::HTMLNames::brTag'
3>F:\WebKit-r80210\WebKitBuild\Debug\obj\WebCore\DerivedSources\WMLElementFactory.cpp(219)
: error C3861: 'addTag': identifier not found
3>F:\WebKit-r80210\WebKitBuild\Debug\obj\WebCore\DerivedSources\WMLElementFactory.cpp(220)
: error C3861: 'addTag': identifier not found
3>F:\WebKit-r80210\WebKitBuild\Debug\obj\WebCore\DerivedSources\WMLElementFactory.cpp(221)
: error C3861: 'addTag': identifier not found
3>F:\WebKit-r80210\WebKitBuild\Debug\obj\WebCore\DerivedSources\WMLElementFactory.cpp(222)
: error C2872: 'fieldsetTag' : ambiguous symbol
3>        could be
'f:\webkit-r80210\webkitbuild\debug\obj\webcore\derivedsources\WMLNames.h(50)
: const WebCore::QualifiedName WebCore::WMLNames::fieldsetTag'
3>        or
'f:\webkit-r80210\webkitbuild\debug\obj\webcore\derivedsources\HTMLNames.h(86)
: const WebCore::QualifiedName WebCore::HTMLNames::fieldsetTag'
.....


Anyone can help me how to enable wml and xhtmlmp?
Thanks.

-- 
Etring
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20110310/7d038e41/attachment.html>


More information about the webkit-help mailing list