Compiling kde-client (proko2) fails

T. Ribbrock admin_slox-e at itsef.com
Mon Jan 2 14:34:07 CET 2006


Hi all,

I'm currently trying to build the kde-client (proko2, 2.0.4) on a SuSE
10.0 system (i.e. gcc 4). To be more precise: I'm doing a rebuild of the
SuSE 9.1 packages that were provided by some kind soul.

I'm getting the following error message:

[...]
make[3]: Entering directory `/usr/src/packages/BUILD/kdepim-3.3.proko2.0.4/kmail'
if /bin/sh ../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../libkdenetwork -I../libkdepim -I../libkpimidentities -I../libksieve -I../mimelib -I../certmanager/lib -I..  -I/opt/kde3/include -I/usr/lib/qt3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT -D_FILE_OFFSET_BITS=64  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -g3 -fno-inline -O2 -g -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT kmfoldermbox.lo -MD -MP -MF ".deps/kmfoldermbox.Tpo" -c -o kmfoldermbox.lo kmfoldermbox.cpp; \
then mv -f ".deps/kmfoldermbox.Tpo" ".deps/kmfoldermbox.Plo"; else rm -f ".deps/kmfoldermbox.Tpo"; exit 1; fi
kmfoldermbox.cpp: In member function 'virtual KMail::FolderJob* KMFolderMbox::doCreateJob(KMMessage*, KMail::FolderJob::JobType, KMFolder*, QString, const KMail::AttachmentStrategy*) const':
mboxjob.h:52: error: 'void KMail::MboxJob::setParent(const KMFolderMbox*)' is protected
kmfoldermbox.cpp:432: error: within this context
kmfoldermbox.cpp: In member function 'virtual KMail::FolderJob* KMFolderMbox::doCreateJob(QPtrList<KMMessage>&, const QString&, KMail::FolderJob::JobType, KMFolder*) const':
mboxjob.h:52: error: 'void KMail::MboxJob::setParent(const KMFolderMbox*)' is protected
kmfoldermbox.cpp:442: error: within this context
make[3]: *** [kmfoldermbox.lo] Error 1
make[3]: Leaving directory `/usr/src/packages/BUILD/kdepim-3.3.proko2.0.4/kmail'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/packages/BUILD/kdepim-3.3.proko2.0.4/kmail'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/kdepim-3.3.proko2.0.4'
make: *** [all] Error 2
[...]

which - lacking any C++ experience - means zilch to me. Hence, I'm
wondering whether anybody can help out: Is this due to some missing
file(s), or is it due to some compiler flags that rpm is using or is it
due to some gcc 4 issue or ...? Any hints appreciated. In the meantime,
I'll try a plain compile on the same machine without rpm involved...

Cheerio,

Thomas




More information about the users mailing list