分页: 1 / 1

gcc-E,/lib/cpp fails sanity check

发表于 : 2012-07-10 22:15
xzby
gnat / gcc-4.1.3
checking how to run the C preprocessor... (cached) gcc -E
configure: error: C preprocessor "gcc -E" fails sanity check
See `config.log' for more details.
make[1]: *** [configure-build-libiberty] 错误 1
make[1]: Leaving directory `/home/HASEE/gnat/gcc-4.1.3'
make: *** [all] 错误 2

gcc-4.7.1
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
make[2]: *** [configure-stage1-lto-plugin] 错误 1
make[2]: Leaving directory `/home/HASEE/gcc4.7.1/gcc-4.7.1'
make[1]: *** [stage1-bubble] 错误 2
make[1]: Leaving directory `/home/HASEE/gcc4.7.1/gcc-4.7.1'
make: *** [all] 错误 2

这两个错误是怎么造成的? 是我在已经有cpp下又安装了cpp覆盖造成的么? 都是rpm
gcc-4.3.2-7_nd5.src.rpm gcc-4.3.2-7.1.src.rpm 刚才两个 现在replacepkgs就一个了。 可之前也不好使。可能只有刚安装系统时cpp没有毛病。可是为什么现在有这个错误呢?
在安装网卡驱动时就没毛病。
安装网卡也需要cpp不过就没提示错误。
开始时候我不会装网卡 用wicd wpa-supplicant什么都不好使。其实我就是没找到网卡厂商。 所以没有下到驱动。