|
Boost Testing : |
From: Clark Sims (clark_sims_boost_at_[hidden])
Date: 2006-12-08 09:23:09
I have gcc-3.4.3 as the default version on my 64 bit athelon box. 3.4.3 doesn't play nice with boost. It tends to go into an infinte look. I modified user config .jam to use 4.1.1 which is also instaled on this box. However, the linker seems to be looking at the wrong version of libstdc++
# Configure gcc (default version)
using gcc : : /usr/bin/gcc-4.1.1 ;
These are the first of several thousand unresovled externals:
tiny_xml.cpp:(.text+0x1e): undefined reference to `std::ios_base::Init::Init()'
../../../bin.v2/tools/regression/build/gcc-4.1.1/release/link-static/tiny_xml.o: In function `boost::tiny_xml::write(boost::tiny_xml::element const&, std::basic_ostream<char, std::char_traits<char> >&)':
tiny_xml.cpp:(.text+0x7d): undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)'
tiny_xml.cpp:(.text+0x88): undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <char, std::char_traits<char>, std::allocator<char> >(std::basic_ostream<char, std::char_traits<char> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
tiny_xml.cpp:(.text+0xa9): undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)'
tiny_xml.cpp:(.text+0xb5): undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <char, std::char_traits<char>, std::allocator<char> >(std::basic_ostream<char, std::char_traits<char> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
---------------------------------
Want to start your own business? Learn how on Yahoo! Small Business.