Webkit backend can't compile
- From: "Nathan Samson" <nathansamson gmail com>
- To: epiphany-list gnome org
- Subject: Webkit backend can't compile
- Date: Sun, 6 Apr 2008 14:19:53 +0200
Hi,
with the recent news that Epiphany is switching to Webkit as sole backend I tried compiling it (again).
I do have the latest WebKit from svn (
http://svn.webkit.org/repository/webkit/trunk) (rev 31670)
But it is not compiling:
g++ -DHAVE_CONFIG_H -I. -DWTF_USE_ICU_UNICODE=1 -DBUILDING_GTK__=1 -DWTF_CHANGES -DXP_UNIX -DNDEBUG -DENABLE_ICONDATABASE=0 -I./WebCore -I./WebCore/platform -I./WebCore/platform/network -I./WebCore/platform/graphics -I./WebCore/platform/text -I./WebCore/loader -I./WebCore/loader/archive -I./WebCore/loader/icon -I./WebCore/css -I./WebCore/dom -I./WebCore/page -I./WebCore/bridge -I./WebCore/bridge/c -I./WebCore/editing -I./WebCore/history -I./WebCore/xml -I./WebCore/html -I./WebCore/bindings/js -I./WebCore/platform/image-decoders -I./WebCore/platform/image-decoders/bmp -I./WebCore/platform/image-decoders/gif -I./WebCore/platform/image-decoders/ico -I./WebCore/platform/image-decoders/jpeg -I./WebCore/platform/image-decoders/png -I./WebCore/platform/image-decoders/xbm -I./WebCore/plugins -I./WebCore/rendering -I./WebCore/bindings/js -DWTF_USE_CURL=1 -I./WebCore/platform/network/curl -DENABLE_CROSS_DOCUMENT_MESSAGING=1 -DENABLE_DATABASE=1 -I./WebCore/platform/sql -I./WebCore/storage -DENABLE_VIDEO=1 -DENABLE_XPATH=1 -DENABLE_XSLT=1 -DENABLE_SVG=1 -I./WebCore/svg -I./WebCore/svg/graphics -I./WebCore/svg/graphics/filters -I./_javascript_Core -I./_javascript_Core/ForwardingHeaders -I./_javascript_Core/wtf -I./_javascript_Core/kjs -I./DerivedSources -I./_javascript_Core/ForwardingHeaders -I./_javascript_Core/wtf/unicode -I./_javascript_Core/pcre -I./_javascript_Core/kjs -I./WebKit/gtk/webkit -DBUILDING_CAIRO__=1 -DBUILD_WEBKIT -I./WebCore/platform/gtk -I./WebCore/platform/graphics/gtk -I./WebCore/platform/graphics/cairo -I./WebCore/loader/gtk -I./WebCore/page/gtk -I./WebKit/gtk -I./WebKit/gtk/WebCoreSupport -I./WebKit/gtk/webkit -DUSE_FREETYPE=1 -I./WebCore/svg/graphics/cairo -fno-strict-aliasing -fvisibility-inlines-hidden -fno-rtti -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -fno-exceptions -fvisibility=hidden -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_REENTRANT -I/usr/include -DPNG_NO_MMX_CODE -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/libxml2 -pthread -DORBIT2=1 -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/libxml2 -O2 -MT DerivedSources/libWebCore_la-JSSVGAltGlyphElement.lo -MD -MP -MF DerivedSources/.deps/libWebCore_la-JSSVGAltGlyphElement.Tpo -c DerivedSources/JSSVGAltGlyphElement.cpp -fPIC -DPIC -o DerivedSources/.libs/libWebCore_la-JSSVGAltGlyphElement.o
DerivedSources/JSSVGAltGlyphElement.cpp: In constructor 'WebCore::JSSVGAltGlyphElement::JSSVGAltGlyphElement(KJS::JSObject*, WebCore::SVGAltGlyphElement*)':
DerivedSources/JSSVGAltGlyphElement.cpp:75: error: no matching function for call to 'WebCore::JSSVGTextPositioningElement::JSSVGTextPositioningElement(KJS::JSObject*&, WebCore::SVGAltGlyphElement*&)'
DerivedSources/JSSVGTextPositioningElement.h:36: note: candidates are: WebCore::JSSVGTextPositioningElement::JSSVGTextPositioningElement(KJS::JSObject*, WebCore::SVGTextPositioningElement*)
DerivedSources/JSSVGTextPositioningElement.h:33: note: WebCore::JSSVGTextPositioningElement::JSSVGTextPositioningElement(const WebCore::JSSVGTextPositioningElement&)
DerivedSources/JSSVGAltGlyphElement.cpp: In member function 'KJS::JSValue* WebCore::JSSVGAltGlyphElement::getValueProperty(KJS::ExecState*, int) const':
DerivedSources/JSSVGAltGlyphElement.cpp:88: error: invalid static_cast from type 'WebCore::SVGElement*' to type 'WebCore::SVGAltGlyphElement*'
DerivedSources/JSSVGAltGlyphElement.cpp:89: error: invalid use of incomplete type 'struct WebCore::SVGAltGlyphElement'
DerivedSources/JSSVGAltGlyphElement.h:31: error: forward declaration of 'struct WebCore::SVGAltGlyphElement'
DerivedSources/JSSVGAltGlyphElement.cpp:92: error: invalid static_cast from type 'WebCore::SVGElement*' to type 'WebCore::SVGAltGlyphElement*'
DerivedSources/JSSVGAltGlyphElement.cpp:93: error: invalid use of incomplete type 'struct WebCore::SVGAltGlyphElement'
DerivedSources/JSSVGAltGlyphElement.h:31: error: forward declaration of 'struct WebCore::SVGAltGlyphElement'
DerivedSources/JSSVGAltGlyphElement.cpp:96: error: invalid static_cast from type 'WebCore::SVGElement*' to type 'WebCore::SVGAltGlyphElement*'
DerivedSources/JSSVGAltGlyphElement.cpp:97: error: invalid use of incomplete type 'struct WebCore::SVGAltGlyphElement'
DerivedSources/JSSVGAltGlyphElement.h:31: error: forward declaration of 'struct WebCore::SVGAltGlyphElement'
DerivedSources/JSSVGAltGlyphElement.cpp:98: error: no matching function for call to 'toJS(KJS::ExecState*&, WebCore::SVGAnimatedTemplate<WebCore::String>*, WebCore::SVGAltGlyphElement*&)'
./DerivedSources/JSNode.h:71: note: candidates are: KJS::JSValue* WebCore::toJS(KJS::ExecState*, WebCore::Node*)
./DerivedSources/JSNode.h:72: note: KJS::JSValue* WebCore::toJS(KJS::ExecState*, WebCore::EventTargetNode*)
./DerivedSources/JSEvent.h:63: note: KJS::JSValue* WebCore::toJS(KJS::ExecState*, WebCore::Event*)
./WebCore/bindings/js/JSEventTargetBase.h:152: note: KJS::JSValue* WebCore::toJS(KJS::ExecState*, WebCore::EventTarget*)
DerivedSources/JSSVGAnimatedString.h:57: note: KJS::JSValue* WebCore::toJS(KJS::ExecState*, WebCore::SVGAnimatedString*, WebCore::SVGElement*)
DerivedSources/JSSVGAltGlyphElement.cpp: In member function 'void WebCore::JSSVGAltGlyphElement::putValueProperty(KJS::ExecState*, int, KJS::JSValue*)':
DerivedSources/JSSVGAltGlyphElement.cpp:113: error: invalid static_cast from type 'WebCore::SVGElement*' to type 'WebCore::SVGAltGlyphElement*'
DerivedSources/JSSVGAltGlyphElement.cpp:115: error: invalid use of incomplete type 'struct WebCore::SVGAltGlyphElement'
DerivedSources/JSSVGAltGlyphElement.h:31: error: forward declaration of 'struct WebCore::SVGAltGlyphElement'
DerivedSources/JSSVGAltGlyphElement.cpp:120: error: invalid static_cast from type 'WebCore::SVGElement*' to type 'WebCore::SVGAltGlyphElement*'
DerivedSources/JSSVGAltGlyphElement.cpp:122: error: invalid use of incomplete type 'struct WebCore::SVGAltGlyphElement'
DerivedSources/JSSVGAltGlyphElement.h:31: error: forward declaration of 'struct WebCore::SVGAltGlyphElement'
make[1]: *** [DerivedSources/libWebCore_la-JSSVGAltGlyphElement.lo] Error 1
make[1]: Leaving directory `/home/nathan/Documenten/bronnen/WebKit'
make: *** [all] Error 2
nathan gamma:~/Documenten/bronnen/WebKit$
I configured it with ./autogen.sh --enable-svg --enable-video
When I tried ./autogen.sh (or ./configure) with no parameters, it seems to fail because svg is not compiled:
gcc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DPNG_NO_MMX_CODE -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/libxml2 -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -fno-exceptions -fvisibility=hidden -O2 -o Programs/.libs/GtkLauncher WebKitTools/GtkLauncher/Programs_GtkLauncher-main.o ./.libs/
libwebkit-1.0.so -Wl,--rpath -Wl,/home/nathan/Documenten/bronnen/WebKit/.libs
./.libs/
libwebkit-1.0.so: undefined reference to `WebCore::JSSVGException::getConstructor(KJS::ExecState*)'
./.libs/
libwebkit-1.0.so: undefined reference to `WebCore::JSSVGLength::getConstructor(KJS::ExecState*)'
./.libs/
libwebkit-1.0.so: undefined reference to `WebCore::JSSVGRenderingIntent::getConstructor(KJS::ExecState*)'
./.libs/
libwebkit-1.0.so: undefined reference to `WebCore::JSSVGTextPathElement::getConstructor(KJS::ExecState*)'
./.libs/
libwebkit-1.0.so: undefined reference to `WebCore::JSHTMLVideoElement::getConstructor(KJS::ExecState*)'
./.libs/
libwebkit-1.0.so: undefined reference to `WebCore::JSSVGPaint::getConstructor(KJS::ExecState*)'
./.libs/
libwebkit-1.0.so: undefined reference to `WebCore::JSSVGPreserveAspectRatio::getConstructor(KJS::ExecState*)'
./.libs/
libwebkit-1.0.so: undefined reference to `WebCore::JSSVGMarkerElement::getConstructor(KJS::ExecState*)'
./.libs/
libwebkit-1.0.so: undefined reference to `WebCore::JSMediaError::getConstructor(KJS::ExecState*)'
./.libs/
libwebkit-1.0.so: undefined reference to `WebCore::JSHTMLAudioElement::getConstructor(KJS::ExecState*)'
./.libs/
libwebkit-1.0.so: undefined reference to `WebCore::HTMLFrameOwnerElement::getSVGDocument(int&) const'
./.libs/
libwebkit-1.0.so: undefined reference to `WebCore::JSHTMLMediaElement::getConstructor(KJS::ExecState*)'
./.libs/
libwebkit-1.0.so: undefined reference to `WebCore::JSSVGPathSeg::getConstructor(KJS::ExecState*)'
./.libs/
libwebkit-1.0.so: undefined reference to `WebCore::JSSVGTextContentElement::getConstructor(KJS::ExecState*)'
./.libs/
libwebkit-1.0.so: undefined reference to `WebCore::JSSVGTransform::getConstructor(KJS::ExecState*)'
./.libs/
libwebkit-1.0.so: undefined reference to `WebCore::JSSVGUnitTypes::getConstructor(KJS::ExecState*)'
./.libs/
libwebkit-1.0.so: undefined reference to `WebCore::JSSVGGradientElement::getConstructor(KJS::ExecState*)'
./.libs/
libwebkit-1.0.so: undefined reference to `WebCore::JSSVGColor::getConstructor(KJS::ExecState*)'
./.libs/
libwebkit-1.0.so: undefined reference to `WebCore::JSSVGAngle::getConstructor(KJS::ExecState*)'
collect2: ld returned 1 exit status
make[1]: *** [Programs/GtkLauncher] Error 1
make[1]: Leaving directory `/home/nathan/Documenten/bronnen/WebKit'
make: *** [all] Error 2
I know that this may not be the right list with this problem, but since all members of this list are probably now experienced with building Webkit/GTK, or are trying the same as me it seemed appropriate to post it here to me.
Thanks
Nathan
--
Who is not using the Fox Of Fire is not surfing the web, he is suffering it
Registered Linux User # 389298
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]