Recently we've moved to gcc-3.3.6. Even though build is getting
completed, linker is throwing some message like following:
/usr/bin/ld: `.L815' referenced in section `.rodata' of ../../code/
utils/libutils.a(msg.o): defined in discarded section
`.gnu.linkonce.t._ZN5boost2io6detail22parse_printf _directiveIcSt11char_traitsIcESaIcEN9__gnu_cxx17__ normal_iteratorIPKcSsEESt5ctypeIcEEEbRT2_RKSD_PNS1 _11format_itemIT_T0_T1_EERKT3_jh'
of ../../code/utils/libutils.a(msg.o)
Running c++filt on mangled name returns following:
bool boost::io::detail::parse_printf_directive<char,
std::char_traits<char>, std::allocator<char>,
__gnu_cxx::__normal_iterator<char const*, std::basic_string<char,
std::char_traits<char>, std::allocator<char >, std::ctype<char>
>(__gnu_cxx::__normal_iterator<char const*, std::basic_string<char,std::char_traits<char>, std::allocator<char >&,
__gnu_cxx::__normal_iterator<char const*, std::basic_string<char,
std::char_traits<char>, std::allocator<char const&,
boost::io::detail::format_item<char, std::char_traits<char>,
std::allocator<char*, std::ctype<charconst&, unsigned int,
unsigned char)
Any pointer what could be the issue? Is my boost library not
compatible with version of compiler and hence it's not finding the
symbols?
Regards,
~ Soumen