cpp sanity check failure - PROBLEM FIXED

randall rlrathbun at roadrunner.com
Sun Jun 15 08:13:24 CEST 2008


randall at athlon:~/gmp-4.2.2> ./configure

checking build system type... athlon64-unknown-linux-gnu
checking host system type... athlon64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking ABI=64
checking compiler gcc -O2 -m64 ... yes
checking compiler gcc -O2 -m64  -mtune=k8... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
--------------------
the configure file was looking for linux/limits.h file which is only found if 
the kernel header files are included into the system.  I had to add the linux 
kernel header files using YaST2 (Suse 10.3 linux) and this cured the problem 
with the Athlon 64 3200+ build

something to make a note of, on the platforms page


More information about the gmp-bugs mailing list