[test] dynamic linking tests 2

Looking at: http://tinyurl.com/yfuxmc I see some unresolved symbols, for example to: public: void __thiscall boost::test_tools::tt_detail::print_log_value< char const *>::operator() Looking at the code, the header test_tools.hpp says: template<> struct print_log_value<char const*> { void operator()( std::ostream& ostr, char const* t ); }; there's no BOOST_TEST_DECL. Likewise, test_tools.ipp does not use BOOST_TEST_DECL. So, it looks like this link error is genuine problem with the library. Gennadiy, can you take a look? Thanks, Volodya

To add to what Volodya said: on some (all?) platforms math library test common_factor_test failed with undefined symbol. On HP-UX/aCC, for example: ld: Unsatisfied symbol "init_unit_test_suite(int,char**)" in file .../boost/bin.v2/libs/test/build/acc/debug/link-static/libboost_unit_test_framework-d-1_34.a[framework.o] Boris ----- Original Message ----- From: "Vladimir Prus" <ghost@cs.msu.su> To: <boost@lists.boost.org> Sent: Saturday, November 11, 2006 12:34 PM Subject: [boost] [test] dynamic linking tests 2
Looking at:
I see some unresolved symbols, for example to:
public: void __thiscall boost::test_tools::tt_detail::print_log_value< char const *>::operator()
Looking at the code, the header test_tools.hpp says:
template<> struct print_log_value<char const*> { void operator()( std::ostream& ostr, char const* t ); };
there's no BOOST_TEST_DECL. Likewise, test_tools.ipp does not use BOOST_TEST_DECL. So, it looks like this link error is genuine problem with the library.
Gennadiy, can you take a look?
Thanks, Volodya
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

"Boris Gubenko" <Boris.Gubenko@hp.com> wrote in message news:009b01c705c7$54843610$0200a8c0@americas.hpqcorp.net...
To add to what Volodya said: on some (all?) platforms math library test common_factor_test failed with undefined symbol. On HP-UX/aCC, for example:
ld: Unsatisfied symbol "init_unit_test_suite(int,char**)" in file .../boost/bin.v2/libs/test/build/acc/debug/link-static/libboost_unit_test_framework-d-1_34.a[framework.o]
I don't believe it's related Gennadiy
I see some unresolved symbols, for example to:
public: void __thiscall boost::test_tools::tt_detail::print_log_value< char const *>::operator()

"Vladimir Prus" <ghost@cs.msu.su> wrote in message news:ej51jl$mef$2@sea.gmane.org...
Looking at:
I see some unresolved symbols, for example to:
public: void __thiscall boost::test_tools::tt_detail::print_log_value< char const *>::operator()
Looking at the code, the header test_tools.hpp says:
template<> struct print_log_value<char const*> { void operator()( std::ostream& ostr, char const* t ); };
there's no BOOST_TEST_DECL. Likewise, test_tools.ipp does not use BOOST_TEST_DECL. So, it looks like this link error is genuine problem with the library.
Gennadiy, can you take a look?
What do I need to do to reproduce this? Gennadiy

Gennadiy Rozental wrote:
"Vladimir Prus" <ghost@cs.msu.su> wrote in message news:ej51jl$mef$2@sea.gmane.org...
Looking at:
I see some unresolved symbols, for example to:
public: void __thiscall boost::test_tools::tt_detail::print_log_value< char const *>::operator()
Looking at the code, the header test_tools.hpp says:
template<> struct print_log_value<char const*> { void operator()( std::ostream& ostr, char const* t ); };
there's no BOOST_TEST_DECL. Likewise, test_tools.ipp does not use BOOST_TEST_DECL. So, it looks like this link error is genuine problem with the library.
Gennadiy, can you take a look?
What do I need to do to reproduce this?
1. Have up-to-date RC tree 2. Add to tools/build/v2/user-config.jam the following: using msvc : 7.1 ; 3. Go to libs/test/test 4. Run bjam boost_check_equal_str - Volodya
participants (3)
-
Boris Gubenko
-
Gennadiy Rozental
-
Vladimir Prus