a field from orte_iof_proc_t is named "stdin" could stdin be #defined under the hood in Solaris ? if so, then renaming this field should do the trick.
I will double check that on Monday Cheers, Gilles On Saturday, February 20, 2016, Ralph Castain <r...@open-mpi.org> wrote: > I’m afraid I have no idea what Solaris is complaining about here. > > > On Feb 19, 2016, at 6:52 AM, Siegmar Gross < > siegmar.gr...@informatik.hs-fulda.de <javascript:;>> wrote: > > > > Hi, > > > > yesterday I tried to build openmpi-dev-3498-gdc4d3ed 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. > > > > > > Sun C 5.13: > > =========== > > > > CC base/ess_base_std_tool.lo > > "../../../../openmpi-dev-3498-gdc4d3ed/orte/mca/iof/base/base.h", line > 116: syntax error before or at: & > > "../../../../openmpi-dev-3498-gdc4d3ed/orte/mca/iof/base/base.h", line > 116: warning: syntax requires ";" after last struct/union member > > "../../../../openmpi-dev-3498-gdc4d3ed/orte/mca/iof/base/base.h", line > 121: cannot recover from previous errors > > cc: acomp failed for > ../../../../openmpi-dev-3498-gdc4d3ed/orte/mca/ess/base/ess_base_std_tool.c > > make[2]: *** [base/ess_base_std_tool.lo] Error 1 > > make[2]: Leaving directory > `/export2/src/openmpi-master/openmpi-dev-3498-gdc4d3ed-SunOS.sparc.64_cc/orte/mca/ess' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory > `/export2/src/openmpi-master/openmpi-dev-3498-gdc4d3ed-SunOS.sparc.64_cc/orte' > > make: *** [all-recursive] Error 1 > > tyr openmpi-dev-3498-gdc4d3ed-SunOS.sparc.64_cc 50 > > > > > > GCC-5.2.0: > > ========== > > > > CC base/ess_base_std_tool.lo > > In file included from /usr/include/stdio.h:66:0, > > from > ../../../../openmpi-dev-3498-gdc4d3ed/orte/mca/ess/base/ess_base_std_tool.c:29: > > ../../../../openmpi-dev-3498-gdc4d3ed/orte/mca/iof/base/base.h:116:22: > error: expected identifier or '(' before '&' token > > orte_iof_sink_t *stdin; > > ^ > > make[2]: *** [base/ess_base_std_tool.lo] Error 1 > > make[2]: Leaving directory > `/export2/src/openmpi-master/openmpi-dev-3498-gdc4d3ed-SunOS.sparc.64_gcc/orte/mca/ess' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory > `/export2/src/openmpi-master/openmpi-dev-3498-gdc4d3ed-SunOS.sparc.64_gcc/orte' > > make: *** [all-recursive] Error 1 > > tyr openmpi-dev-3498-gdc4d3ed-SunOS.sparc.64_gcc 50 > > > > > > 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 <javascript:;> > > Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users > > Link to this post: > http://www.open-mpi.org/community/lists/users/2016/02/28550.php > > _______________________________________________ > users mailing list > us...@open-mpi.org <javascript:;> > Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users > Link to this post: > http://www.open-mpi.org/community/lists/users/2016/02/28551.php