LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 4793|回复: 4

cpp error.....

[复制链接]
发表于 2003-12-30 14:17:19 | 显示全部楼层 |阅读模式
Everytime I try to run configure script in any program's source
it gives me
...
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check

what's wrong???
my gcc is 3.3.2
发表于 2003-12-30 21:07:04 | 显示全部楼层
http://mail.gnu.org/archive/cgi- ... mp;idxname=autoconf

去上面看看,有几封关于这个问题的mail
 楼主| 发表于 2003-12-31 15:33:52 | 显示全部楼层

hahaha...

it's fixed...
there should be a link in /usr/include/linux link to /usr/src/linux/include/linux
发表于 2003-12-31 21:42:11 | 显示全部楼层
加精,供以后兄弟参考。
发表于 2004-1-1 08:29:05 | 显示全部楼层
if you have installed kernel-headers package, it's not necessary to make the symbol link. I suggest to install this package. in fact, lacking of this package may cause a lot of troubles in compiling packages and kernels.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表