Boost logo

Boost Users :

From: James Hughes (JHughes_at_[hidden])
Date: 2006-01-03 06:10:33


Hello all,

I am cross compiling the boost libs to the PXA270 arm processor running
Linux, using GCC 3.4.3 (iwmmxt_le-g++ et al from Montavista)

Whilst a lot of libs do seem to build correctly, I get a number of other
errors. Here is a typical example which comes up a lot.....

/home/jhughes/boost_1_33_1/boost/spirit/core/primitives/numerics.hpp:120:
error: declaration of `template<class ScannerT> struct
boost::spirit::sign_parser::result'
/home/jhughes/boost_1_33_1/boost/spirit/core/parser.hpp:123: error:
conflicts with previous declaration `template<class ScannerT> struct
boost::spirit::parser<boost::spirit::sign_parser>::result'
In file included from
/home/jhughes/boost_1_33_1/libs/serialization/build/../src/basic_xml_grammar
.ipp:22,
                 from
/home/jhughes/boost_1_33_1/libs/serialization/build/../src/xml_wgrammar.cpp:
243

In fact most of the errors seem to be in the grammer area.

The command I use to do the build is ...

bjam "-sGCC_ROOT_DIRECTORY=/opt/montavista/mobilinux/devkit/arm/iwmmxt_le"
"-sGCC=iwmmxt_le-gcc" "-sGXX=iwmmxt_le-g++" stage

In addition, I do not seem to get any files copied to the include folder
when doing a install build (/usr/local/lib has lots of my built boost libs,
/usr/local/include is empty). I would expect to see files in there - am I
correct in that expectation?

Anyone any ideas?

James


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net