Bug 198441 - Kdevplatform 0.9.94 (and svn) doesn't compile with boost 1.39
Summary: Kdevplatform 0.9.94 (and svn) doesn't compile with boost 1.39
Status: RESOLVED NOT A BUG
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-30 19:55 UTC by Jakub Schmidtke
Modified: 2009-07-01 00:49 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub Schmidtke 2009-06-30 19:55:12 UTC
Version:           0.9.94 (using Devel)
Compiler:          gcc-4.4.0 
OS:                Linux
Installed from:    Compiled sources

When trying to compile kdevplatform 0.9.94, or current svn revision with boost 1.39, it fails with following message:

[ 83%] Building CXX object plugins/classbrowser/CMakeFiles/kdevclassbrowser.dir/allclassesfolder.o
/home/tmp/kdevplatform-svn/src/kdevplatform/plugins/classbrowser/allclassesfolder.cpp:103: warning: unused parameter ‘context’
Linking CXX shared module ../../lib/kdevclassbrowser.so
CMakeFiles/kdevclassbrowser.dir/allclassesfolder.o: In function `boost::serialization::throw_exception(std::exception const&)':
/usr/include/boost/serialization/throw_exception.hpp:29: multiple definition of `boost::serialization::throw_exception(std::exception const&)'
CMakeFiles/kdevclassbrowser.dir/classmodel.o:/usr/include/boost/serialization/throw_exception.hpp:30: first defined here
CMakeFiles/kdevclassbrowser.dir/classmodel.o: In function `boost::serialization::throw_exception(std::exception const&)':
classmodel.cpp:(.text+0x9b1): undefined reference to `boost::throw_exception(std::exception const&)'
CMakeFiles/kdevclassbrowser.dir/allclassesfolder.o: In function `boost::serialization::throw_exception(std::exception const&)':
allclassesfolder.cpp:(.text+0x501): undefined reference to `boost::throw_exception(std::exception const&)'
collect2: ld returned 1 exit status
make[2]: *** [lib/kdevclassbrowser.so] Error 1
make[1]: *** [plugins/classbrowser/CMakeFiles/kdevclassbrowser.dir/all] Error 2
make: *** [all] Error 2

After downgrading to Boost 1.37 everything is fine.

Other versions:
kdelibs-4.2.95
gcc-4.4.0
Comment 1 Andreas Pakulat 2009-06-30 20:20:44 UTC
please report build problems to the development list.
Comment 2 Amilcar do Carmo Lucas 2009-07-01 00:19:26 UTC
Most probably you used the following page to install KDevelop:
http://www.kdevelop.org/mediawiki/index.php/KDevelop_4/compiling

Why didn't you read point 6 ?
Comment 3 Jakub Schmidtke 2009-07-01 00:49:22 UTC
I haven't used that page.
Actually it would be nice to add there something similar to http://www.kdevelop.org/mediawiki/index.php/KDevelop_4/requirements, but about kdevplatform.