I think you'll have a different boost on your system to the one witty was
built against.
if you go: grep -i boost CMakeCache.txt
In the build dir (or use ccmake and advanced mode) :
http://www.cmake.org/cmake/help/runningcmake.html
you'll see which boost dir it's using for include .. then if you run: make
VERBOSE=true
you'll see in the -l which boost it's strying to link against.
I'd use ccmake to make sure all the boosts it's finding are the same.
Kind Regards,
Matthew Sherborne
On Mon, Sep 26, 2011 at 5:16 PM, Guy Deleeuw <[email protected]> wrote:
> **
> Hello all
> I make an upgrade of witty, but I cannot build last git correctly
> Here the errors messages :
> [ 85%] Building CXX object test/CMakeFiles/test.dir/private/DboImplTest.o
> Linking CXX executable test
> CMakeFiles/test.dir/models/WBatchEditProxyModelTest.o: In function
> `boost::signal6<void, Wt::WModelIndex, int, int, Wt::NoClass, Wt::NoClass,
> Wt::NoClass, boost::last_value<void>, int, std::less<int>,
> boost::function6<void, Wt::WModelIndex, int, int, Wt::NoClass, Wt::NoClass,
> Wt::NoClass> >::signal6(boost::last_value<void> const&, std::less<int>
> const&)':
> WBatchEditProxyModelTest.C:(.text._ZN5boost7signal6IvN2Wt11WModelIndexEiiNS1_7NoClassES3_S3_NS_10last_valueIvEEiSt4lessIiENS_9function6IvS2_iiS3_S3_S3_EEEC1ERKS5_RKS7_[boost::signal6<void,
> Wt::WModelIndex, int, int, Wt::NoClass, Wt::NoClass, Wt::NoClass,
> boost::last_value<void>, int, std::less<int>, boost::function6<void,
> Wt::WModelIndex, int, int, Wt::NoClass, Wt::NoClass, Wt::NoClass>
> >::signal6(boost::last_value<void> const&, std::less<int> const&)]+0x56):
> undefined reference to
> `boost::signals::detail::signal_base::signal_base(boost::function2<bool,
> boost::signals::detail::stored_group, boost::signals::detail::stored_group>
> const&, boost::any const&)'
> CMakeFiles/test.dir/private/I18n.o: In function
> `boost::enable_if<boost::filesystem::is_basic_path<boost::filesystem::basic_path<std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >,
> boost::filesystem::path_traits> >, bool>::type
> boost::filesystem::exists<boost::filesystem::basic_path<std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >,
> boost::filesystem::path_traits>
> >(boost::filesystem::basic_path<std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >,
> boost::filesystem::path_traits> const&)':
> I18n.C:(.text._ZN5boost10filesystem6existsINS0_10basic_pathISsNS0_11path_traitsEEEEENS_9enable_ifINS0_13is_basic_pathIT_EEbE4typeERKS7_[boost::enable_if<boost::filesystem::is_basic_path<boost::filesystem::basic_path<std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >,
> boost::filesystem::path_traits> >, bool>::type
> boost::filesystem::exists<boost::filesystem::basic_path<std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >,
> boost::filesystem::path_traits>
> >(boost::filesystem::basic_path<std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >,
> boost::filesystem::path_traits> const&)]+0x37): undefined reference to
> `boost::filesystem::detail::status_api(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&,
> boost::system::error_code&)'
> ../src/libwtd.so.3.1.11: undefined reference to
> `boost::detail::get_once_per_thread_epoch()'
> ../src/libwtd.so.3.1.11: undefined reference to
> `boost::detail::thread_data_base::~thread_data_base()'
> ../src/libwtd.so.3.1.11: undefined reference to
> `boost::detail::once_global_epoch'
> ../src/libwtd.so.3.1.11: undefined reference to
> `boost::detail::set_tss_data(void const*,
> boost::shared_ptr<boost::detail::tss_cleanup_function>, void*, bool)'
> ../src/libwtd.so.3.1.11: undefined reference to `vtable for
> boost::detail::thread_data_base'
> ../src/libwtd.so.3.1.11: undefined reference to
> `boost::detail::once_epoch_cv'
> ../src/libwtd.so.3.1.11: undefined reference to
> `boost::detail::get_current_thread_data()'
> ../src/libwtd.so.3.1.11: undefined reference to `boost::thread::joinable()
> const'
> ../src/libwtd.so.3.1.11: undefined reference to `typeinfo for
> boost::detail::thread_data_base'
> ../src/libwtd.so.3.1.11: undefined reference to
> `boost::thread::start_thread()'
> ../src/libwtd.so.3.1.11: undefined reference to
> `boost::detail::get_tss_data(void const*)'
> ../src/libwtd.so.3.1.11: undefined reference to
> `boost::detail::once_epoch_mutex'
> ../src/libwtd.so.3.1.11: undefined reference to
> `boost::this_thread::sleep(boost::posix_time::ptime const&)'
> collect2: ld returned 1 exit status
> make[2]: *** [test/test] Error 1
> make[1]: *** [test/CMakeFiles/test.dir/all] Error 2
> make: *** [all] Error 2
>
> Regards
> Guy
>
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2dcopy2
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest