From koffice Tue Nov 05 09:08:33 2002 From: Malte Schuenemann Date: Tue, 05 Nov 2002 09:08:33 +0000 To: koffice Subject: Re: Fwd: Re: Fwd: Compiling koffice 1.2 fails consistently X-MARC-Message: https://marc.info/?l=koffice&m=103648741125504 Also tried using gcc 3.2 - same gcc as used when compiling QT and KDE. Got following compiler errors /bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../kivio/kiviopart -I../../../kivio/kiviopart/kiviosdk -I../../../kivio/kiviopart/tklib -I../../../lib/kofficeui -I../../../lib/kofficeui -I../../../lib/kofficecore -I../../../lib/kofficecore -I../../../lib/store -I../../../lib/store -I../../../lib/kwmf -I../../../lib/kwmf -I/usr/local/kde3/include -I/usr/local/qt3/include -I/usr/X11R6/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 -O2 -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -DKDE_NO_COMPAT -c -o guidessetupdialogbase.lo `test -f guidessetupdialogbase.cpp || echo './'`guidessetupdialogbase.cpp guidessetupdialogbase.cpp: In constructor `GuidesSetupDialogBase::GuidesSetupDialogBase(QWidget*, const char*, unsigned int)': guidessetupdialogbase.cpp:32: invalid use of undefined type `struct KColorButton' guidessetupdialogbase.h:17: forward declaration of `struct KColorButton' guidessetupdialogbase.cpp:33: invalid use of undefined type `struct KColorButton' guidessetupdialogbase.h:17: forward declaration of `struct KColorButton' guidessetupdialogbase.cpp:35: no matching function for call to `QGridLayout:: addWidget(KColorButton*&, int, int)' /usr/local/qt3/include/qlayout.h:323: candidates are: void QGridLayout::addWidget(QWidget*, int, int, int = 0) guidessetupdialogbase.cpp:52: invalid use of undefined type `struct KColorButton' guidessetupdialogbase.h:17: forward declaration of `struct KColorButton' guidessetupdialogbase.cpp:53: invalid use of undefined type `struct KColorButton' guidessetupdialogbase.h:17: forward declaration of `struct KColorButton' guidessetupdialogbase.cpp:55: no matching function for call to `QGridLayout:: addWidget(KColorButton*&, int, int)' /usr/local/qt3/include/qlayout.h:323: candidates are: void QGridLayout::addWidget(QWidget*, int, int, int = 0) guidessetupdialogbase.cpp:69: no matching function for call to `QLabel:: setBuddy(KColorButton*&)' /usr/local/qt3/include/qlabel.h:94: candidates are: virtual void QLabel::setBuddy(QWidget*) guidessetupdialogbase.cpp:70: no matching function for call to `QLabel:: setBuddy(KColorButton*&)' /usr/local/qt3/include/qlabel.h:94: candidates are: virtual void QLabel::setBuddy(QWidget*) make[4]: *** [guidessetupdialogbase.lo] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 make[4]: Leaving directory `/home/src/koffice-1.2/kivio/kiviopart/ui' make[3]: Leaving directory `/home/src/koffice-1.2/kivio/kiviopart' make[2]: Leaving directory `/home/src/koffice-1.2/kivio' make[1]: Leaving directory `/home/src/koffice-1.2' => still stuck Any idea ? --- Malte Schuenemann wrote: > Yes, I compiled QT and KDE using gcc 3.2. I tried to > compile koffice wsing gcc 3.2 and using gcc 3.1 - > the > error messages are from my last attempt with gcc3.1 > . > > Malte > > --- Malte Schuenemann > wrote: > > Date: Mon, 4 Nov 2002 23:42:46 -0800 (PST) > > From: Malte Schuenemann > > > > Subject: Re: Fwd: Compiling koffice 1.2 fails > > consistently > > To: malte_schuenemann@yahoo.com > > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > On Monday 04 November 2002 13:32, Malte > Schuenemann > > wrote: > > > Using gcc-3.1.1 I still get errors: > > > > > > .libs/koMainWindow.o(.gnu.linkonce.d._ZTC12KoMainWindow0_N6KParts10MainWindowE+0x300): > > > undefined reference to `virtual thunk [v:0,-20] > to > > > KParts::MainWindow::~MainWindow [in-charge]()' > > > > > > .libs/koMainWindow.o(.gnu.linkonce.d._ZTC12KoMainWindow0_N6KParts10MainWindowE+0x304): > > > undefined reference to `virtual thunk [v:0,-20] > to > > > KParts::MainWindow::~MainWindow [in-charge > > > deleting]()' > > > > Did you compile Qt, kdelibs, and koffice with the > > _same_ C++ compiler? > > (You mention various versions of gcc, they're > > incompatible) > > > > - -- > > > > ===== > > Gruß / regards, > > Malte Schünemann > > > > __________________________________________________ > > Do you Yahoo!? > > HotJobs - Search new jobs daily now > > http://hotjobs.yahoo.com/ > > > __________________________________________________ > Do you Yahoo!? > HotJobs - Search new jobs daily now > http://hotjobs.yahoo.com/ > ____________________________________ > koffice mailing list > koffice@mail.kde.org > To unsubscribe please visit: > http://mail.kde.org/mailman/listinfo/koffice __________________________________________________ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ ____________________________________ koffice mailing list koffice@mail.kde.org To unsubscribe please visit: http://mail.kde.org/mailman/listinfo/koffice