|
Boost-Build : |
Subject: Re: [Boost-build] vacpp and templates
From: Xavier Pegenaute (xpegenaute_at_[hidden])
Date: 2008-10-15 06:44:41
Hi,
I am still having the same problem. I made a little version of the code
I want compile with vacpp (find it attached). It compiles correctly with
gcc, but with vacpp the compiler shows:
------------------
bin/vacpp/debug/Test.o(.text+0x8d40): In function
`boost::spirit::impl::grammar_helper<boost::spirit::grammar<TestGrammar<Test>, boost::spirit::parser_context<boost::spirit::nil_t> >, TestGrammar<Test>, boost::spirit::scanner<char const*, boost::spirit::scanner_policies<boost::spirit::iteration_policy, boost::spirit::match_policy, boost::spirit::action_policy> > >::define(boost::spirit::grammar<TestGrammar<Test>, boost::spirit::parser_context<boost::spirit::nil_t> > const*)':
/gpfs/apps/BOOST/boost_1_33_1-64/boost/spirit/core/non_terminal/impl/grammar.ipp:175: undefined reference to `TestGrammar<Test>::definition<boost::spirit::scanner<char const*, boost::spirit::scanner_policies<boost::spirit::iteration_policy, boost::spirit::match_policy, boost::spirit::action_policy> > >::definition(TestGrammar<Test> const&)'
xlC -g -qfullpath -o "bin/vacpp/debug/test"
"bin/vacpp/debug/Test.o" "bin/vacpp/debug/main.o" -lrt
-------------------
Any hint to solve it?
Thanks & Regards.
Xavi.
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