[kde-solaris] solaris 9 compilation error

Robert Andersson kde-solaris@mail.kde.org
Thu Apr 3 17:40:42 2003


hi all!

i few moments ago (quite a few really :) i got kde 3.1.1 off the
internet and started to kompile it for solaris 9. art and kdelibs went
like a charm, no problems what so ever. but when compiling kdebase i
get this error

-----kde compilation error starts-----
Making all in konqhtml
gmake[1]: Entering directory `/usr/local/src/kde/kdebase-3.1.1/kcontrol/konqhtml'
source='nsconfigwidget.cpp' object='nsconfigwidget.lo' libtool=yes \
depfile='.deps/nsconfigwidget.Plo' tmpdepfile='.deps/nsconfigwidget.TPlo' \
depmode=gcc /bin/bash ../../admin/depcomp \
/bin/bash ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libkonq -I../../kcontrol/input -I/usr/local/kde/include -I/usr/local/qt/include    -DQT_THREAD_SUPPORT  -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -O2 -O3 -mcpu=v8 -mtune=v9 -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -D_GNU_SOURCE  -c -o nsconfigwidget.lo `test -f 'nsconfigwidget.cpp' || echo './'`nsconfigwidget.cpp
nsconfigwidget.cpp: In method `NSConfigWidget::NSConfigWidget(QWidget * = 0, const char * = 0, unsigned int = 0)':
nsconfigwidget.cpp:69: invalid use of undefined type `class KURLRequester'
nsconfigwidget.h:23: forward declaration of `class KURLRequester'
nsconfigwidget.cpp:70: invalid use of undefined type `class KURLRequester'
nsconfigwidget.h:23: forward declaration of `class KURLRequester'
nsconfigwidget.cpp:71: invalid use of undefined type `class KURLRequester'
nsconfigwidget.h:23: forward declaration of `class KURLRequester'
nsconfigwidget.cpp:73: no matching function for call to `QGridLayout::addMultiCellWidget (KURLRequester *&, int, int, int, int)'
/usr/local/qt/include/qlayout.h:326: candidates are: void QGridLayout::addMultiCellWidget(QWidget *, int, int, int, int, int = 0)
nsconfigwidget.cpp:85: invalid use of undefined type `class KListBox'
nsconfigwidget.h:24: forward declaration of `class KListBox'
nsconfigwidget.cpp:86: invalid use of undefined type `class KListBox'
nsconfigwidget.h:24: forward declaration of `class KListBox'
nsconfigwidget.cpp:88: no matching function for call to `QGridLayout::addMultiCellWidget (KListBox *&, int, int, int, int)'
/usr/local/qt/include/qlayout.h:326: candidates are: void QGridLayout::addMultiCellWidget(QWidget *, int, int, int, int, int = 0)
gmake[1]: *** [nsconfigwidget.lo] Error 1
gmake[1]: Leaving directory `/usr/local/src/kde/kdebase-3.1.1/kcontrol/konqhtml'
gmake: *** [all-recursive] Error 1
-----kde compilation error stops-----

anyone got any idea what is going on, and that can provide me with a
work around or patch? i would be very grateful for any hints to what
it is that i have done wrong.

i can mention that i successfully kompiled kdepim though, works just
fine under my fvwm2-system :)

yours,
/robert

-- 
Systems Administrator
Swedish National Graduate School of Language Technology