Boost logo

Boost :

From: John Maddock (jm_at_[hidden])
Date: 2003-04-05 05:13:50


> I try to link executable with boost and STLPORT library to no effect.
> I use g++ for Linux and CC for Sun solaris.
>
> Do you have any workaround to the folowing errors ?
> undefined reference to `boost::reg_expression<char,
> boost::regex_traits<char>, _STL::allocator<char>
> >::reg_expression(_STL::allocator<char> const&)'
> undefined reference to `boost::reg_expression<char,
> boost::regex_traits<char>, _STL::allocator<char>
> >::operator=(boost::reg_expression<char, boost::regex_traits<char>,
> _STL::allocator<char> > const&)'
> undefined reference to `boost::reg_expression<char,
> boost::regex_traits<char>, _STL::allocator<char> >::~reg_expression()'

Looks like you didn't compile boost regex with stlport (you need to do that
as well).

John Maddock.


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