QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1040|回复: 4

[求助]急!急!这个问题怎么解决?

[复制链接]
发表于 2003-4-29 11:28:23 | 显示全部楼层 |阅读模式
root@localhost root]# cd /usr/src/linux-2.4.18-3/
[root@localhost linux-2.4.18-3]# make xconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts kconfig.tk
make[1]: Entering directory `/usr/src/linux-2.4.18-3/scripts'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkparse.o tkparse.c
gcc: installation problem, cannot exec `cpp0': No such file or directory
make[1]: *** [tkparse.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.18-3/scripts'
make: *** [xconfig] Error 2
[root@localhost linux-2.4.18-3]#
发表于 2003-4-29 12:45:28 | 显示全部楼层
老大,你是不是安装过gcc编译器?
如果是的话,说明你的编译器没有安装好!!!
回复

使用道具 举报

发表于 2003-5-1 08:13:42 | 显示全部楼层
u use which linux? rh or debian? sb met this on woody before.
u need reinstall gcc
回复

使用道具 举报

 楼主| 发表于 2003-5-3 14:38:00 | 显示全部楼层
need reinstall gcc

when i try "configure" to reinstall gcc,i am told something like "cannot exec `cpp0': No such file or directory ".
how can i reinstall gcc,please?
回复

使用道具 举报

发表于 2003-5-4 07:09:36 | 显示全部楼层
u fall into a loop to do that. u can not use a failed gcc to compile a new gcc to install a new gcc. right?
u have to download a gcc binary rpm to install directly.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-5-23 08:43 , Processed in 0.064981 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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