Hi, everyone, I am new in webkit-dev. I've been downloaded the latest source code of WebKit-r60986. And compiling it:
$ ./autogen.sh --with-target=directfb --with-unicode-backend=icu $ make ...... ...... libtool: link: gcc -ansi -fno-strict-aliasing -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 -Wno-parentheses -fno-exceptions -fvisibility=hidden -pthread -D_REENTRANT -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/directfb -I/usr/local/include/libpng12 -pthread -I/usr/local/include/libsoup-2.4 -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -O2 -o Programs/GtkLauncher WebKitTools/GtkLauncher/Programs_GtkLauncher-main.o -pthread -pthread ./.libs/libwebkit-1.0.so -L/usr/local/lib -L/usr/local/lib/lib /usr/local/lib/libenchant.so /u sr/local/lib/libgailutil.so /usr/local/lib/libgstapp-0.10.so /usr/local/lib/libgstpbutils-0.10.so /usr/local/lib/libgstvideo-0.10.so /usr/local/lib/libgstbase-0.10.so /usr/local/lib/libgstreamer-0.10.so /usr/local/lib/libjpeg.so /usr/local/lib/libsoup-2.4.so -lgnutls -lgcrypt -lgpg-error /usr/local/lib/libxslt.so /usr/local/lib/libxml2.so /usr/local/lib/libiconv.so /usr/local/lib/libsqlite3.so -licui18n -licuuc -licudata /usr/local/lib/libgtk-directfb-2.0.so /usr/local/lib/libgdk-directfb-2.0.so /usr/local/lib/libatk-1.0.so /usr/local/lib/libgdk_pixbuf-2.0.so /usr/local/lib/libgio-2.0.so -lresolv -lselinux /usr/local/lib/libpangocairo-1.0.so /usr/local/lib/libpangoft2-1.0.so /usr/local/lib/libpango-1.0.so /usr/local/lib/libcairo.so /usr/local/lib/libpixman-1.so /usr/local/lib/libfontconfig.so /usr/local/lib/libfreetype.so -lexpat /usr/local/lib/libdirectfb.so /usr/local/lib/libfusion.so /usr/local/lib/libdirect.so /usr/local/lib/libpng12.so -lz -lm /usr/local/lib/libgmodule- 2.0.so -ldl /usr/local/lib/libgobject-2.0.so /usr/local/lib/libgthread-2.0.so -lpthread -lrt /usr/local/lib/libglib-2.0.so -pthread -Wl,-rpath -Wl,/home/zy/webkit/WebKit-r60986/.libs -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib./.libs/libwebkit-1.0.so: undefined reference to `gtk_xtbin_new' ./.libs/libwebkit-1.0.so: undefined reference to `gdk_x11_drawable_get_xdisplay' ./.libs/libwebkit-1.0.so: undefined reference to `XCreatePixmap' ./.libs/libwebkit-1.0.so: undefined reference to `gdk_x11_colormap_get_xcolormap' ./.libs/libwebkit-1.0.so: undefined reference to `XRenderFindVisualFormat' ./.libs/libwebkit-1.0.so: undefined reference to `XCopyArea' ./.libs/libwebkit-1.0.so: undefined reference to `gtk_xtbin_new' ./.libs/libwebkit-1.0.so: undefined reference to `gdk_x11_get_default_root_xwindow' ./.libs/libwebkit-1.0.so: undefined reference to `gtk_xtbin_set_position' ./.libs/libwebkit-1.0.so: undefined reference to `XFillRectangle' ./.libs/libwebkit-1.0.so: undefined reference to `gdk_x11_visual_get_xvisual' ./.libs/libwebkit-1.0.so: undefined reference to `XCreateColormap' ./.libs/libwebkit-1.0.so: undefined reference to `XtDisplayToApplicationContext' ./.libs/libwebkit-1.0.so: undefined reference to `XRenderQueryVersion' ./.libs/libwebkit-1.0.so: undefined reference to `XGetVisualInfo' ./.libs/libwebkit-1.0.so: undefined reference to `gtk_xtbin_resize' ./.libs/libwebkit-1.0.so: undefined reference to `gtk_xtbin_get_type' ./.libs/libwebkit-1.0.so: undefined reference to `XFree' ./.libs/libwebkit-1.0.so: undefined reference to `gdk_display' ./.libs/libwebkit-1.0.so: undefined reference to `XGetGeometry' ./.libs/libwebkit-1.0.so: undefined reference to `XFlush' ./.libs/libwebkit-1.0.so: undefined reference to `XDefaultGC' ./.libs/libwebkit-1.0.so: undefined reference to `XFreePixmap' ./.libs/libwebkit-1.0.so: undefined reference to `XSync' ./.libs/libwebkit-1.0.so: undefined reference to `gdk_x11_display_get_xdisplay' ./.libs/libwebkit-1.0.so: undefined reference to `gdk_x11_drawable_get_xid' collect2: ld returned 1 exit status make[1]: *** [Programs/GtkLauncher] Error 1 make[1]: Leaving directory `/home/zy/webkit/WebKit-r60986' make: *** [all] Error 2 I have built gtk-directfb at all. I search these errors in google, but there is any right answer. Thanks for your helps. ---------------------------------------------------------------------- Message: 1 Date: Sat, 19 Jun 2010 11:42:15 -0400 From: Adam Roben <[email protected]> To: sagar masuti <[email protected]> Cc: [email protected] Subject: Re: [webkit-help] Build error on windows7 Message-ID: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes On Jun 19, 2010, at 2:05 AM, sagar masuti wrote: > 1>FunctionPrototype.obj : error LNK2019: unresolved external symbol > _u_charType_3_2 referenced in function "bool __cdecl > WTF::Unicode::isSeparatorSpace(int)" (? > isseparatorsp...@unicode@WTF@@ya...@z) This looks like you're linking against ICU 3.2. The current version included in WebKitAuxiliaryLibrary and used by Safari is 4.0. Do you have some other version of ICU installed, or an old version of WebKitSupportLibrary? -Adam ------------------------------ Message: 2 Date: Sat, 19 Jun 2010 11:43:18 -0400 From: Adam Roben <[email protected]> To: Nikita Vasilyev <[email protected]> Cc: [email protected] Subject: Re: [webkit-help] DumpRenderTree doesn't compile on Mac OS X Message-ID: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes On Jun 17, 2010, at 9:30 AM, Nikita Vasilyev wrote: > I can't run webkit tests, because DumpRenderTree doesn't compile. > What's wrong with it? You have to build WebKit before you can build DumpRenderTree. Use the build-webkit script to do so. -Adam ------------------------------ Message: 3 Date: Sat, 19 Jun 2010 11:44:58 -0400 From: Adam Roben <[email protected]> To: Eric Zhou <[email protected]> Cc: [email protected] Subject: Re: [webkit-help] Log file location Message-ID: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes On Jun 17, 2010, at 1:20 AM, Eric Zhou wrote: > Hi all, > > Sorry to bother. > When debug-safari script is running, where is the log file for safari? > > For example, in resourcehandlecfnet.cpp, line 442, > LOG(Network, "CFNet - Starting URL %s (handle=%p, conn=%p)", d- > >m_request.url().string().utf8().data(), this, d->m_connection); The LOG macro prints to stderr. But all logging is compiled out in Release builds, and disabled by default in Debug builds (it's controlled by the flags in Logging.cpp). Each port has a different way to enable logging in Debug builds. What platform are you using? -Adam ------------------------------ Message: 4 Date: Sat, 19 Jun 2010 10:28:45 -0700 From: Bill Appleton <[email protected]> To: [email protected] Subject: [webkit-help] usage of NSApp from NPAPI plugin Message-ID: <[email protected]> Content-Type: text/plain; charset="iso-8859-1" hi all, our 64 bit cocoa open source NPAPI plugin uses NSApp for just a few things, like flushing events, testing for future mouse ups, etc. and it seems to work for the most part, but we need to debug some things and can't see what is going on on WebKitPluginHost.app, so I had a few questions if anyone knows 1) is the source code for WebKitPluginHost.app somewhere? Its hard to debug anything without it... 2) who calls [NSApplication sharedApplication] for the NPAPI plugin... is it WebKitPluginHost.app? are you subclassing any Cocoa classes? 3) there are some MiG functions in NetscapePluginHostProxy.mm like WKPCSetModal, etc. Are these called by the PluginHost automatically or is the plugin itself supposed to call them in some circumstances? thanks, Bill Appleton DreamFactory Software -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20100619/00ca7943/attachment-0001.html> ------------------------------ _______________________________________________ webkit-help mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-help End of webkit-help Digest, Vol 12, Issue 26 ******************************************* IMPORTANT CONFIDENTIALITY NOTICE This message and any attached documents contain information from ViXS Systems, Inc. and are confidential and privileged and further subject to any confidentiality agreement between the parties. The information is intended to be viewed only by the individual(s) or entity(ies) to whom the message is addressed. If you are not the intended recipient, be aware that reading, disclosing, copying, distributing or using the contents of this transmission is prohibited. Please notify us immediately if you have received this transmission in error, and delete this message along with any attached files. _______________________________________________ webkit-help mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
