Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] trunk build failure on NetBSD-5.0
From: Ralph Castain (rhc_at_[hidden])
Date: 2012-02-17 11:39:51


Done - thanks!

On Fri, Feb 17, 2012 at 1:29 AM, Paul Hargrove <phhargrove_at_[hidden]> wrote:

> I've confirmed that NO similar problem is present in the 1.5 branch.
>
> -Paul
>
>
> On Fri, Feb 17, 2012 at 12:49 AM, Paul Hargrove <phhargrove_at_[hidden]>wrote:
>
>> 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 PHHargrove_at_[hidden]
>> Future Technologies Group
>> HPC Research Department Tel: +1-510-495-2352
>> Lawrence Berkeley National Laboratory Fax: +1-510-486-6900
>>
>
>
>
> --
> Paul H. Hargrove PHHargrove_at_[hidden]
> Future Technologies Group
> HPC Research Department Tel: +1-510-495-2352
> Lawrence Berkeley National Laboratory Fax: +1-510-486-6900
>
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>