Boost logo

Boost :

From: Tim Hawes (Tim.Hawes_at_[hidden])
Date: 2002-10-22 11:04:28


I am getting this error when I try to compile the
regex_match_example.cpp example program.

This is with a newly installed boost 1.29.0 that compiled without
errors, using STLport 4.5.3, gcc 3.2 and Solaris' own linker
(/usr/ccs/bin/ld).

c++ -O3 -funroll-all-loops -fomit-frame-pointer -ffast-math
-mcpu=ultrasparc -I/usr/local/gcc/gcc-3.2/include/stlport
-I/usr/local/gcc/3.2/boost -c regex_match_example.cpp
c++ -O3 -funroll-all-loops -fomit-frame-pointer -ffast-math
-mcpu=ultrasparc regex_match_example.o -o regex_match_example
/usr/local/gcc/3.2/boost/lib/libboost_regex.a
/usr/local/gcc/3.2/lib/libstlport_gcc.a -lpthread
Undefined first referenced
 symbol in file
boost::re_detail::c_traits_base::lower_case_map
regex_match_example.o
boost::re_detail::c_traits_base::class_map regex_match_example.o
boost::c_regex_traits<char>::transform_primary(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&, std::basic_string<char,
std::char_traits<char>, std::allocator<char> >
const&)regex_match_example.o
boost::reg_expression<char, boost::regex_traits<char>,
std::allocator<char> >::~reg_expression
[in-charge]()regex_match_example.o
boost::re_detail::match_results_base<char const*, std::allocator<char>
>::match_results_base[not-in-charge](std::allocator<char>
const&)regex_match_example.o
boost::re_detail::match_results_base<char const*, std::allocator<char>
>::cow()regex_match_example.o
boost::re_detail::match_results_base<char const*, std::allocator<char>
>::allocator() constregex_match_example.o
boost::re_detail::match_results_base<char const*, std::allocator<char>
>::m_free()regex_match_example.o
boost::re_detail::match_results_base<char const*, std::allocator<char>
>::set_first(char const*, unsigned)regex_match_example.o
boost::re_detail::match_results_base<char const*, std::allocator<char>
>::set_first(char const*)regex_match_example.o
boost::c_regex_traits<char>::transform(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&, std::basic_string<char,
std::char_traits<char>, std::allocator<char> >
const&)regex_match_example.o
boost::reg_expression<char, boost::regex_traits<char>,
std::allocator<char> >::reg_expression[in-charge](char const*, unsigned,
std::allocator<char> const&)regex_match_example.o
boost::re_detail::match_results_base<char const*, std::allocator<char>
>::set_size(unsigned, char const*, char const*)regex_match_example.o
ld: fatal: Symbol referencing errors. No output written to
regex_match_example
collect2: ld returned 1 exit status


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk