kdevplatform:teamwork plugin under Kubuntu

Andrew Lowe andrew.lowe at manildra.com.au
Wed Jun 18 09:25:43 UTC 2008


Hi all, 
I have tried to get kdevplatform to compile and it will not compile with the 
teamwork plugin.  (Want to help with some quanta stuff).
Disabling this plugin lets it compile with no errors.

svn co from anonsvn last night (version 821406)

I am running Kubuntu 8.04 with KDE 4.1 beta packages.

The last lines of the build are below:

[69%] Built target network Linking CXX shared library 
../../../../lib/libdynamictext.so CMakeFiles/dynamictext.dir/dynamictext.o: In 
function `__exchange_and_add_dispatch': 
/usr/include/c++/4.2/ext/atomicity.h:83: undefined reference to 
`pthread_cancel' /usr/include/c++/4.2/ext/atomicity.h:83: undefined reference 
to `pthread_cancel' /usr/include/c++/4.2/ext/atomicity.h:83: undefined 
reference to `pthread_cancel' /usr/include/c++/4.2/ext/atomicity.h:83: 
undefined reference to `pthread_cancel' 
/usr/include/c++/4.2/ext/atomicity.h:83: undefined reference to 
`pthread_cancel' 
CMakeFiles/dynamictext.dir/dynamictext.o:/usr/include/c++/4.2/ext/atomicity.h:83: 
more undefined references to `pthread_cancel' follow collect2: ld returned 1 
exit status make[2]: *** [lib/libdynamictext.so] Error 1 make[1]: *** 
[plugins/teamwork/lib/dynamictext/CMakeFiles/dynamictext.dir/all] Error 2 
make: *** [all] Error 2

atomicity.h seems to be provided by libstdc++6-4.2-dev package.  It is also 
provided by the same package but versions libstdc++6-4.1, and libstdc++5-3.3. 

My belief is that this indicates that the teamwork plugin is not compatible 
with g++ version 4.2. (4.2.3 to be exact) (or perhaps the kubuntu version is 
broken?)
The kdevelop website indicates that you only need g++ version 3.3 or greater 
(or compatible).
Or is cmake looking at the wrong library?
Has anyone been able to get it to compile under g++ (and libstc++) of these 
versions?

I should be able to provide any more info if needed...

Thanks
Andrew Lowe
andrew.lowe at manildra.com.au




More information about the KDevelop-devel mailing list