[webkit-dev] help: webkit build error on linux

lan liu michelle.liunpu at gmail.com
Fri Sep 28 05:55:39 PDT 2007


Hello webkit-dev,

i check out the source code of version 25773 from
http://svn.webkit.org/repository/webkit/trunk, try to build it, then i got
following error:

g++ -c -o obj-gnu/webcore_gdk_CSSGrammar.o -I../../../JavaScriptCore -I../..
-I../../bindings/js -I../../bridge -I../../css
-I../../DerivedSources/WebCore -I../../dom -I../../editing
-I../../ForwardingHeaders/kjs -I../../history -I../../html -I../../include
-I../../loader -I../../loader/gdk -I../../loader/icon -I../../page
-I../../platform -I../../platform/graphics -I../../platform/graphics/gdk
-I../../platform/image-decoders -I../../platform/image-decoders/bmp
-I../../platform/image-decoders/gif -I../../platform/image-decoders/ico
-I../../platform/image-decoders/jpeg -I../../platform/image-decoders/png
-I../../platform/image-decoders/xbm -I../../platform/image-decoders/zlib
-I../../platform/network -I../../platform/network/gdk -I../../rendering
-I../../xml -DENABLE_XSLT=1 -DLINUX -DUSE_CONSERVATIVE_GC=0
-DHAVE_FUNC_ISNAN -D_THREAD_SAFE -pthread -g -I../../platform/gdk
-I../../platform/network/gdk -DBUILDING_GDK__ -DBUILDING_CAIRO__
-Iplatform/gdk -Iplatform/graphics/cairo -DENABLE_XPATH
-I/usr/include/libxml2 -I/usr/include/libxml2 -g -O2
-I/usr/include/freetype2    -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/cairo    -fPIC -DPIC
-fno-rtti -fno-exceptions   -MTobj-gnu/webcore_gdk_CSSGrammar.o -MF`echo
obj-gnu/webcore_gdk_CSSGrammar.o | sed -e 's,\.o$,.d,'` -MD
../../DerivedSources/WebCore/CSSGrammar.cpp
/home/michelle/Study/Webkit/trunk/WebCore/css/CSSGrammar.y: In function 'int
WebCore::getPropertyID(const char*, int)':
/home/michelle/Study/Webkit/trunk/WebCore/css/CSSGrammar.y:86:
error£º'findProp': identifier not found
/home/michelle/Study/Webkit/trunk/WebCore/css/CSSGrammar.y:90: error£ºinvalid
use of undefined type 'const struct WebCore::props'
/home/michelle/Study/Webkit/trunk/WebCore/css/CSSGrammar.y:86: error£ºforward
declaration of 'const struct WebCore::props'
/home/michelle/Study/Webkit/trunk/WebCore/css/CSSGrammar.y: In function 'int
getValueID(const char*, int)':
/home/michelle/Study/Webkit/trunk/WebCore/css/CSSGrammar.y:111:
error£º'findValue' identifier not found
/home/michelle/Study/Webkit/trunk/WebCore/css/CSSGrammar.y:115:
error£ºinvalid use of undefined type 'const struct css_value'
/home/michelle/Study/Webkit/trunk/WebCore/css/CSSGrammar.y:111:
error£ºforward declaration of 'const struct css_value'
make: *** [obj-gnu/webcore_gdk_CSSGrammar.o] error1

and i tried to find the definition of 'findProp' and 'findValue' in the
entitre directory, but i failed to find it.
also i have found that similiar bugs already reported, with the bug id 9340
and 14841, but no solution found.
could you tell me how to fix this problem or how to avoid it?
i really appreciate if you could give me some hint. thank you!

PS , my building step is like this
cd WebKitTools/Scripts
sudo ./install-unix-extras
cd JavaScriptCore
make
cd ..
cd WebCore/Projects/gdk/
make

thank you and regards!
michelle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/webkit-dev/attachments/20070928/4140b02b/attachment.html


More information about the webkit-dev mailing list