On my Solaris 11.2 system, alloca() is a macro defined in alloca.h. So, the following is needed to avoid link failures:
--- ompi/mca/pml/cm/pml_cm.h~ Sat Dec 19 16:25:54 2015 +++ ompi/mca/pml/cm/pml_cm.h Sat Dec 19 16:26:30 2015 @@ -32,6 +32,9 @@ #include "pml_cm_sendreq.h" #include "ompi/message/message.h" +#ifdef HAVE_ALLOCA_H +#include <alloca.h> +#endif BEGIN_C_DECLS Based solely on source inspection, I believe master and v2.x have the same issue. -Paul -- Paul H. Hargrove [email protected] Computer Languages & Systems Software (CLaSS) Group Computer Science Department Tel: +1-510-495-2352 Lawrence Berkeley National Laboratory Fax: +1-510-486-6900
