Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

From: Brian Barrett (brbarret_at_[hidden])
Date: 2006-01-11 09:30:25


Ok, my bad. I'll do this for OMPI tonight.

Brian

On Jan 11, 2006, at 2:47 AM, Ralf Wildenhues wrote:

> * Brian Barrett wrote on Wed, Jan 11, 2006 at 05:28:55AM CET:
>> On Jan 10, 2006, at 12:15 PM, Ralf Wildenhues wrote:
>>> * Greg Watson wrote on Tue, Jan 10, 2006 at 05:58:35PM CET:
>>>> Running configure from 1.0.2a3 on OSX 10.4.3:
>>>>
>>>> configure: WARNING: net/if.h: present but cannot be compiled
>>>> configure: WARNING: net/if.h: check for missing prerequisite
>>>> headers?
>>>
>>> Yes. The test is broken. You need to
>>> #include <sys/socket.h>
>>> first. See
>>>
>>> info Autoconf "Header Portability"
>>> under `net/if.h' for a complete description.
>>
>> But as I understand it, this isn't anything we can do anything about,
>> right? I mean, other than report it to the AC developers?
>
> Erm, no. Quoting the complete description:
> | `net/if.h'
> | On Darwin, this file requires that `sys/socket.h' be included
> | beforehand. One should run:
> |
> | AC_CHECK_HEADERS([sys/socket.h])
> | AC_CHECK_HEADERS([net/if.h], [], [],
> | [#include <stdio.h>
> | #if STDC_HEADERS
> | # include <stdlib.h>
> | # include <stddef.h>
> | #else
> | # if HAVE_STDLIB_H
> | # include <stdlib.h>
> | # endif
> | #endif
> | #if HAVE_SYS_SOCKET_H
> | # include <sys/socket.h>
> | #endif
> | ])
>
> Do exactly as told (in both configure.ac/your macro, and also use the
> header order in the code that uses net/if.h). If the error persists,
> _then_ there is reason to report an Autoconf bug.
>
> Cheers,
> Ralf
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel