LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Tim Prince (TimothyPrince_at_[hidden])
Date: 2008-07-09 08:42:16


Yujing Lin wrote:
> Dear all,
>
> I am trying to configure lam/mpi, and I got following error message for C++ compiler: (c compiler seems ll right)
>
> configure:8775: result: no
> configure:8793: WARNING: *** Your C++ compiler does not support the bool data type.
> configure:8795: WARNING: *** LAM requires a C++ compiler with support for the bool
> configure:8797: WARNING: *** data type.
> configure:8799: error: cannot continue
>
>
> then the configure stop.
>
> I once build lam-mpi 7.1.4 on my opensuse 10.3 system, and everything is fine, no problem at all. now I reinstall my system with suse 11, and try to build lam-mpi 7.1.4 in the same way, unfortunately, this time it doesn't work.
>

> configure:8689: g++ -O3 conftest.cc -o conftest
> conftest.cc:4: error: second argument of 'int main(int, char*)' should be 'char **'
Your new compiler is checking syntax, where lam configure doesn't expect
such checking. You would have to fix the source code, try adding
-permissive to your g++ options, or install an older gcc.