[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

compiling bookcase and kbirthday



Hi,

I tried to compile bookcase and kbirthday but their compilations stopped
with the following errors:

--- kbirthday ---
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/include/qt
-I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -O2 -fno-exceptions
-fno-check-new -c confdlg.cpp -Wp,-MD,.deps/confdlg.TPlo  -fPIC -DPIC -o
.libs/confdlg.o
confdlg.cpp: In method `ConfDlg::ConfDlg(QWidget * = 0, const char * = 0,
bool = FALSE, unsigned int = 0)':
confdlg.cpp:141: invalid use of undefined type `class KColorButton'
confdlg.h:17: forward declaration of `class KColorButton'
[...]
confdlg.cpp:145: no matching function for call to `QGridLayout::addWidget
(KColorButton *&, int, int)'
/usr/include/qt/qlayout.h:323: candidates are: void
QGridLayout::addWidget(QWidget *, int, int, int = 0)
confdlg.cpp: In method `ConfDlg::ConfDlg(QWidget * = 0, const char * = 0,
bool = FALSE, unsigned int = 0)':
confdlg.cpp:141: invalid use of undefined type `class KColorButton'
confdlg.h:17: forward declaration of `class KColorButton'
[...]
confdlg.cpp:145: no matching function for call to `QGridLayout::addWidget
(KColorButton *&, int, int)'
/usr/include/qt/qlayout.h:323: candidates are: void
QGridLayout::addWidget(QWidget *, int, int, int = 0)
make[2]: *** [confdlg.lo] Error 1

--- bookcase ---
tons of lines reporting errors, but most of them looks like this one:

bccollectionview.moc.o(.text+0x425): In function `BCCollectionView::qt_invoke(int, QUObject *)':
: undefined reference to `BCCollectionView::slotClearSelection(void)'
bccollectionview.moc.o(.gnu.linkonce.t.__thunk_40__._16BCCollectionView+0x6):
In function `virtual function thunk (delta:-40) for BCCollectionView::~BCCollectionView(void)':
: undefined reference to `BCCollectionView::~BCCollectionView(void)' bccollectionview.moc.o(.gnu.linkonce.d.__vt_16BCCollectionView+0x20):
undefined reference to `BCCollectionView::~BCCollectionView(void)'


I have the following Debian packages installed:
libqt3-dev     3.0.5-4
libqt3-mt-dev  3.0.5-4
kdebase-dev    3.0.4-1
kdelibs4-dev   3.0.4-1
libkdenetwork2 3.0.4-1

Other tools, like kmyfirewall, knetfilter, guarddog, or kdown, compiles
flawlessly.

Can someone give me a hint on what to do to compile these programs?

-- 
 Gabor Gludovatz <ggabor@sopron.hu>  -  Phone: +36 (20) 9 109 129
     http://gludo.sopron.hu/ * http://gludo.sopron.hu/gpg.txt
GPG fingerprint: 8D0C 6AE8 5875 751E 5122-1DAE 4990 1A4E BC2E C8B9




Reply to: