* Brignone, Sergio wrote on Fri, May 05, 2006 at 05:43:46PM CEST:
> * Ralf Wildenhues wrote on Thursday, May 04, 2006 11:53 PM
> > * Brignone, Sergio wrote on Fri, May 05, 2006 at 08:22:35AM CEST:
> > >
> > > Make.all is incomplete because it failed. It never finished.
> >
> > Yes, but you did not send the stderr output; that is where the error
> > shows up. That is helpful in order to analyze the issue further.
>
> You are right Ralf... I just sent the stdout.
> Here is the stderr.
Thanks. This is the weird error:
| configure:4402: checking whether the C compiler (cc -O ) accepts ANSI prototypes
| configure:4415: result: yes
| configure:4455: checking for __STDC__
| configure:4480: cc -O -o conftest conftest.c
| configure:4487: $? = 0
| configure:4497: ./conftest
| configure:4504: $? = 0
| configure:4519: result: yes
| configure:4530: WARNING: *** Compiler did not set __STDC__!
| configure:4532: WARNING: *** Be warned -- this will cause user MPI programs to
| configure:4534: WARNING: *** not get proper prototypes of MPI functions!
| configure:4550: checking for type int2
| configure:4568: $CPP $CPPFLAGS conftest.c
I just confirmed on a AIX 5.3 system that the compiler, when called as
cc, does not set __STDC__. "Interesting". When called as xlc, it does
set it to one.
Then, there is a followup error: LAM thinks it may not use prototypes
because of this, and does not set LAM_WANT_PROTOS because of that.
And it uses some really weird old stuff for functions with a variable
number of arguments, which isn't compatible with the prototyped
function.
Easiest workaround: reconfigure again with
path/to/configure CC=xlc CXX=xlC F77=xlf F90=xlf90 ...
and rerun make.
Cheers,
Ralf
|