[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
present but cannot be compiled (Was: WARNING: dlfcn.h: present but canno
From: |
Akim Demaille |
Subject: |
present but cannot be compiled (Was: WARNING: dlfcn.h: present but cannot be compiled) |
Date: |
Wed, 26 Feb 2003 11:36:07 +0100 |
User-agent: |
Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 |
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!
| Hi,
| when trying to compile the xine-lib-1-cvs, here is what I get;
|
|
| Do I need to change anything ?
|
| Best Regards,
|
| Olivier Kaloudoff
|
| ../configure --prefix=/usr/sh4-linux --host=sh4-linux 2> /tmp/e > /dev/null
|
| cat /tmp/e
|
| configure: WARNING: If you wanted to set the --build type, don't use --host.
| If a cross compiler is detected then cross compile mode will be used.
| configure: WARNING: dlfcn.h: present but cannot be compiled
| configure: WARNING: dlfcn.h: check for missing prerequisite headers?
| configure: WARNING: dlfcn.h: proceeding with the preprocessor's result
| configure: WARNING: ## ------------------------------------ ##
| configure: WARNING: ## Report this to address@hidden ##
| configure: WARNING: ## ------------------------------------ ##
| configure: WARNING: locale.h: present but cannot be compiled
| configure: WARNING: locale.h: check for missing prerequisite headers?
| configure: WARNING: locale.h: proceeding with the preprocessor's result
| configure: WARNING: ## ------------------------------------ ##
| configure: WARNING: ## Report this to address@hidden ##
| configure: WARNING: ## ------------------------------------ ##
| configure: WARNING: nl_types.h: present but cannot be compiled
| configure: WARNING: nl_types.h: check for missing prerequisite headers?
| configure: WARNING: nl_types.h: proceeding with the preprocessor's result
| configure: WARNING: ## ------------------------------------ ##
| configure: WARNING: ## Report this to address@hidden ##
| configure: WARNING: ## ------------------------------------ ##
| configure: WARNING: malloc.h: present but cannot be compiled
| configure: WARNING: malloc.h: check for missing prerequisite headers?
| configure: WARNING: malloc.h: proceeding with the preprocessor's result
| configure: WARNING: ## ------------------------------------ ##
| configure: WARNING: ## Report this to address@hidden ##
| configure: WARNING: ## ------------------------------------ ##
| configure: WARNING: stddef.h: present but cannot be compiled
| configure: WARNING: stddef.h: check for missing prerequisite headers?
| configure: WARNING: stddef.h: proceeding with the preprocessor's result
| configure: WARNING: ## ------------------------------------ ##
| configure: WARNING: ## Report this to address@hidden ##
| configure: WARNING: ## ------------------------------------ ##
| configure: WARNING: libintl.h: present but cannot be compiled
| configure: WARNING: libintl.h: check for missing prerequisite headers?
| configure: WARNING: libintl.h: proceeding with the preprocessor's result
| configure: WARNING: ## ------------------------------------ ##
| configure: WARNING: ## Report this to address@hidden ##
| configure: WARNING: ## ------------------------------------ ##
| configure: WARNING: zlib.h: present but cannot be compiled
| configure: WARNING: zlib.h: check for missing prerequisite headers?
| configure: WARNING: zlib.h: proceeding with the preprocessor's result
| configure: WARNING: ## ------------------------------------ ##
| configure: WARNING: ## Report this to address@hidden ##
| configure: WARNING: ## ------------------------------------ ##
| configure: WARNING: byteswap.h: present but cannot be compiled
| configure: WARNING: byteswap.h: check for missing prerequisite headers?
| configure: WARNING: byteswap.h: proceeding with the preprocessor's result
| configure: WARNING: ## ------------------------------------ ##
| configure: WARNING: ## Report this to address@hidden ##
| configure: WARNING: ## ------------------------------------ ##
| configure: WARNING: sys/mman.h: present but cannot be compiled
| configure: WARNING: sys/mman.h: check for missing prerequisite headers?
| configure: WARNING: sys/mman.h: proceeding with the preprocessor's result
| configure: WARNING: ## ------------------------------------ ##
| configure: WARNING: ## Report this to address@hidden ##
| configure: WARNING: ## ------------------------------------ ##
|
|
|
| Random Thought:
| --------------
| Tis man's perdition to be safe, when for the truth he ought to die.
|
|
|
|
|
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- present but cannot be compiled (Was: WARNING: dlfcn.h: present but cannot be compiled),
Akim Demaille <=