|
Boost Users : |
Subject: [Boost-users] (GCC) 4.6.3 and boost_1_47_0 lockfree issue
From: Shailja Kumari (shalja.rudra_at_[hidden])
Date: 2012-05-07 14:39:03
Hi All,
I am using boost_1_47_0 and (GCC) 4.6.3. The C++ application on linux
complains on the following in linking.
boost_1_47_0/boost/lockfree/detail/freelist.hpp:124: undefined reference to
`std::atomic<boost::lockfree::detail::tagged_ptr<boost::lockfree::detail::freelist_node>
>::operator
boost::lockfree::detail::tagged_ptr<boost::lockfree::detail::freelist_node>()
const'
/boost_1_47_0/boost/lockfree/detail/freelist.hpp:124: undefined reference to
`std::atomic<boost::lockfree::detail::tagged_ptr<boost::lockfree::detail::freelist_node>
>::operator
boost::lockfree::detail::tagged_ptr<boost::lockfree::detail::freelist_node>()
const'
collect2: ld returned 1 exit status
I looked into http://tim.klingt.org/code/projects/boost-lockfree/repository/revisions/423be9f76bf96230b55ac00d84450f5349c483fb/show/boost
and dowloaded lockfree changed files. But the issue still exists.
boost_1_47_0/boost/lockfree/detail/freelist.hpp:117: undefined
reference to `std::atomic<boost::lockfree::detail::tagged_ptr<boost::lockfree::detail::freelist_node>
>::compare_exchange_weak(boost::lockfree::detail::tagged_ptr<boost::lockfree::detail::freelist_node>&,
boost::lockfree::detail::tagged_ptr<boost::lockfree::detail::freelist_node>,
std::memory_order)'
boost_1_47_0/boost/lockfree/detail/freelist.hpp:87: undefined
reference to `std::atomic<boost::lockfree::detail::tagged_ptr<boost::lockfree::detail::freelist_node>
>::load(std::memory_order) const'
boost_1_47_0/boost/lockfree/detail/freelist.hpp:124: undefined
reference to `std::atomic<boost::lockfree::detail::tagged_ptr<boost::lockfree::detail::freelist_node>
>::operator boost::lockfree::detail::tagged_ptr<boost::lockfree::detail::freelist_node>()
const'
Any idea on this ?
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net