This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KDE4/QT4: Kdesupport compile problem

Tags: None
(comma "," separated)
rbmj
Registered Member
Posts
1
Karma
0
Hey,

I'm running puppy linux and was compiling KDE 4 from the trunk branch on SVN. When i go to compile kdesupport, i get:

----------------------------------------------

[ 0%] Built target automoc4
[ 0%] Building CXX object akonadi/libs/CMakeFiles/akonadiprotocolinternals.dir/notificationmessage.cpp.o

In file included from /usr/include/QtDBus/qdbusextratypes.h:45,
from /usr/include/QtDBus/qdbusargument.h:48,
from /usr/include/QtDbus/QDbusArgument:1,
from /root/kdesupport/akonadi/libs/notificationmessage_p.h:28:
/usr/include/QtDBus/qdbusmacros.h:65: error: expected constructor, destructor, or type conversion before 'typedef'
/usr/include/QtDBus/qdbusmacros.h:66: error 'QT_END_NAMESPACE' does not name a type

In file included from /usr/include/QtDBus/qdbusargument.h:48,
from /usr/include/QtDBus/QDBusArgument:1,
from /root/kdesupport/akonadi/libs/notificationmessage_p.h:28,
from /root/kdesupport/akonadi/libs/notificationmessage.cpp:20:
/usr/include/QtDBus/qdbusextratypes.h:148: error: expected constructor, destructor, or type conversion before 'template'
make[2]: *** [akonadi/libs/CMakeFiles/akonadiprotocolinternals.dir/notificationmessage.cpp.o] Error 1
make[1]: *** [akonadi/libs/CmakeFiles/akonadiprotocolinternals.dir/all] Error 2
make: *** [all] Error 2

---------------------------------

I'm pretty sure this is a problem with preprocessor macros in one of the header files, but i'm not sure. Can someone shed more light on this? Thanks,

Me.
User avatar
anda_skoa
KDE Developer
Posts
783
Karma
4
OS
Could the build be picking up a wrong header?

Maybe one of those included before line 28 in kdesupport/akonadi/libs/notificationmessage_p.h

Cheers,
_


anda_skoa, proud to be a member of KDE forums since 2008-Oct.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]