hi all,
im using boost::regex for the first time.
#include
string aliasCmd = "xyz * abc";
boost::regex regExp("[*]", boost::regex::basic);
aliasCmd = boost::regex_replace(aliasCmd, regExp, "INST");
There were no compiler errors. But during linking, I get the errors as
below.
Could anyone please get me on this.
Thanks
rsennat
../../../lib/FREEBSD_6_i686/libobj.a(IObject.o): In function
`basic_regex':
/sviews/ag_cli_tools//fw-boost/boost/regex/v4/basic_regex.hpp:340: undefined
ref
erence to `boost::reg_expression::reg_expression(char const*, unsigned int, std::allocator<char>
const&)
'
../../../lib/FREEBSD_6_i686/libobj.a(IObject.o): In function
`~basic_regex':
/sviews/ag_cli_tools//fw-boost/boost/regex/v4/basic_regex.hpp:347: undefined
ref
erence to `boost::reg_expression::~reg_expression()'
/sviews/ag_cli_tools//fw-boost/boost/regex/v4/basic_regex.hpp:347: undefined
ref
erence to `boost::reg_expression::~reg_expression()'
../../../lib/FREEBSD_6_i686/libobj.a(IObject.o): In function
`boost::re_detail::perl_matcher<__gnu_cxx::__normal_iterator >,
std::alloca
tor > > >,
boost::regex_traits
<char>, std::allocator<char> >::unwind_extra_block(bool)':
/sviews/ag_cli_tools//fw-boost/boost/regex/v4/perl_matcher_non_recursive.hpp:904
: undefined reference to `boost::re_detail::put_mem_block(void*)'
--
View this message in context: http://www.nabble.com/boost%3A%3Aregex-linking-errors-tp19438899p19438899.ht...
Sent from the Boost - Users mailing list archive at Nabble.com.