Boost logo

Boost-Build :

Subject: [Boost-build] Compiling Boost.MPI and mpich2 under Suse Linux
From: Michael1984 (m.auli_at_[hidden])
Date: 2010-05-27 12:47:43


Hello,

I am trying to compile Boost.MPI with Mpich2 under Suse Linux 10.x.
After having built Mpich2, involing ./bjam install I am presented with the
following error below, however, recompiling mpich2 with -fPIC does not help
either.

mpich2$ ./configure CXXFLAGS=-fPIC; make; make install

Does anybody have any suggestions?

Thanks a lot!

Michael

...
gcc.link.dll
bin.v2/libs/mpi/build/gcc-4.3/release/threading-multi/libboost_mpi.so.1.43.0
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:
/mnt/thor2/michael/tools/mpich2/lib/libmpich.a(attr_get.o): relocation
R_X86_64_32 against `a local symbol' can not be used when making a shared
object; recompile with -fPIC
/mnt/thor2/michael/tools/mpich2/lib/libmpich.a: could not read symbols: Bad
value
collect2: ld returned 1 exit status

-- 
View this message in context: http://old.nabble.com/Compiling-Boost.MPI-and-mpich2-under-Suse-Linux-tp28696953p28696953.html
Sent from the Boost - Build mailing list archive at Nabble.com.

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk