LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Brian Barrett (brbarret_at_[hidden])
Date: 2007-07-02 22:57:07


Sorry for the delay in responding and thanks for the patch. I've
committed it to our subversion repository. It will be part of the
7.1.4 release, although a release date hasn't been set at this point.

Thanks,

Brian

On Jun 13, 2007, at 3:09 PM, Aleksey Cheusov wrote:

> Building LAM/MPI fails on NetBSD >= 3.0
> since NetBSD changed statvfs API.
> Patch follows.
>
> $NetBSD$
>
> --- romio/adio/common/ad_fstype.c.orig 2003-03-26
> 00:41:35.000000000 +0200
> +++ romio/adio/common/ad_fstype.c
> @@ -12,7 +12,7 @@
>
> #include "adio.h"
>
> -#if (defined(HPUX) || defined(SPPUX) || defined(IRIX) || defined
> (SOLARIS) || defined(AIX) || defined(DEC) || defined(CRAY))
> +#if (defined(HPUX) || defined(SPPUX) || defined(IRIX) || defined
> (SOLARIS) || defined(AIX) || defined(DEC) || defined(CRAY) ||
> __NetBSD_Version__ >= 300000000)
> #include <sys/statvfs.h>
> #endif
> #ifdef LINUX
> @@ -45,6 +45,11 @@
> #include <unistd.h>
> #endif
>
> +#if __NetBSD_Version__ >= 300000000
> +#define statfs statvfs
> +#define ROMIO_HAVE_STATFS_F_FSTYPENAME 1
> +#endif
> +
> #ifndef ROMIO_NTFS
> static void ADIO_FileSysType_parentdir(char *filename, char
> **dirnamep);
> #endif
>
> --
> Best regards, Aleksey Cheusov.
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/