Boost logo

Boost Users :

From: James Hughes (JHughes_at_[hidden])
Date: 2006-03-30 05:34:29


Hello all,

I reported some time ago an issue with trying to compile the Boost libs
using an ARM cross compiler.

This has just started to have an impact as I wish to try out the
Serialisation libs, and these are one of the areas with a compile issue.

The following error is repeated over a considerable number of files and
seems to indicate a problem with Spirit.

I am using the latest release version of Boost (1.33.1)- no patches (are
there any?) and a gcc v3.4.3 cross compiler to ARM architecture.

Does anyone have any suggestions? I have had no luck figuring it out, but to
be honest haven't spent a lot of time on it yet.

Rgds

James

>>>>>

gcc-C++-action
bin/boost/libs/serialization/build/libboost_serialization.a/gcc/debug/xml_gr
ammar.o
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_grammar.cpp:6
3:
/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'

    set -e
    "/opt/montavista/mobilinux/devkit/arm/iwmmxt_le/bin/iwmmxt_le-g++"
-D_REENTRANT -c -Wall -ftemplate-depth-255 -DBOOST_LIB_DIAGNOSTIC=1 -g
-O0 -fno-inline -Wno-non-virtual-dtor -Wno-ctor-dtor-privacy
-I"bin/boost/libs/serialization/build" -I "/home/jhughes/boost_1_33_1" -o
"bin/boost/libs/serialization/build/libboost_serialization.a/gcc/debug/xml_g
rammar.o"
"/home/jhughes/boost_1_33_1/libs/serialization/build/../src/xml_grammar.cpp"

    "/opt/montavista/mobilinux/devkit/arm/iwmmxt_le/bin/iwmmxt_le-objcopy"
--set-section-flags .debug_str=contents,debug
"bin/boost/libs/serialization/build/libboost_serialization.a/gcc/debug/xml_g
rammar.o"

...failed gcc-C++-action
bin/boost/libs/serialization/build/libboost_serialization.a/gcc/debug/xml_gr
ammar.o...

<<<<<


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