[webkit-dev] help: webkit build error on linux
Mike Hommey
mh+webkit at glandium.org
Fri Sep 28 09:33:41 PDT 2007
On Fri, Sep 28, 2007 at 08:55:39PM +0800, lan liu wrote:
> 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
It looks like you don't have bison installed. You should also install
flex if not already installed.
Mike
More information about the webkit-dev
mailing list