Hi,Volodya.
I'm sorry to trouble you again. At your last respond you suggested me to quote the error message from the compiler. I got the message as following:
...patience...
...found 11853 targets...
...updating 10 targets...
gcc.compile.c++ bin.v2/libs/serialization/build/gcc-3.4.3/release/threading-multi/xml_grammar.o
In file included from libs/serialization/src/basic_xml_grammar.ipp:22,
from libs/serialization/src/xml_grammar.cpp:63:
./boost/spirit/core/primitives/numerics.hpp:122: error: declaration of `template<class ScannerT> struct boost::spirit::sign_parser::result'
./boost/spirit/core/parser.hpp:123: error: conflicts with previous declaration `template<class ScannerT> struct boost::spirit::parserboost::spirit::sign_parser::result'
"/opt/SEED_DVS357-SDK/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -fPIC -pthread -DBOOST_ALL_NO_LIB=1 -DBOOST_SERIALIZATION_DYN_LINK=1 -DNDEBUG -I"." -c -o "bin.v2/libs/serialization/build/gcc-3.4.3/release/threading-multi/xml_grammar.o" "libs/serialization/src/xml_grammar.cpp"
...failed gcc.compile.c++ bin.v2/libs/serialization/build/gcc-3.4.3/release/threading-multi/xml_grammar.o...
...skipped libboost_serialization-gcc34-mt-1_35.so.1.35.0 for lack of libboost_serialization-gcc34-mt.so for lack of libboost_serialization-gcc34-mt-1_35.so.1.35.0...
gcc.compile.c++ bin.v2/libs/serialization/build/gcc-3.4.3/release/threading-multi/xml_wgrammar.o
In file included from libs/serialization/src/basic_xml_grammar.ipp:22,
from libs/serialization/src/xml_wgrammar.cpp:243:
./boost/spirit/core/primitives/numerics.hpp:122: error: declaration of `template<class ScannerT> struct boost::spirit::sign_parser::result'
./boost/spirit/core/parser.hpp:123: error: conflicts with previous declaration `template<class ScannerT> struct boost::spirit::parserboost::spirit::sign_parser::result'
"/opt/SEED_DVS357-SDK/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -fPIC -pthread -DBOOST_ALL_NO_LIB=1 -DBOOST_SERIALIZATION_DYN_LINK=1 -DNDEBUG -I"." -c -o "bin.v2/libs/serialization/build/gcc-3.4.3/release/threading-multi/xml_wgrammar.o" "libs/serialization/src/xml_wgrammar.cpp"
...failed gcc.compile.c++ bin.v2/libs/serialization/build/gcc-3.4.3/release/threading-multi/xml_wgrammar.o...
...skipped libboost_wserialization-gcc34-mt-1_35.so.1.35.0 for lack of libboost_wserialization-gcc34-mt.so for lack of libboost_wserialization-gcc34-mt-1_35.so.1.35.0...
...skipped libboost_serialization-gcc34-mt-1_35.so for lack of libboost_serialization-gcc34-mt-1_35.so.1.35.0...
...skipped libboost_wserialization-gcc34-mt-1_35.so for lack of libboost_wserialization-gcc34-mt-1_35.so.1.35.0...
...failed updating 2 targets...
...skipped 8 targets...
I think that maybe there are some definition conflict in the library, or the gcc kernel(3.4.3) of my cross-compiler is too old. But I still don't know how to deal with these problems. Could you help me? Thanks.
with my best wished!
Zou
--- 09年2月28日,周六, Vladimir Prus 发件人: Vladimir Prus Hi, Volodya.
Thanks for your reply. I have tried the method in the document ( http://www.boost.org/boost-build2/doc/html/bbv2/tasks/crosscompile.html
), there were still some problems. Some libraries has been built successfully,
but many not (such as
libboost_serialization, libboost_wave and so on). I
got the information as following: ...failed gcc.compile.c++
bin.v2/libs/math/build/gcc-3.8.0/release/link-static/threading-multi/sph_neumannf.o...
..........
...skipped
libboost_serialization-gcc38-mt-1_38.a... I didn't know why these libraries built failed. I
wonder whether the problem is due to my gcc
kernel of cross-compiler . Maybe it's version is
too low to build that libraries? How to solve the
problem? Please quote the error message from the compiler, not the
diagnostic message from Boost.Build. - Volodya _______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users ___________________________________________________________
好玩贺卡等你发,邮箱贺卡全新上线!
http://card.mail.cn.yahoo.com/