Boost logo

Boost-Build :

From: MarquisdeSade (railrulez_at_[hidden])
Date: 2007-06-07 10:38:51


Hello,

Technically, I get an error only when I use the libraries, but I feel
it might have to do with the build.

boost version: 1.34

GCC version: 3.2

configure options:
--with-libraries=python,regex,serialization,date_time,filesystem,test,signals,program_options,iostreams,graph
--with-python=/usr/common/bin/python

$uname -a
SunOS foobar 5.8 Generic_108528-26 sun4u sparc SUNW,Sun-Fire-15000

The compilation had a few failures, for example, in libs/serialization
(can post the full output if required), but nothing related to the
regex libraries (which I was testing). After installation, a simple
program to test the regex libs gives this error:

$ g++ -I ../programs/include/ -lboost_regex boost1.cpp
Undefined first referenced
 symbol in file
boost::re_detail::perl_matcher<char const*,
std::allocator<boost::sub_match<char const*> >,
boost::regex_traits<char, boost::cpp_regex_traits<char> >
>::construct_init(boost::basic_regex<char, boost::regex_traits<char,
boost::cpp_regex_traits<char> > > const&,
boost::regex_constants::_match_flags)/var/tmp//cc1AlCm5.o
boost::basic_regex<char, boost::regex_traits<char,
boost::cpp_regex_traits<char> > >::do_assign(char const*, char const*,
unsigned)/var/tmp//cc1AlCm5.o
boost::re_detail::perl_matcher<char const*,
std::allocator<boost::sub_match<char const*> >,
boost::regex_traits<char, boost::cpp_regex_traits<char> >
>::find()/var/tmp//cc1AlCm5.o
ld: fatal: Symbol referencing errors. No output written to a.out
collect2: ld returned 1 exit status

Yes, those are empty spaces between 'Undefined' and 'first referenced'
... I have no idea what that means. Has anyone come across this error
before?

Sorry if this is not the right forum; please let me know where I can ask.

thanks in advance,
marq


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk