[mpich-devel] LLONG_MAX undeclared in status_set_elements_x.c ?

Howard Pritchard howardp at cray.com
Thu Nov 29 15:08:01 CST 2012


HI Folks,

I've done a fresh update of mpich2 trunk on my sles 11 machine, done a 
new autogen.sh
and config of mpich.  But when I compile, I get this error in this 
fairly recently introduced
file:

src/mpi/datatype/status_set_elements_x.c: In function 
'MPIR_Status_set_elements_x_impl':
src/mpi/datatype/status_set_elements_x.c:41: error: 'LLONG_MAX' 
undeclared (first use in this function)
src/mpi/datatype/status_set_elements_x.c:41: error: (Each undeclared 
identifier is reported only once
src/mpi/datatype/status_set_elements_x.c:41: error: for each function it 
appears in.)
make[2]: *** [src/mpi/datatype/status_set_elements_x.lo] Error 1

It looks like mpiimpl.h isn't pulling in limits.h.

Howard

-- 
Howard Pritchard
Software Engineering
Cray, Inc.



More information about the devel mailing list