From koffice Thu Dec 19 10:04:45 2002 From: Michael Thaler Date: Thu, 19 Dec 2002 10:04:45 +0000 To: koffice Subject: Compiling error X-MARC-Message: https://marc.info/?l=koffice&m=104029236529384 Hello, I just tried to compile KOffice from CVS and encountered the following error: source='contents.cc' object='contents.lo' libtool=yes \ depfile='.deps/contents.Plo' tmpdepfile='.deps/contents.TPlo' \ depmode=gcc /bin/sh ../admin/depcomp \ /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -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../lib/kformula -I../lib/kotext -I../lib/kotext -I../lib/kospell -I/usr/local/kde/include -I/usr/local/qt/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -O3 -mcpu=i686 -march=i686 -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -malign-functions=4 -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -DKDE_NO_COMPAT -c -o contents.lo `test -f 'contents.cc' || echo './'`contents.cc contents.cc: In function `static class KoTextCursor * KWInsertTOCCommand::removeTOC(KWTextFrameSet *, KoTextCursor *, KMacroCommand *)': contents.cc:173: type `KWTextParag' is not a base type for type `KoTextParag' contents.cc:182: type `KWTextParag' is not a base type for type `KoTextParag' contents.cc:194: type `KWTextParag' is not a base type for type `KoTextParag' make[3]: *** [contents.lo] Error 1 make[3]: Leaving directory `/usr/local/src/kde/koffice/kword' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/kde/koffice/kword' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/kde/koffice' make: *** [all] Error 2 I compiled it on Debian/testing, Qt3.1-rc2 and KDE3.1rc2 with the following compiler options: CXXFLAGS=' -O3 -mcpu=i686 -march=i686 -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -malign-functions=4' Any suggestions what is causing the problem? Thanks, Michael ____________________________________ koffice mailing list koffice@mail.kde.org To unsubscribe please visit: http://mail.kde.org/mailman/listinfo/koffice