Error compiling khtml in kdelibs-cvs

Jan Drugowitsch jdrugo at
Thu Sep 12 09:42:18 BST 2002

After checking out kdelibs from CVS and trying to compile it, i get the 
following error:

/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H 
-I. -I. -I../.. -I../../kimgio -I../../kio -I../../dcop -I../../kfile 
-I../../khtml -I../.. -I../../dcop -I../../libltdl -I../../kdecore 
-I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. 
-I/opt/qt/include -I/usr/X11R6/include -I/opt/kde3/include   
-DQT_THREAD_SUPPORT  -D_REENTRANT   -Wnon-virtual-dtor -Wno-long-long 
-Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith 
-Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
-Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O3 -march=i386 -mcpu=i686 
-fno-exceptions -fno-check-new  -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE 
-DQT_NO_ASCII_CAST -DQT_NO_COMPAT  -c -o render_style.lo `test -f 
'render_style.cpp' || echo './'`render_style.cpp
render_style.cpp: In method `khtml::StyleInheritedData::StyleInheritedData()':
render_style.cpp:122: class `khtml::StyleInheritedData' does not have any 
field named `cursor_image'
render_style.cpp: In method 
khtml::StyleInheritedData &)':
render_style.cpp:133: `class khtml::StyleInheritedData' has no member named 
render_style.cpp:133: class `khtml::StyleInheritedData' does not have any 
field named `cursor_image'
render_style.cpp: In method `bool khtml::StyleInheritedData::operator ==(const 
khtml::StyleInheritedData &) const':
render_style.cpp:146: `cursor_image' undeclared (first use this function)
render_style.cpp:146: (Each undeclared identifier is reported only once
render_style.cpp:146: for each function it appears in.)
render_style.cpp:146: `class khtml::StyleInheritedData' has no member named 
render_style.cpp:153: warning: control reaches end of non-void function 
`khtml::StyleInheritedData::operator ==(const khtml::StyleInheritedData &) 
make[3]: *** [render_style.lo] Error 1
make[3]: Leaving directory `/home/build/builds/kde/kdelibs/khtml/rendering'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/build/builds/kde/kdelibs/khtml'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/build/builds/kde/kdelibs'
make: *** [all] Error 2

Accoring to render_style.h (and some class-references on the web) there is no 
cursor_image in StyleInheritedData, but removing its assignment in 
render_style.cpp leads to a later error somwhere in kdelibs/khtml/ where this 
cursor_image is used.

I expected something like a 'change in progress' but as the khtml/-subdir did 
not change in the repository in the last few days and I cannot find any 
references on the web or usenet, there seems to be something wrong on my 
side. As my C++ is not good enough to even fix the slightest problem, I am 
now coming here for help (hope this is the right mailinglist).

TIA, Jan
This message is from the kde mailing list.
Account management:
More info:

More information about the kde mailing list