Thanks Siegmar, recent updates cannot work on Solaris.
Edgar, you can have a look at opal/util/path.c, statfs "oddities" are handled here Cheers, Gilles On Tuesday, January 26, 2016, Siegmar Gross < siegmar.gr...@informatik.hs-fulda.de> wrote: > Hi, > > yesterday I tried to build openmpi-v2.x-dev-1020-ge2a53b3 on my > machines (Solaris 10 Sparc, Solaris 10 x86_64, and openSUSE Linux > 12.1 x86_64) with gcc-5.1.0 and Sun C 5.13. I was successful on > my Linux machine, but I got the following errors on both Solaris > platforms. > > > > tyr openmpi-v2.x-dev-1020-ge2a53b3-SunOS.sparc.64_cc 33 tail -15 > log.make.SunOS.sparc.64_cc > CCLD mca_fs_ufs.la > make[2]: Leaving directory > `/export2/src/openmpi-2.0.0/openmpi-v2.x-dev-1020-ge2a53b3-SunOS.sparc.64_cc/ompi/mca/fs/ufs' > Making all in mca/io/ompio > make[2]: Entering directory > `/export2/src/openmpi-2.0.0/openmpi-v2.x-dev-1020-ge2a53b3-SunOS.sparc.64_cc/ompi/mca/io/ompio' > CC io_ompio.lo > CC io_ompio_component.lo > "../../../../../openmpi-v2.x-dev-1020-ge2a53b3/ompi/mca/io/ompio/io_ompio_component.c", > line 285: prototype mismatch: 2 args passed, 4 expected > "../../../../../openmpi-v2.x-dev-1020-ge2a53b3/ompi/mca/io/ompio/io_ompio_component.c", > line 290: prototype mismatch: 2 args passed, 4 expected > "../../../../../openmpi-v2.x-dev-1020-ge2a53b3/ompi/mca/io/ompio/io_ompio_component.c", > line 296: undefined struct/union member: f_type > cc: acomp failed for > ../../../../../openmpi-v2.x-dev-1020-ge2a53b3/ompi/mca/io/ompio/io_ompio_component.c > make[2]: *** [io_ompio_component.lo] Error 1 > make[2]: Leaving directory > `/export2/src/openmpi-2.0.0/openmpi-v2.x-dev-1020-ge2a53b3-SunOS.sparc.64_cc/ompi/mca/io/ompio' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/export2/src/openmpi-2.0.0/openmpi-v2.x-dev-1020-ge2a53b3-SunOS.sparc.64_cc/ompi' > make: *** [all-recursive] Error 1 > tyr openmpi-v2.x-dev-1020-ge2a53b3-SunOS.sparc.64_cc 34 > > > > > > tyr openmpi-v2.x-dev-1020-ge2a53b3-SunOS.sparc.64_gcc 37 tail -29 > log.make.SunOS.sparc.64_gcc > CCLD mca_fs_ufs.la > make[2]: Leaving directory > `/export2/src/openmpi-2.0.0/openmpi-v2.x-dev-1020-ge2a53b3-SunOS.sparc.64_gcc/ompi/mca/fs/ufs' > Making all in mca/io/ompio > make[2]: Entering directory > `/export2/src/openmpi-2.0.0/openmpi-v2.x-dev-1020-ge2a53b3-SunOS.sparc.64_gcc/ompi/mca/io/ompio' > CC io_ompio.lo > CC io_ompio_component.lo > ../../../../../openmpi-v2.x-dev-1020-ge2a53b3/ompi/mca/io/ompio/io_ompio_component.c: > In function 'file_query': > ../../../../../openmpi-v2.x-dev-1020-ge2a53b3/ompi/mca/io/ompio/io_ompio_component.c:285:23: > error: too few arguments to function 'statfs' > err = statfs (file->f_filename, &fsbuf); > ^ > In file included from > ../../../../../openmpi-v2.x-dev-1020-ge2a53b3/ompi/mca/io/ompio/io_ompio_component.c:36:0: > /usr/include/sys/statfs.h:53:5: note: declared here > int statfs(const char *, struct statfs *, int, int); > ^ > ../../../../../openmpi-v2.x-dev-1020-ge2a53b3/ompi/mca/io/ompio/io_ompio_component.c:290:23: > error: too few arguments to function 'statfs' > err = statfs (dir, &fsbuf); > ^ > In file included from > ../../../../../openmpi-v2.x-dev-1020-ge2a53b3/ompi/mca/io/ompio/io_ompio_component.c:36:0: > /usr/include/sys/statfs.h:53:5: note: declared here > int statfs(const char *, struct statfs *, int, int); > ^ > ../../../../../openmpi-v2.x-dev-1020-ge2a53b3/ompi/mca/io/ompio/io_ompio_component.c:296:22: > error: 'struct statfs' has no member named 'f_type' > if (fsbuf.f_type == LL_SUPER_MAGIC) { > ^ > make[2]: *** [io_ompio_component.lo] Error 1 > make[2]: Leaving directory > `/export2/src/openmpi-2.0.0/openmpi-v2.x-dev-1020-ge2a53b3-SunOS.sparc.64_gcc/ompi/mca/io/ompio' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/export2/src/openmpi-2.0.0/openmpi-v2.x-dev-1020-ge2a53b3-SunOS.sparc.64_gcc/ompi' > make: *** [all-recursive] Error 1 > tyr openmpi-v2.x-dev-1020-ge2a53b3-SunOS.sparc.64_gcc 38 > > > I would be grateful if somebody can fix the problem. Thank you > very much for any help in advance. > > > Kind regards > > Siegmar > _______________________________________________ > users mailing list > us...@open-mpi.org > Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users > Link to this post: > http://www.open-mpi.org/community/lists/users/2016/01/28377.php >