[webkit-help] WebKit-r74228 is not right to build

何文 kamondesu at gmail.com
Mon Jan 10 03:03:59 PST 2011


hi:
   I want to use WebKit-r74228 on my arm board.but it is not
build correctly.
in my board,my UI use the DirectFB+GTK.I build these packet:
+--------------------+-----------------------+
| package | version |
+--------------------+-----------------------+
| zlib | 1.2.3 |
+--------------------+-----------------------+
| libpng | 1.2.40 |
+--------------------+-----------------------+
| jpeg | 7 |
+--------------------+-----------------------+
| freetype | 2.3.10 |
+--------------------+-----------------------+
| DirectFB | 1.4.1 |
+--------------------+-----------------------+
| xml2 | 2.7.1 |
+--------------------+-----------------------+
| fontconfig | 2.6.0         |
+--------------------+-----------------------+
| pixman | 0.12.0 |
+--------------------+-----------------------+
| cairo | 1.10.0 |
+--------------------+-----------------------+
| glib | 2.21.3 |
+--------------------+-----------------------+
| atk | 1.19.3 |
+--------------------+-----------------------+
| pango | 2.22.4 |
+--------------------+-----------------------+
| gtk+ | 2.16.6 |
+--------------------+-----------------------+
| gnutls | 2.10.3 |
+--------------------+-----------------------+
| libgcrypt         | 1.4.6 |
+--------------------+-----------------------+
| libxlst | 1.1.23 |
+--------------------+-----------------------+
| libsoup | 2.32.1 |
+--------------------+-----------------------+
| libgpg-error         | 1.10 |
+--------------------+-----------------------+
| sqlit | 3.6.13 |
+--------------------+-----------------------+
| enchant | 1.6.0 |
+--------------------+-----------------------+
| icu | 4.0.1 |
+--------------------+-----------------------+
| curl | 7.21.2 |
+--------------------+-----------------------+
| gstreamer         | 0.10.24 |
+--------------------+-----------------------+
| gst-plugins-base        | 0.10.24 |
+--------------------+-----------------------+

the WebKit-45934 can build and work .but the WebKit-r74228 is build.
the shell script file i used to build webkit in the follow:

#!/bin/bash
ROOTFS=/opt/ubq/devkit/arm/arm11/target
export PKG_CONFIG_PATH="${ROOTFS}/usr/local/lib/pkgconfig"
export UNICODE_LIBS="-L${ROOTFS}/usr/local/lib -licui18n -licuuc -licudata
-licutu -liculx -licule"
export UNICODE_CFLAGS="-I${ROOTFS}/usr/local/include/unicode"
export LIBS="-L${ROOTFS}/usr/lib/gcc/armv6zk-none-linux-gnueabi/4.3.2"
export CPPFLAGS="-I${ROOTFS}/usr/include/c++/4.3.2/
-I${ROOTFS}/usr/include/c++/4.3.2/armv6zk-none-linux-gnueabi/
-I${ROOTFS}/usr/local/include/pango-1.0/
-I${ROOTFS}/usr/local/include/glib-2.0/
-I${ROOTFS}/usr/local/include/atk-1.0/ -I${ROOTFS}/usr/local/include/cairo
-I${ROOTFS}/usr/local/include/gtk-2.0/
-I${ROOTFS}/usr/local/include/freetype2/"
export GTK_LIBS="-L${ROOTFS}/usr/local/lib -lgtk-directfb-2.0
-lgdk-directfb-2.0"
export GTK_CFLAGS="-I${ROOTFS}/usr/local/include/gtk-2.0/"
export CAIRO_CFLAGS="-I${ROOTFS}/usr/local/include/cairo"
export CAIRO_LIBS="-L${ROOTFS}/usr/local/lib/ -lcairo"
export GSTREAMER_CFLAGS="-I${ROOTFS}/usr/local/include/gstreamer-0.10/"
export FREETYPE_LIBS="-L${ROOTFS}/usr/local/lib/ -lfreetype"
export FREETYPE_CFLAGS="-I${ROOTFS}/usr/local/include/freetype2/"
export LIBSOUP_LIBS="-L${ROOTFS}/usr/local/lib/ -lsoup-2.4"
export LIBSOUP_CFLAGS="-I${ROOTFS}/usr/local/include/libsoup-2.4/"
export GAIL_LIBS="-L${ROOTFS}/usr/local/lib/ -lgailutil"
export GAIL_CFLAGS="-I${ROOTFS}/usr/local/include/gail-1.0/"
export ENCHANT_LIBS="-L${ROOTFS}/usr/local/lib/enchant/ -lenchant_ispell"
export ENCHANT_CFLAGS="-I${ROOTFS}/usr/local/include/enchant"
export GLIB_CFLAGS="-I${ROOTFS}/usr/local/include/glib-2.0/"
export GLIB_LIBS="-L${ROOTFS}/usr/local/lib -lglib-2.0 -lgmodule-2.0
-lgio-2.0 -lgobject-2.0 -lgthread-2.0"
export PANGO_CFLAGS="-I${ROOTFS}/usr/include/pango-1.0/"
export PANGO_LIBS="-L${ROOTFS}/usr/lib -lpango-1.0 -lpangocairo-1.0
-lpangoft2-1.0"
export icu_config=${ROOTFS}/usr/local/
export LIBXSLT_CFLAGS="-I${ROOTFS}/usr/local/include/libxslt/"
export LIBXSLT_LIBS="-L${ROOTFS}/usr/local/lib -lxslt"
export LIBXML_CFLAGS="-I${ROOTFS}/usr/local/include/libxml2/"
export LIBXML_LIBS="-L${ROOTFS}/usr/local/lib -lxml2"
export GSTREAMER_LIBS="-L${ROOTFS}/usr/local/lib/gstreamer-0.10/ -lgstadder
-lgstapp -lgstaudioconvert -lgstaudiorate -lgstaudioresample
-lgstaudiotestsrc -lgstcoreelements -lgstcoreindexers -lgstdecodebin2
-lgstdecodebin -lgstffmpegcolorspace -lgstgdp -lgstpango -lgstplaybin
-lgstqueue2 -lgstsubparse -lgsttcp -lgsttypefindfunctions -lgstvideo4linux
 -lgstvideorate -lgstvideoscale -lgstvideotestsrc -lgstvolume
