[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OSX 10.3.9 make check failed
From: |
Stepan Kasal |
Subject: |
Re: OSX 10.3.9 make check failed |
Date: |
Mon, 27 Jun 2005 15:29:22 +0200 |
User-agent: |
Mutt/1.4.1i |
Dear sir,
On Fri, Jun 24, 2005 at 02:10:56PM -0700, jnt7 wrote:
> I tried installing the latyest autoconf on OSX 10.3.9 but fiualed during the
> "make check". Any help you can provide will be very helpful.
>
> Please find attached the log file.
the log file shows that the problem is caused by the call
AC_CHECK_HEADERS([sys/socket.h])
which is called from AC_FUNC_SELECT_ARGTYPES.
The error message from configure is:
configure: WARNING: sys/socket.h: accepted by the compiler, rejected by the
preprocessor!
configure: WARNING: sys/socket.h: proceeding with the compiler's result
The problem is that if you run /usr/bin/cpp on the following one line file:
#include <socket.h>
you get an error message.
The other test runs gcc on a bigger file, which first includes the standard
headers (see _AC_INCLUDES_DEFAULT_REQUIREMENTS in lib/autoconf/headers.m4).
This is not a real problem, because the preprocessor test will be eventually
removed, while the compiler one will remain.
The question is how to explain to Autotest that this warning is expected
and should be ignored. I don't know how to code this, I hope someone else
will step in.
Have a nice day,
Stepan Kasal