Subject: configure: error: C preprocessor "/lib/cpp" fails sanity check
To: None <tech-pkg@netbsd.org>
From: None <xiu-chao.zhou@fedex.com>
List: tech-pkg
Date: 01/21/2005 10:15:30
Hi:
I'm just trying to build the GCC but keep getting this error.
[root@SHRH gcc-3.4.3]# make
Configuring in gcc
configure: loading cache ./config.cache
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
checking LIBRARY_PATH variable... ok
checking GCC_EXEC_PREFIX variable... ok
checking whether to place generated files in the source directory... no
checking whether a default linker was specified... no
checking whether a default assembler was specified... no
checking for i686-pc-linux-gnulibc1-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 whether gcc and cc understand -c and -o together... yes
checking whether gcc accepts -Wno-long-long... yes
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
make: *** [configure-gcc] Error 1
how to correct this problem ,thaks!
rdgs/tomcay