You are not logged in.

1

Monday, April 19th 2004, 9:01am

problem building kdebase-3.2.1

i have a real wired problem building kdebase.

kdelib built without any errors...

make[4]: Entering directory `/sources/kdebase-3.2.1/kcontrol/background'
if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/kde-3.2.1/include -I/usr/include/qt3 -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -MT bgadvanced_ui.lo -MD -MP -MF ".deps/bgadvanced_ui.Tpo" \
-c -o bgadvanced_ui.lo `test -f 'bgadvanced_ui.cpp' || echo './'`bgadvanced_ui.cpp; \
then mv -f ".deps/bgadvanced_ui.Tpo" ".deps/bgadvanced_ui.Plo"; \
else rm -f ".deps/bgadvanced_ui.Tpo"; exit 1; \
fi
bgadvanced_ui.cpp: In constructor `BGAdvancedBase::BGAdvancedBase(QWidget*, const char*, uint)':
bgadvanced_ui.cpp:87: error: invalid use of undefined type `struct KColorButton'
bgadvanced_ui.h:27: error: forward declaration of `struct KColorButton'
bgadvanced_ui.cpp:88: error: invalid use of undefined type `struct KColorButton'
bgadvanced_ui.h:27: error: forward declaration of `struct KColorButton'
bgadvanced_ui.cpp:90: error: no matching function for call to `QGridLayout::addWidget(KColorButton*&, int, int)'
/usr/include/qt3/qlayout.h:331: note: candidates are: void QGridLayout::addWidget(QWidget*, int, int, int)
bgadvanced_ui.cpp:92: error: invalid use of undefined type `struct KColorButton'
bgadvanced_ui.h:27: error: forward declaration of `struct KColorButton'
bgadvanced_ui.cpp:93: error: invalid use of undefined type `struct KColorButton'
bgadvanced_ui.h:27: error: forward declaration of `struct KColorButton'
bgadvanced_ui.cpp:93: error: invalid use of undefined type `struct KColorButton'
bgadvanced_ui.h:27: error: forward declaration of `struct KColorButton'
bgadvanced_ui.cpp:95: error: no matching function for call to `QGridLayout::addWidget(KColorButton*&, int, int)'
/usr/include/qt3/qlayout.h:331: note: candidates are: void QGridLayout::addWidget(QWidget*, int, int, int)
bgadvanced_ui.cpp:134: error: no matching function for call to `BGAdvancedBase::connect(QCheckBox*&, const char[15], KColorButton*&, const char[18])'
/usr/include/qt3/qobject.h:116: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*)
/usr/include/qt3/qobject.h:227: note: bool QObject::connect(const QObject*, const char*, const char*) const
bgadvanced_ui.cpp:141: error: no matching function for call to `BGAdvancedBase::setTabOrder(QPushButton*&, KColorButton*&)'
/usr/include/qt3/qwidget.h:309: note: candidates are: static void QWidget::setTabOrder(QWidget*, QWidget*)
bgadvanced_ui.cpp:142: error: no matching function for call to `BGAdvancedBase::setTabOrder(KColorButton*&, QCheckBox*&)'
/usr/include/qt3/qwidget.h:309: note: candidates are: static void QWidget::setTabOrder(QWidget*, QWidget*)
bgadvanced_ui.cpp:143: error: no matching function for call to `BGAdvancedBase::setTabOrder(QCheckBox*&, KColorButton*&)'
/usr/include/qt3/qwidget.h:309: note: candidates are: static void QWidget::setTabOrder(QWidget*, QWidget*)
bgadvanced_ui.cpp:144: error: no matching function for call to `BGAdvancedBase::setTabOrder(KColorButton*&, QCheckBox*&)'
/usr/include/qt3/qwidget.h:309: note: candidates are: static void QWidget::setTabOrder(QWidget*, QWidget*)
bgadvanced_ui.cpp:148: error: no matching function for call to `QLabel::setBuddy(KColorButton*&)'
/usr/include/qt3/qlabel.h:95: note: candidates are: virtual void QLabel::setBuddy(QWidget*)
bgadvanced_ui.cpp: In member function `virtual void BGAdvancedBase::languageChange()':
bgadvanced_ui.cpp:195: error: invalid use of undefined type `struct KColorButton'
bgadvanced_ui.h:27: error: forward declaration of `struct KColorButton'
bgadvanced_ui.cpp:196: error: no matching function for call to `QWhatsThis::add(KColorButton*&, QString)'
/usr/include/qt3/qwhatsthis.h:63: note: candidates are: static void QWhatsThis::add(QWidget*, const QString&)
bgadvanced_ui.cpp:197: error: invalid use of undefined type `struct KColorButton'
bgadvanced_ui.h:27: error: forward declaration of `struct KColorButton'
bgadvanced_ui.cpp:198: error: no matching function for call to `QWhatsThis::add(KColorButton*&, QString)'
/usr/include/qt3/qwhatsthis.h:63: note: candidates are: static void QWhatsThis::add(QWidget*, const QString&)
make[4]: *** [bgadvanced_ui.lo] Error 1
make[4]: Leaving directory `/sources/kdebase-3.2.1/kcontrol/background'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/sources/kdebase-3.2.1/kcontrol/background'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/sources/kdebase-3.2.1/kcontrol'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/sources/kdebase-3.2.1'
make: *** [all] Error 2

2

Tuesday, April 20th 2004, 6:32pm

Re

What version of QT do you have ??

3

Wednesday, April 21st 2004, 12:21am

i have qt 3.3.1 built on a linux 2.6.5er kernel with the newes gcc.
perhaps problems with the new gcc?