LFS6.3编译gcc4.1.2时出错
时间:2007-11-18
来源:互联网
宿主机是RedHat 9,
安装gcc,make bootstrap提示如下错误:
lfs:/mnt/lfs/sources/gcc-build$ make bootstrap
In file included from ../../gcc-4.1.2/gcc/crtstuff.c:68:
../../gcc-4.1.2/gcc/tsystem.h:90:19: error: stdio.h: No such file or directory
../../gcc-4.1.2/gcc/tsystem.h:93:23: error: sys/types.h: No such file or directory
../../gcc-4.1.2/gcc/tsystem.h:96:19: error: errno.h: No such file or directory
../../gcc-4.1.2/gcc/tsystem.h:103:20: error: string.h: No such file or directory
../../gcc-4.1.2/gcc/tsystem.h:104:20: error: stdlib.h: No such file or directory
../../gcc-4.1.2/gcc/tsystem.h:105:20: error: unistd.h: No such file or directory
In file included from ./include/syslimits.h:7,
from ./include/limits.h:11,
from ../../gcc-4.1.2/gcc/tsystem.h:108,
from ../../gcc-4.1.2/gcc/crtstuff.c:68:
./include/limits.h:122:61: error: limits.h: No such file or directory
In file included from ../../gcc-4.1.2/gcc/crtstuff.c:68:
../../gcc-4.1.2/gcc/tsystem.h:111:18: error: time.h: No such file or directory
make[2]: *** [crtbegin.o] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
make: *** [bootstrap] Error 2
尝试将/usr/include对应文件拷到/tools/include下,好像不行~
安装gcc,make bootstrap提示如下错误:
lfs:/mnt/lfs/sources/gcc-build$ make bootstrap
In file included from ../../gcc-4.1.2/gcc/crtstuff.c:68:
../../gcc-4.1.2/gcc/tsystem.h:90:19: error: stdio.h: No such file or directory
../../gcc-4.1.2/gcc/tsystem.h:93:23: error: sys/types.h: No such file or directory
../../gcc-4.1.2/gcc/tsystem.h:96:19: error: errno.h: No such file or directory
../../gcc-4.1.2/gcc/tsystem.h:103:20: error: string.h: No such file or directory
../../gcc-4.1.2/gcc/tsystem.h:104:20: error: stdlib.h: No such file or directory
../../gcc-4.1.2/gcc/tsystem.h:105:20: error: unistd.h: No such file or directory
In file included from ./include/syslimits.h:7,
from ./include/limits.h:11,
from ../../gcc-4.1.2/gcc/tsystem.h:108,
from ../../gcc-4.1.2/gcc/crtstuff.c:68:
./include/limits.h:122:61: error: limits.h: No such file or directory
In file included from ../../gcc-4.1.2/gcc/crtstuff.c:68:
../../gcc-4.1.2/gcc/tsystem.h:111:18: error: time.h: No such file or directory
make[2]: *** [crtbegin.o] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
make: *** [bootstrap] Error 2
尝试将/usr/include对应文件拷到/tools/include下,好像不行~
作者: wuzhao 发布时间: 2007-11-18
又是旧石气时代的 RH9,别浪费时间了,换个现代的发行版或者用 LFS 的 LiveCD 再来吧!
作者: d00m3d 发布时间: 2007-11-18
引用:
作者: d00m3d
又是旧石气时代的 RH9,别浪费时间了,换个现代的发行版或者用 LFS 的 LiveCD 再来吧!
|
作者: lin_wang 发布时间: 2008-01-07
解决了,是手册没看清除,gcc的patch是在第二次编译时才打的
作者: lin_wang 发布时间: 2008-01-08
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28