Menu

#10 Build fails on Fedora 13 x86_64

open
nobody
None
5
2010-07-25
2010-07-25
skolnick
No

When trying to build gizmo daemon 3.5 on Fedora 13, it fails like this:

Scanning dependencies of target gizmod
[ 88%] Building CXX object gizmod/CMakeFiles/gizmod.dir/GizmoDaemon.o
[ 90%] Building CXX object gizmod/CMakeFiles/gizmod.dir/GizmoUtils.o
[ 92%] Building CXX object gizmod/CMakeFiles/gizmod.dir/GizmodEventHandlerInterface.o
[ 94%] Building CXX object gizmod/CMakeFiles/gizmod.dir/Main.o
Linking CXX executable gizmod
/usr/bin/ld: CMakeFiles/gizmod.dir/GizmoDaemon.o: undefined reference to symbol 'boost::system::get_system_category()'
/usr/bin/ld: note: 'boost::system::get_system_category()' is defined in DSO /usr/lib64/libboost_system.so.1.41.0 so try adding it to the linker command line
/usr/lib64/libboost_system.so.1.41.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [gizmod/gizmod] Error 1
make[1]: *** [gizmod/CMakeFiles/gizmod.dir/all] Error 2
make: *** [all] Error 2
gpulido@megatron:~/tarballs/gizmod-3.5/build$

This is related to a change introduced in Fedora 13 (gizmo builds fine on Fedora 12): http://fedoraproject.org/wiki/UnderstandingDSOLinkChange

Note: Fedora 13 also requires the gentoo patch for GCC 4.4 attached in a previous bug.

Discussion


Log in to post a comment.