|
Boost Users : |
From: Oliver.Kowalke_at_[hidden]
Date: 2006-02-17 01:23:23
Hello,
I've compiled boost-1.33.1 on Debian/unstable with gcc-3.4.6 and get
strange linker errors:
`.L408' referenced in section `.rodata' of .libs/sys_error.o: defined in
discarded section
`.gnu.linkonce.t._ZN5boost9re_detail21basic_regex_formatterINS0_19string
_out_iteratorISsEENS_13match_resultsIN9__gnu_cxx17__normal_iteratorIPKcS
sEESaINS_9sub_matchIS9_EEEEENS_20regex_traits_wrapperINS_12regex_traitsI
cNS_16cpp_regex_traitsIcEEEEEEE10format_allEv' of .libs/sys_error.o
sys_error.cpp contains:
boost::regex e_m("%m");
boost::regex e_e("%e");
std::string f( format);
f = boost::regex_replace( f, e_m, msg, boost::match_default |
boost::format_sed);
return boost::regex_replace( f, e_e, ::strerror( errno),
boost::match_default | boost::format_sed);
Could you please tell me howto fix this.
Regards,
Oliver
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