-L${ROOTFS}/usr/local/lib -lgstapp-0.10 -lgstapp-0.10 -lgstbase-0.10
-lgstbase-0.10 -lgstcontroller-0.10 -lgstdataprotocol-0.10 -lgstfft-0.10
-lgstinterfaces-0.10 -lgstnet-0.10 -lgstnetbuffer-0.10 -lgstpbutils-0.10
-lgstreamer-0.10 -lgstriff-0.10 -lgstrtp-0.10 -lgstrtsp-0.10 -lgstsdp-0.10
-lgsttag-0.10 -lgstvideo-0.10"
./autogen.sh --prefix=${ROOTFS}/usr/local/ --host=armv6zk-none-linux-gnueabi
--with-target=directfb --with-http-backend=soup



the error information is in the follow:
In file included from
/opt/ubq/devkit/arm/arm11/target/usr/include/c++/4.3.2/ext/atomicity.h:39,
                 from ./JavaScriptCore/wtf/Atomics.h:72,
                 from ./JavaScriptCore/wtf/Threading.h:66,
                 from ./JavaScriptCore/wtf/CrossThreadRefCounted.h:37,
                 from ./JavaScriptCore/wtf/text/StringImpl.h:28,
                 from ./JavaScriptCore/wtf/text/WTFString.h:28,
                 from ./WebCore/platform/text/PlatformString.h:28,
                 from ./WebCore/platform/KURL.h:29,
                 from ./WebCore/platform/network/FormData.h:23,
                 from ./WebCore/platform/network/ResourceRequestBase.h:31,
                 from ./WebCore/platform/network/soup/ResourceRequest.h:30,
                 from ./WebCore/page/FrameLoadRequest.h:29,
                 from ./WebCore/plugins/PluginView.h:31,
                 from WebCore/plugins/gtk/PluginViewGtk.cpp:30:
