Skip to content

Conversation

@hjelmn
Copy link
Member

@hjelmn hjelmn commented Sep 23, 2015

ROMIO configure looks for lstat in wrong header

The ROMIO configure script checks for a declaration of lstat in
unistd.h, but, at least on the Linux machines I checked, lstat is in
sys/stat.h. (The detection failure led to a linker error when building
ROMIO as part of OpenMPI on one of my admittedly strangely configured
machines, somehow.) It appears from the man page that either location
is possible, so check both.

(cherry picked from mpich/mpich@7b8bd055dfdeb)

See #895

Signed-off-by: Rob Latham robl@mcs.anl.gov
Signed-off-by: Nathan Hjelm hjelmn@lanl.gov

ROMIO configure looks for lstat in wrong header

The ROMIO configure script checks for a declaration of lstat in
unistd.h, but, at least on the Linux machines I checked, lstat is in
sys/stat.h.  (The detection failure led to a linker error when building
ROMIO as part of OpenMPI on one of my admittedly strangely configured
machines, somehow.)  It appears from the man page that either location
is possible, so check both.

(cherry picked from mpich/mpich@7b8bd055dfdeb)

Signed-off-by: Rob Latham <robl@mcs.anl.gov>
Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
hjelmn added a commit that referenced this pull request Sep 23, 2015
ROMIO configure looks for lstat in wrong header
@hjelmn hjelmn merged commit 2ac724c into open-mpi:master Sep 23, 2015
@hjelmn hjelmn deleted the romio_update branch August 3, 2016 18:16
jsquyres pushed a commit to jsquyres/ompi that referenced this pull request Aug 23, 2016
…ack_resized

ddt: fix support of MPI_COMBINER_RESIZED in __ompi_datatype_create_fr…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants