Boost logo

Boost-Build :

Subject: Re: [Boost-build] Compiling Boost.MPI and mpich2 under Suse Linux
From: Michael1984 (m.auli_at_[hidden])
Date: 2010-05-28 13:32:20

Hi Noel,

I googled now for a while but could not figure out how to build boost
as an archive - can you please give me a hint?

The error messages I quoted previously were still with MPICH2 as I
could not get MPICH to work: Building it works all fine but when trying
to execute bin/mpicc I get the following:

/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/crt1.o: In function
(.text+0x20): undefined reference to `main'
collect2: ld returned 1 exit status

Best wishes,


Belcourt, Kenneth wrote:
> On May 28, 2010, at 11:02 AM, Michael1984 wrote:
>> I tried building mpich2 with and without -fPIC again and it turns
>> out that
>> the error message changes very slightly:
> Sorry, guess I wasn't clear. Boost is still being built as shared
> object. Try building this library so it's an archive, not an so.
>> bin.v2/libs/mpi/build/gcc-4.3/release/threading-multi/
> Then link with static Boost and MPICH libraries.
> -- Noel
> _______________________________________________
> Unsubscribe & other changes:

View this message in context:
Sent from the Boost - Build mailing list archive at

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at