Hello,
When I try to build boost 1.40, I get errors compiling MPI-related stuff.
I'm working on a Fedora 11 64-bit system.
I
set the following environment variables:
ICU_LINK='-L/usr/lib64'
EXPAT_INCLUDE=/usr/include
EXPAT_LIBPATH=/usr/lib64
The bootstrap command is:
./bootstrap.sh --libdir=/usr/local/lib64
I modify the project-config.jam to add using mpi ;
The resulting file is attached.
Finally, the bjam command is:
./bjam variant=release address-model=64
I get error
such as, for example,
...failed gcc.compile.c++
bin.v2/libs/mpi/build/gcc-4.4.1/release/address-model-64/threading-multi/packed_skeleton_iarchive.o...
gcc.compile.c++
bin.v2/libs/mpi/build/gcc-4.4.1/release/address-model-64/threading-multi/packed_skeleton_oarchive.o
In file included from
./boost/mpi/detail/mpi_datatype_cache.hpp:14,
from ./boost/mpi/datatype.hpp:28,
from
./boost/mpi/packed_iarchive.hpp:22,
from
./boost/mpi/skeleton_and_content.hpp:29,
from
libs/mpi/src/packed_skeleton_oarchive.cpp:11:
./boost/mpi/detail/mpi_datatype_oarchive.hpp: In member function ‘void
boost::mpi::detail::mpi_datatype_oarchive::save_enum(const T&, mpl_::true_)’:
./boost/mpi/detail/mpi_datatype_oarchive.hpp:64: error:
expected primary-expression before ‘enum’
./boost/mpi/detail/mpi_datatype_oarchive.hpp:64: error: expected ‘;’ before
‘enum’
Thanks a lot,
Juan