On Thu, 2011-08-11 at 12:00 +0530, bharath vissapragada wrote: > The version you get in synaptic is 2.2 by default for 10.04 . Download > it from http://code.google.com/p/protobuf/downloads/list and install > the latest version.
I did that - now scons crashes with this error (works perfectly in Fedora): gisuser@Serendipity1:~/osm/osrm$ scons scons: Reading SConscript files ... Using default C++ Compiler: g++ Checking for C header file omp.h... (cached) yes Checking for C++ library xml2... (cached) yes Checking for C++ library z... (cached) yes Checking for C++ header file stxxl.h... (cached) yes Checking for C++ header file google/sparse_hash_map... (cached) yes Checking for C++ header file boost/asio.hpp... (cached) yes Checking for C++ library bz2... (cached) yes Checking for C++ library boost_thread... (cached) yes Checking for C++ header file boost/thread.hpp... (cached) yes Checking for C++ library boost_system... (cached) yes Checking for C++ header file boost/bind.hpp... (cached) yes Checking for C++ header file boost/thread.hpp... (cached) yes Checking for C++ header file boost/noncopyable.hpp... (cached) yes Checking for C++ header file boost/shared_ptr.hpp... (cached) yes Checking for C++ library stxxl... (cached) yes Checking for C++ library protobuf... (cached) yes Checking for Boost version >= 1.37... (cached) yes Checking for Protobuffer version >= 2.3.0... (cached) yes scons: done reading SConscript files. scons: Building targets ... protoc -I=DataStructures/pbf-proto --cpp_out=DataStructures/pbf-proto DataStructures/pbf-proto/fileformat.proto protoc -I=DataStructures/pbf-proto --cpp_out=DataStructures/pbf-proto DataStructures/pbf-proto/osmformat.proto g++ -o routed -fopenmp -lboost_system DataStructures/pbf-proto/fileformat.pb.o DataStructures/pbf-proto/osmformat.pb.o routed.o -lxml2 -lz -lbz2 -lboost_thread -lboost_system -lstxxl -lprotobuf routed.o: In function `T.9675': routed.cpp:(.text+0x199d): undefined reference to `boost::system::system_category()' routed.cpp:(.text+0x19b4): undefined reference to `boost::system::system_category()' routed.cpp:(.text+0x19d9): undefined reference to `boost::system::system_category()' routed.cpp:(.text+0x19e8): undefined reference to `boost::system::system_category()' routed.cpp:(.text+0x1a20): undefined reference to `boost::system::system_category()' routed.o:routed.cpp:(.text+0x1a55): more undefined references to `boost::system::system_category()' follow routed.o: In function `global constructors keyed to _Z5y2latd': routed.cpp:(.text+0x5d3e): undefined reference to `boost::system::generic_category()' routed.cpp:(.text+0x5d4a): undefined reference to `boost::system::generic_category()' routed.cpp:(.text+0x5d56): undefined reference to `boost::system::system_category()' routed.cpp:(.text+0x5d62): undefined reference to `boost::system::system_category()' routed.o: In function `int boost::asio::detail::socket_ops::error_wrapper<int>(int, boost::system::error_code&)': routed.cpp:(.text._ZN5boost4asio6detail10socket_ops13error_wrapperIiEET_S4_RNS_6system10error_codeE[int boost::asio::detail::socket_ops::error_wrapper<int>(int, boost::system::error_code&)]+0xa): undefined reference to `boost::system::system_category()' routed.o: In function `boost::asio::detail::object_pool<boost::asio::detail::epoll_reactor::descriptor_state>::destroy_list(boost::asio::detail::epoll_reactor::descriptor_state*)': routed.cpp:(.text._ZN5boost4asio6detail11object_poolINS1_13epoll_reactor16descriptor_stateEE12destroy_listEPS4_[boost::asio::detail::object_pool<boost::asio::detail::epoll_reactor::descriptor_state>::destroy_list(boost::asio::detail::epoll_reactor::descriptor_state*)]+0x69): undefined reference to `boost::system::system_category()' routed.o: In function `boost::asio::detail::reactive_socket_send_op_base<boost::asio::detail::consuming_buffers<boost::asio::const_buffer, std::vector<boost::asio::const_buffer, std::allocator<boost::asio::const_buffer> > > >::do_perform(boost::asio::detail::reactor_op*)': routed.cpp:(.text._ZN5boost4asio6detail28reactive_socket_send_op_baseINS1_17consuming_buffersINS0_12const_bufferESt6vectorIS4_SaIS4_EEEEE10do_performEPNS1_10reactor_opE[boost::asio::detail::reactive_socket_send_op_base<boost::asio::detail::consuming_buffers<boost::asio::const_buffer, std::vector<boost::asio::const_buffer, std::allocator<boost::asio::const_buffer> > > >::do_perform(boost::asio::detail::reactor_op*)]+0x143): undefined reference to `boost::system::system_category()' routed.o:routed.cpp:(.text._ZN5boost4asio6detail28reactive_socket_send_op_baseINS1_17consuming_buffersINS0_12const_bufferESt6vectorIS4_SaIS4_EEEEE10do_performEPNS1_10reactor_opE[boost::asio::detail::reactive_socket_send_op_base<boost::asio::detail::consuming_buffers<boost::asio::const_buffer, std::vector<boost::asio::const_buffer, std::allocator<boost::asio::const_buffer> > > >::do_perform(boost::asio::detail::reactor_op*)]+0x15a): more undefined references to `boost::system::system_category()' follow collect2: ld returned 1 exit status scons: *** [routed] Error 1 scons: building terminated because of errors. _______________________________________________ talk mailing list [email protected] http://lists.openstreetmap.org/listinfo/talk

