[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: present but cannot be compiled
From: |
Akim Demaille |
Subject: |
Re: present but cannot be compiled |
Date: |
Wed, 26 Feb 2003 11:48:10 +0100 |
User-agent: |
Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 |
| Reporting a bug to you as directed in output from configure. We are
| ng to compile telnetd for AIX 4.2.1 and are not having much luck. I
| nclosing the typescript from the configure. We are interested only in
| etd but cannot seem to limit the process to just that program. If you
| help with our compile errors, let me know and I'll send those.
|
| igure: WARNING: netinet/ip.h: present but cannot be compiled
| igure: WARNING: netinet/ip.h: check for missing prerequisite headers?
| igure: WARNING: netinet/ip.h: proceeding with the preprocessor's
| lt
| igure: WARNING: ## ------------------------------------ ##
| igure: WARNING: ## Report this to address@hidden ##
| igure: WARNING: ## ------------------------------------ ##
| igure: WARNING: netinet/ip_icmp.h: present but cannot be compiled
| igure: WARNING: netinet/ip_icmp.h: check for missing prerequisite
| ers?
| igure: WARNING: netinet/ip_icmp.h: proceeding with the preprocessor's
| lt
| igure: WARNING: ## ------------------------------------ ##
| igure: WARNING: ## Report this to address@hidden ##
| igure: WARNING: ## ------------------------------------ ##
| igure: WARNING: netinet/ip_var.h: present but cannot be compiled
| igure: WARNING: netinet/ip_var.h: check for missing prerequisite
| ers?
| igure: WARNING: netinet/ip_var.h: proceeding with the preprocessor's
| lt
| igure: WARNING: ## ------------------------------------ ##
| igure: WARNING: ## Report this to address@hidden ##
| igure: WARNING: ## ------------------------------------ ##
|
|
Sorry, I forgot to include the following piece of text:
Please, report this to the package maintainers, as it's a configure.ac
problem. The Autoconf 2.57 doc says:
Previous versions of Autoconf merely checked whether the header was
accepted by the preprocessor. This was changed because the old test was
inappropriate for typical uses. Headers are typically used to compile,
not merely to preprocess, and the old behavior sometimes accepted
headers that clashed at compile-time. If you need to check whether a
header is preprocessable, you can use `AC_PREPROC_IFELSE' (*note
Running the Preprocessor::).
This scheme, which improves the robustness of the test, also requires
that you make sure that headers that must be included before the
HEADER-FILE be part of the INCLUDES, (*note Default Includes::). If
looking for `bar.h', which requires that `foo.h' be included before if
it exists, we suggest the following scheme:
AC_CHECK_HEADERS([foo.h])
AC_CHECK_HEADERS([bar.h], [], [],
[#if HAVE_FOO_H
# include <foo.h>
# endif
])
Thanks!