[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: |
Akim Demaille |
Subject: |
Re: can be compiled but not cpp'ed (Was: header files (autoconf 2.57; automake 1.7.6)) |
Date: |
Wed, 12 Nov 2003 16:28:16 +0100 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) |
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!