The following small patch was require to build the ompi trunk on NetBSD-5.0. I am not sure if this was the proper header in which to add this include, but it is the first one that needs "struct timeval".
-Paul --- openmpi-1.7a1r25944/opal/dss/dss_types.h~ 2012-02-17 00:30:09.000000000 -0800 +++ openmpi-1.7a1r25944/opal/dss/dss_types.h 2012-02-17 00:34:04.000000000 -0800 @@ -31,6 +31,10 @@ #include "opal/class/opal_object.h" #include "opal/class/opal_list.h" +#ifdef OPAL_HAVE_SYS_TIME_H +#include <sys/time.h> /* for struct timeval */ +#endif + BEGIN_C_DECLS typedef uint8_t opal_data_type_t; /** data type indicators */ -- Paul H. Hargrove phhargr...@lbl.gov Future Technologies Group HPC Research Department Tel: +1-510-495-2352 Lawrence Berkeley National Laboratory Fax: +1-510-486-6900