LinuxSir.cn,穿越时空的Linuxsir!

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

lfs6.0 binutils-2.15.94.0.2.2 make编译出错(gcc3.3.5 kernel 2.6.8) (已解决,安装其

[复制链接]
发表于 2005-10-2 17:50:55 | 显示全部楼层 |阅读模式
In file included from ./targ-cpu.h:1,
                 from .././binutils-2.15.94.0.2.2/gas/config/obj-elf.h:42,
                 from ./obj-format.h:1,
                 from .././binutils-2.15.94.0.2.2/gas/config/te-linux.h:4,
                 from ./targ-env.h:1,
                 from .././binutils-2.15.94.0.2.2/gas/as.h:625,
                 from .././binutils-2.15.94.0.2.2/gas/app.c:30:
.././binutils-2.15.94.0.2.2/gas/config/tc-i386.h:443: error: array type has incomplete element type
make[2]: *** [app.o] Error 1
make[2]: Leaving directory `/mnt/lfs/binutils-build/gas'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/mnt/lfs/binutils-build/gas'
make: *** [install-gas] Error 2
lfs@debian:/mnt/lfs/binutils-build$ make -C ld clean(第n次编译通过)
make: *** ld: No such file or directory.  Stop.
lfs@debian:/mnt/lfs/binutils-build$ make -C ld LIB_PATH=/tools/lib(第n次编译通过)
make: *** ld: No such file or directory.  Stop.
lfs@debian:/mnt/lfs/binutils-build$
 楼主| 发表于 2005-10-2 20:00:44 | 显示全部楼层

怎么没人知道吗

兄弟们都没遇到过这个情况吗
怎么没人回复阿   :thank  :thank
回复 支持 反对

使用道具 举报

发表于 2005-10-2 21:34:45 | 显示全部楼层
我不知道你在进行那个步骤,不过肯定有问题。不要继续了,除非解决了。
回复 支持 反对

使用道具 举报

发表于 2005-10-3 08:41:50 | 显示全部楼层
最好不要干了,binutils里面都是些ld ldconfig之类的二进制链接器,如果这个出错了,系统就起不来了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-3 09:28:01 | 显示全部楼层

我现在已经停了

:thank
正在irc.linuxfromscratch.org#lfs-support帮助
有人提议让我先编译gcc
gcc下载出错 正重新downloading
回复 支持 反对

使用道具 举报

发表于 2005-10-3 16:56:50 | 显示全部楼层
要说第一个东西编译出错很可能是因为编译环境有问题,比如说
缺了flex什么的(我就遇到过这样的情况)
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-3 20:50:20 | 显示全部楼层

系统信息debian sarge,kernel 2.6.8,gcc 4.0

lfs为lfs-packages-6.1,我还应装什么软件阿??
回复 支持 反对

使用道具 举报

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

本版积分规则

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