[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: can be compiled but not cpp'ed (Was: header files (autoconf 2.57; au
From: |
Michiel Jan Laurens de Hoon |
Subject: |
Re: can be compiled but not cpp'ed (Was: header files (autoconf 2.57; automake 1.7.6)) |
Date: |
Thu, 13 Nov 2003 00:40:06 +0900 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) |
config.cache is attached. Thanks!
--Michiel.
Akim Demaille wrote:
Public matters on public places.
> Thank you for your quick reply. But the warning I received from
> configure is different from the "present cannot be compiled"
> warning. I received the "accepted by the compiler, rejected by
> the preprocessor" warning message:
> checking stdio.h usability... yes
> checking stdio.h presence... no
> configure: WARNING: stdio.h: accepted by the compiler, rejected by the
> preprocessor!
> configure: WARNING: stdio.h: proceeding with the preprocessor's result
> configure: WARNING: ## ------------------------------------ ##
> configure: WARNING: ## Report this to address@hidden ##
> configure: WARNING: ## ------------------------------------ ##
> checking for stdio.h... no
> which is different from the "present but cannot be compiled warning
> error" in your example:
> configure: WARNING: pi.h: present but cannot be compiled
> configure: WARNING: pi.h: check for missing prerequisite headers?
> configure: WARNING: pi.h: proceeding with the preprocessor's result
> configure: WARNING: ## ------------------------------------ ##
> configure: WARNING: ## Report this to address@hidden ##
> configure: WARNING: ## ------------------------------------ ##
Definitely. That's odd and not expected :)
> The "accepted by the compiler, rejected by the preprocessor"
> message occurs even for the stdio.h #include file, so I would think
> that that is not caused by missing prerequisite headers. Do you
> have any other suggestions as to where the "accepted by the
> compiler, rejected by the preprocessor" error is coming from?
> In case it'll help you, I have included the relevant portion of the
> config.log file below.
> Thank you very much for your help and sorry to bother you again.
> --Michiel.
> configure:4690: checking stdio.h usability
> configure:4703: gcc -c -g -O2 conftest.c >&5
> configure:4706: $? = 0
> configure:4709: test -s conftest.o
> configure:4712: $? = 0
> configure:4722: result: yes
> configure:4726: checking stdio.h presence
> configure:4737: conftest.c
> /bin: not found
> /bin: not found
>> #line 4728 "configure"
>> /* confdefs.h. */
>>
>> #define PACKAGE_NAME "cluster"
>> #define PACKAGE_TARNAME "cluster"
>> #define PACKAGE_VERSION "1.24"
>> #define PACKAGE_STRING "cluster 1.24"
>> #define PACKAGE_BUGREPORT ""
>> #define PACKAGE "cluster"
>> #define VERSION "1.24"
>> #define HAVE_SYS_TYPES_H 1
>> #define HAVE_SYS_STAT_H 1
>> #define HAVE_STDLIB_H 1
>> #define HAVE_STRING_H 1
>> #define HAVE_MEMORY_H 1
>> #define HAVE_STRINGS_H 1
>> #define HAVE_INTTYPES_H 1
>> #define HAVE_STDINT_H 1
>> #define HAVE_UNISTD_H 1
>> /* end confdefs.h. */
>> #include <stdio.h>
> configure:4762: result: no
> configure:4768: WARNING: stdio.h: accepted by the compiler, rejected by the
prep
> rocessor!
> configure:4770: WARNING: stdio.h: proceeding with the preprocessor's result
> configure:4798: checking for stdio.h
> configure:4805: result: no
Err... It looks like cpp is not defined. Could you run it again, with
-C, and send config.cache? Thanks!
--
Michiel de Hoon, Assistant Professor
University of Tokyo, Institute of Medical Science
Human Genome Center
4-6-1 Shirokane-dai, Minato-ku
Tokyo 108-8639
Japan
http://bonsai.ims.u-tokyo.ac.jp/~mdehoon
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
# scripts and configure runs, see configure's option --config-cache.
# It is not useful on other systems. If it contains results you don't
# want to keep, you may remove or edit it.
#
# config.status only pays attention to the cache file if you give it
# the --recheck option to rerun configure.
#
# `ac_cv_env_foo' variables (set or unset) will be overridden when
# loading this file, other *unset* `ac_cv_foo' will be assigned the
# following values.
ac_cv_c_compiler_gnu=${ac_cv_c_compiler_gnu=yes}
ac_cv_c_const=${ac_cv_c_const=yes}
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=${ac_cv_exeext=.exe}
ac_cv_func_malloc_0_nonnull=${ac_cv_func_malloc_0_nonnull=yes}
ac_cv_header_float_h=${ac_cv_header_float_h=no}
ac_cv_header_inttypes_h=${ac_cv_header_inttypes_h=yes}
ac_cv_header_math_h=${ac_cv_header_math_h=no}
ac_cv_header_memory_h=${ac_cv_header_memory_h=yes}
ac_cv_header_stdc=${ac_cv_header_stdc=no}
ac_cv_header_stdint_h=${ac_cv_header_stdint_h=yes}
ac_cv_header_stdio_h=${ac_cv_header_stdio_h=no}
ac_cv_header_stdlib_h=${ac_cv_header_stdlib_h=yes}
ac_cv_header_string_h=${ac_cv_header_string_h=yes}
ac_cv_header_strings_h=${ac_cv_header_strings_h=yes}
ac_cv_header_sys_stat_h=${ac_cv_header_sys_stat_h=yes}
ac_cv_header_sys_types_h=${ac_cv_header_sys_types_h=yes}
ac_cv_header_time_h=${ac_cv_header_time_h=no}
ac_cv_header_unistd_h=${ac_cv_header_unistd_h=yes}
ac_cv_lib_m_pow=${ac_cv_lib_m_pow=yes}
ac_cv_lib_m_sqrt=${ac_cv_lib_m_sqrt=yes}
ac_cv_objext=${ac_cv_objext=o}
ac_cv_path_install=${ac_cv_path_install='/usr/bin/install -c'}
ac_cv_prog_AWK=${ac_cv_prog_AWK=gawk}
ac_cv_prog_ac_ct_CC=${ac_cv_prog_ac_ct_CC=gcc}
ac_cv_prog_cc_g=${ac_cv_prog_cc_g=yes}
ac_cv_prog_cc_stdc=${ac_cv_prog_cc_stdc=}
ac_cv_prog_egrep=${ac_cv_prog_egrep='grep -E'}
ac_cv_prog_make_make_set=${ac_cv_prog_make_make_set=yes}
ac_cv_type_size_t=${ac_cv_type_size_t=yes}
am_cv_CC_dependencies_compiler_type=${am_cv_CC_dependencies_compiler_type=gcc3}