[webkit-dev] [PATCH] Errors from "build-webkit --debug --minimal"

Arthur O'Dwyer arthur at push.am
Mon Jun 25 12:03:12 PDT 2012

I'm trying to build WebKit by the simplest possible method. I checked
out the SVN tree and did "cd WebKit ; Tools/Scripts/build-webkit
--debug --minimal". This produced compiler errors!

The first two errors were easy to fix; it was just a case of features
being incompletely #ifdef'ed. I've quoted the patch at the bottom of
this message, since I'm not sure yet if this mailing list accepts

This next error, related to ENABLE(JAVASCRIPT_DEBUGGER), I can't
figure out how to fix. So I'm passing "build-webkit --debug --minimal
--javascript-debugger" as a workaround.

error: out-of-line definition of 'profile' does not match any
declaration in 'WebCore::JSConsole'
JSValue JSConsole::profile(ExecState* exec)
error: out-of-line definition of 'profileEnd' does not match any
declaration in 'WebCore::JSConsole'
JSValue JSConsole::profileEnd(ExecState* exec)
2 errors generated.

Then I get this fourth error, many many times. There's no
--dashboard-support option to build-webkit, so I'm stumped.

perl -I WebCore/bindings/scripts/
WebCore/bindings/scripts/generate-bindings.pl --include WebCore/dom
--include WebCore/fileapi --include WebCore/html --include WebCore/css
--include WebCore/page --include WebCore/notifications --include
WebCore/xml --include WebCore/svg --write-dependencies --outputDir .
--defines "               ENABLE_DASHBOARD_SUPPORT
   LANGUAGE_OBJECTIVE_C" --generator ObjC --supplementalDependencyFile
./SupplementalDependencies.txt WebCore/html/ImageData.idl
In file included from <built-in>:151:
<command line>:1:9In file included from <built-in>:151:
: error: macro names must be identifiers

Any helpful ideas?

Here is the patch for the first two errors:

$ svn diff
Index: Source/WebCore/inspector/InspectorResourceAgent.cpp
--- Source/WebCore/inspector/InspectorResourceAgent.cpp	(revision 121171)
+++ Source/WebCore/inspector/InspectorResourceAgent.cpp	(working copy)
@@ -64,7 +64,9 @@
 #include "WebSocketHandshakeResponse.h"

 #include <wtf/CurrentTime.h>
 #include <wtf/HexNumber.h>
 #include <wtf/ListHashSet.h>
 #include <wtf/RefPtr.h>
 #include <wtf/text/StringBuilder.h>
Index: Source/WebCore/css/CSSPropertyNames.in
--- Source/WebCore/css/CSSPropertyNames.in	(revision 121171)
+++ Source/WebCore/css/CSSPropertyNames.in	(working copy)
@@ -332,7 +332,9 @@

$ svn info
Path: .
URL: http://svn.webkit.org/repository/webkit/trunk
Repository Root: http://svn.webkit.org/repository/webkit
Repository UUID: 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Revision: 121171
Node Kind: directory
Schedule: normal
Last Changed Author: jonlee at apple.com
Last Changed Rev: 121171
Last Changed Date: 2012-06-25 11:05:13 -0700 (Mon, 25 Jun 2012)

More information about the webkit-dev mailing list