/opt/ubq/devkit/arm/arm11/target/usr/include/c++/4.3.2/armv6zk-none-linux-gnueabi/bits/gthr.h:116:7:
warning: "_GLIBCXX__PTHREADS" is not defined
/opt/ubq/devkit/arm/arm11/target/usr/include/c++/4.3.2/armv6zk-none-linux-gnueabi/bits/gthr.h:118:7:
warning: "_GLIBCXX__PTHREADS95" is not defined
/opt/ubq/devkit/arm/arm11/target/usr/include/c++/4.3.2/armv6zk-none-linux-gnueabi/bits/gthr.h:120:7:
warning: "_GLIBCXX__DCE_THREADS" is not defined
/opt/ubq/devkit/arm/arm11/target/usr/include/c++/4.3.2/armv6zk-none-linux-gnueabi/bits/gthr.h:122:7:
warning: "_GLIBCXX__SOLARIS_THREADS" is not defined
WebCore/plugins/gtk/PluginViewGtk.cpp:74:30: error: cairo/cairo-xlib.h: No
such file or directory
WebCore/plugins/gtk/PluginViewGtk.cpp: In function 'Window
WebCore::getRootWindow(WebCore::Frame*)':
WebCore/plugins/gtk/PluginViewGtk.cpp:117: error: 'GDK_WINDOW_XWINDOW' was
not declared in this scope
WebCore/plugins/gtk/PluginViewGtk.cpp: In member function 'void
WebCore::PluginView::updatePluginWidget()':
WebCore/plugins/gtk/PluginViewGtk.cpp:141: error: 'GDK_DISPLAY_XDISPLAY' was
not declared in this scope
WebCore/plugins/gtk/PluginViewGtk.cpp: In member function 'virtual void
WebCore::PluginView::paint(WebCore::GraphicsContext*, const
WebCore::IntRect&)':
WebCore/plugins/gtk/PluginViewGtk.cpp:192: error: 'GDK_DISPLAY_XDISPLAY' was
not declared in this scope
WebCore/plugins/gtk/PluginViewGtk.cpp:203: error:
'cairo_xlib_surface_create' was not declared in this scope
WebCore/plugins/gtk/PluginViewGtk.cpp: In member function 'void
WebCore::PluginView::initXEvent(XEvent*)':
WebCore/plugins/gtk/PluginViewGtk.cpp:323: error: 'GDK_DISPLAY_XDISPLAY' was
not declared in this scope
WebCore/plugins/gtk/PluginViewGtk.cpp:328: error: 'GDK_WINDOW_XWINDOW' was
not declared in this scope
WebCore/plugins/gtk/PluginViewGtk.cpp: In member function 'bool
WebCore::PluginView::platformGetValue(NPNVariable, void*, NPError*)':
WebCore/plugins/gtk/PluginViewGtk.cpp:616: error: 'GDK_DISPLAY_XDISPLAY' was
not declared in this scope
WebCore/plugins/gtk/PluginViewGtk.cpp:640: error: 'GDK_WINDOW_XWINDOW' was
not declared in this scope
WebCore/plugins/gtk/PluginViewGtk.cpp: In function 'Display*
WebCore::getPluginDisplay()':
WebCore/plugins/gtk/PluginViewGtk.cpp:699: error: 'GDK_DISPLAY_XDISPLAY' was
not declared in this scope
WebCore/plugins/gtk/PluginViewGtk.cpp: In function 'void
WebCore::getVisualAndColormap(int, Visual**, Colormap*)':
WebCore/plugins/gtk/PluginViewGtk.cpp:711: error: 'GDK_DISPLAY_XDISPLAY' was
not declared in this scope
WebCore/plugins/gtk/PluginViewGtk.cpp:740: error: 'GDK_ROOT_WINDOW' was not
declared in this scope
WebCore/plugins/gtk/PluginViewGtk.cpp: In member function 'bool
WebCore::PluginView::platformStart()':
WebCore/plugins/gtk/PluginViewGtk.cpp:821: error: 'GDK_WINDOW_XDISPLAY' was
not declared in this scope
WebCore/plugins/gtk/PluginViewGtk.cpp:822: error: 'GDK_VISUAL_XVISUAL' was
not declared in this scope
WebCore/plugins/gtk/PluginViewGtk.cpp:824: error: 'GDK_ROOT_WINDOW' was not
declared in this scope
WebCore/plugins/gtk/PluginViewGtk.cpp:854: error: 'GDK_DISPLAY_XDISPLAY' was
not declared in this scope
WebCore/plugins/gtk/PluginViewGtk.cpp: In member function 'void
WebCore::PluginView::platformDestroy()':
WebCore/plugins/gtk/PluginViewGtk.cpp:884: error: 'GDK_DISPLAY_XDISPLAY' was
not declared in this scope
make[1]: *** [WebCore/plugins/gtk/libwebkitgtk_1_0_la-PluginViewGtk.lo]
Error 1
make[1]: Leaving directory
`/home/hewen/SDK-H60/webkit/h6x_webkit/WebKit-r74228'
make: *** [all] Error 2

could you tell me how to build it?thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20110110/fff9273b/attachment-0001.html>


More information about the webkit-help mailing list