Boost logo

Boost Users :

Subject: [Boost-users] Boost 1.41.0, GCC 4.4, Ubuntu Compile Errors
From: Michael Jackson (mike.jackson_at_[hidden])
Date: 2010-06-18 12:45:08


I am running a Ubuntu 10.04 Desktop system which has GCC 4.4.3 installed
(the default). When trying to compile program_options I am getting the
following error:

[ 1%] Building CXX object
libs/program_options/src/CMakeFiles/boost_program_options-mt-shared.dir/conf
ig_file.cpp.o
In file included from
/home/mjackson/Workspace/MXABoost/boost/mpl/apply.hpp:23,
                 from
/home/mjackson/Workspace/MXABoost/boost/iterator/iterator_facade.hpp:34,
                 from
/home/mjackson/Workspace/MXABoost/boost/program_options/eof_iterator.hpp:9,
                 from
/home/mjackson/Workspace/MXABoost/boost/program_options/detail/config_file.h
pp:17,
                 from
/home/mjackson/Workspace/MXABoost/libs/program_options/src/config_file.cpp:1
0:
/home/mjackson/Workspace/MXABoost/boost/mpl/apply_wrap.hpp:81:31: error:
missing binary operator before token "("
/home/mjackson/Workspace/MXABoost/boost/mpl/apply_wrap.hpp:173:31: error:
missing binary operator before token "("
In file included from
/home/mjackson/Workspace/MXABoost/boost/mpl/bind.hpp:27,
                 from
/home/mjackson/Workspace/MXABoost/boost/mpl/lambda.hpp:18,
                 from
/home/mjackson/Workspace/MXABoost/boost/mpl/apply.hpp:25,
                 from
/home/mjackson/Workspace/MXABoost/boost/iterator/iterator_facade.hpp:34,
                 from
/home/mjackson/Workspace/MXABoost/boost/program_options/eof_iterator.hpp:9,
                 from
/home/mjackson/Workspace/MXABoost/boost/program_options/detail/config_file.h
pp:17,
                 from
/home/mjackson/Workspace/MXABoost/libs/program_options/src/config_file.cpp:1
0:
/home/mjackson/Workspace/MXABoost/boost/mpl/apply_wrap.hpp:81:31: error:
missing binary operator before token "("
/home/mjackson/Workspace/MXABoost/boost/mpl/apply_wrap.hpp:173:31: error:
missing binary operator before token "("
In file included from
/home/mjackson/Workspace/MXABoost/boost/mpl/lambda.hpp:18,
                 from
/home/mjackson/Workspace/MXABoost/boost/mpl/apply.hpp:25,
                 from
/home/mjackson/Workspace/MXABoost/boost/iterator/iterator_facade.hpp:34,
                 from
/home/mjackson/Workspace/MXABoost/boost/program_options/eof_iterator.hpp:9,
                 from
/home/mjackson/Workspace/MXABoost/boost/program_options/detail/config_file.h
pp:17,
                 from
/home/mjackson/Workspace/MXABoost/libs/program_options/src/config_file.cpp:1
0:
/home/mjackson/Workspace/MXABoost/boost/mpl/bind.hpp:364:31: error: missing
binary operator before token "("
/home/mjackson/Workspace/MXABoost/boost/mpl/bind.hpp:531:31: error: missing
binary operator before token "("
In file included from
/home/mjackson/Workspace/MXABoost/boost/mpl/lambda.hpp:22,
                 from
/home/mjackson/Workspace/MXABoost/boost/mpl/apply.hpp:25,
                 from
/home/mjackson/Workspace/MXABoost/boost/iterator/iterator_facade.hpp:34,
                 from
/home/mjackson/Workspace/MXABoost/boost/program_options/eof_iterator.hpp:9,
                 from
/home/mjackson/Workspace/MXABoost/boost/program_options/detail/config_file.h
pp:17,
                 from
/home/mjackson/Workspace/MXABoost/libs/program_options/src/config_file.cpp:1
0:
/home/mjackson/Workspace/MXABoost/boost/mpl/aux_/full_lambda.hpp:230:31:
error: missing binary operator before token "("
In file included from
/home/mjackson/Workspace/MXABoost/boost/iterator/iterator_facade.hpp:34,
                 from
/home/mjackson/Workspace/MXABoost/boost/program_options/eof_iterator.hpp:9,
                 from
/home/mjackson/Workspace/MXABoost/boost/program_options/detail/config_file.h
pp:17,
                 from
/home/mjackson/Workspace/MXABoost/libs/program_options/src/config_file.cpp:1
0:
/home/mjackson/Workspace/MXABoost/boost/mpl/apply.hpp:138:31: error: missing
binary operator before token "("
make[2]: ***
[libs/program_options/src/CMakeFiles/boost_program_options-mt-shared.dir/con
fig_file.cpp.o] Error 1
make[1]: ***
[libs/program_options/src/CMakeFiles/boost_program_options-mt-shared.dir/all
] Error 2
make: *** [all] Error 2

Has anyone else seen this error message?

Thanks
Mike Jackson


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