LinuxSir.cn,穿越时空的Linuxsir!

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

Help!please!

[复制链接]
发表于 2008-5-27 15:48:40 | 显示全部楼层 |阅读模式
在编译binutils-2.17时.遇到这样的错误:
make[4]: *** No rule to make target '../..binutils-2.17/bfd/../include/ansidecl.h',needed by 'archive.lo'. Stop
make[4]: Leaving directory '/mnt/lfs/sources/binutils-build/bfd'
make[3]: ***[all-recursive] Error 1
make[3]: Leaving directory '/mnt/lfs/sources/binutils-build/bfd'
make[2]: ***[all] Error 2
make[2]: Leaving directory '/mnt/lfs/sources/binutils-build/bfd'
make[1]: ***[all-bfd] Error 2
make[1]: Leaving directory '/mnt/lfs/sources/binutils-build'
make: ***[all] Error 2
错在哪里?
发表于 2008-5-27 18:08:20 | 显示全部楼层
你在根目录下面建的是指向/mnt/lfs/tools的链接,还是直接建了个目录?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-27 19:00:50 | 显示全部楼层
我是按照<手把手教你如何建立自己的Linux系统(LFS速成手册)>这个来做的:
mkdir -v $LFS/tools
ln -sv $LFS/tools /
有问题吗?
回复 支持 反对

使用道具 举报

发表于 2008-5-27 19:05:41 | 显示全部楼层
这没有给出足够的错误信息,请继续贴之前的看看。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-28 11:01:28 | 显示全部楼层
在解压binutils-2.17时,遇到这样的错误:
......
binutils-2.17/gas/config/tc-mips.c
binutils-2.17/gas/config/tc-mips.h
binutils-2.17/gas/config/tc-mmix.c

bzip2: Data integrity error when decompressing.
                                Input file = (stdin), output file = (stdout)
                               
It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the 'bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
这个错误是什么意思?
开始没有管这个错误,再执行make就出现上述错误.请指点指点.谢谢~!
回复 支持 反对

使用道具 举报

发表于 2008-5-29 07:58:59 | 显示全部楼层
哥们,你的binutils-2.17压缩包坏了,重新下载一个了。
回复 支持 反对

使用道具 举报

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

本版积分规则

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