[webkit-gtk] Building with --enable-mhtml

Gavin Stark gavin at gstark.com
Mon Feb 20 09:04:17 PST 2012


I am trying to build webkit 1.7.5 with --enable-html configured.  I end up with a linking error (checked that building without that option builds fine)  The error doesn't initially seem to have to do with the added code for mhtml support so I'm not sure how to proceed.  Has anyone built with --enable-mhtml support yet?



I added --enable-mhtml to the debian/rules file.  I also had to edit WebCore/loader/archive/ArchiveFactory.cpp to change #include "MHTMLArchive.h" to "mhtml/MHTMLArchive.h"

After compiling via apt-src build libwebkitgtk-3.0-0 I ended up with linking errors:

17:45:01 O: ../Tools/gtk/generate-gtkdoc
17:45:03 E: Copying template files to output directory...
17:45:03 E: Copying HTML files to output directory...
17:45:03 E: Running gtkdoc-scan
17:45:03 E: Running gtkdoc-scangobj
17:45:06 E: /home/rdm/webkit-1.7.5/build-3.0/.libs/libwebkitgtk-3.0.so: undefined reference to `vtable for WebCore::JSBlobOwner'
17:45:06 E: /home/rdm/webkit-1.7.5/build-3.0/.libs/libwebkitgtk-3.0.so: undefined reference to `WebCore::HTMLNames::spanAttr'
17:45:06 E: /home/rdm/webkit-1.7.5/build-3.0/.libs/libwebkitgtk-3.0.so: undefined reference to `WebCore::HTMLNames::summaryAttr'
17:45:06 E: /home/rdm/webkit-1.7.5/build-3.0/.libs/libwebkitgtk-3.0.so: undefined reference to `WebCore::toMediaController(JSC::JSValue)'
17:45:06 E: /home/rdm/webkit-1.7.5/build-3.0/.libs/libwebkitgtk-3.0.so: undefined reference to `WebCore::InspectorFrontend::CSS::mediaQueryResultChanged()'
17:45:06 E: /home/rdm/webkit-1.7.5/build-3.0/.libs/libwebkitgtk-3.0.so: undefined reference to `WebCore::SVGNames::markerUnitsAttr'
17:45:06 E: /home/rdm/webkit-1.7.5/build-3.0/.libs/libwebkitgtk-3.0.so: undefined reference to `WebCore::JSUint8ClampedArray::finishCreation(JSC::JSGlobalData&)'
17:45:06 E: /home/rdm/webkit-1.7.5/build-3.0/.libs/libwebkitgtk-3.0.so: undefined reference to `WebCore::HTMLNames::plaintextTag'
17:45:06 E: /home/rdm/webkit-1.7.5/build-3.0/.libs/libwebkitgtk-3.0.so: undefined reference to `WebCore::JSKeyboardEvent::finishCreation(JSC::JSGlobalData&)'
17:45:06 E: /home/rdm/webkit-1.7.5/build-3.0/.libs/libwebkitgtk-3.0.so: undefined reference to `WebCore::JSEntityReference::finishCreation(JSC::JSGlobalData&)'
17:45:06 E: /home/rdm/webkit-1.7.5/build-3.0/.libs/libwebkitgtk-3.0.so: undefined reference to `WebCore::toJS(JSC::ExecState*, WebCore::JSDOMGlobalObject*, WebCore::RangeException*)'
17:45:06 E: /home/rdm/webkit-1.7.5/build-3.0/.libs/libwebkitgtk-3.0.so: undefined reference to `WebCore::JSSharedWorkerConstructor::s_info'
17:45:06 E: /home/rdm/webkit-1.7.5/build-3.0/.libs/libwebkitgtk-3.0.so: undefined reference to `WebCore::XMLNames::langAttr'
17:45:06 E: /home/rdm/webkit-1.7.5/build-3.0/.libs/libwebkitgtk-3.0.so: undefined reference to `WebCore::HTMLNames::webkitallowfullscreenAttr'
17:45:06 E: /home/rdm/webkit-1.7.5/build-3.0/.libs/libwebkitgtk-3.0.so: undefined reference to `WebCore::MathMLNames::linethicknessAttr'
17:45:06 E: /home/rdm/webkit-1.7.5/build-3.0/.libs/libwebkitgtk-3.0.so: undefined reference to `WebCore::toXPathException(JSC::JSValue)'
17:45:06 E: /home/rdm/webkit-1.7.5/build-3.0/.libs/libwebkitgtk-3.0.so: undefined reference to `WebCore::SVGNames::toAttr'
.....


Full errors here: https://gist.github.com/1869708



More information about the webkit-gtk mailing list