LinuxSir.cn,穿越时空的Linuxsir!

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

第五章编译GCC(Pass1)出错 在线等候解决

[复制链接]
发表于 2003-8-5 20:50:12 | 显示全部楼层 |阅读模式
下面是错误信息:

Bootstrap complete - make "quickstrap" to redo last build,
"restage1" through "restage3" to rebuild specific stages,
or "cleanstrap" to redo the bootstrap from scratch.
make[1]: Leaving directory `/mnt/lfs/gcc-build/gcc-3.2.3/gcc'
Comparing stage2 and stage3 of the compiler
make[1]: Entering directory `/mnt/lfs/gcc-build/gcc-3.2.3/gcc'
rm -f .bad_compare
case "compare" in compare | compare-lean ) stage=2 ;; * ) stage=`echo compare | sed -e 's,^compare\([0-9][0-9]*\).*,\1,'` ;; esac; \
for file in *.o; do \
  tail +16c ./$file > tmp-foo1; \
  tail +16c stage$stage/$file > tmp-foo2 \
    && (cmp tmp-foo1 tmp-foo2 > /dev/null 2>&1 || echo $file differs >> .bad_compare) || true; \
done
tail: stage2/conftest.o: No such file or directory
case "compare" in compare | compare-lean ) stage=2 ;; * ) stage=`echo compare | sed -e 's,^compare\([0-9][0-9]*\).*,\1,'` ;; esac; \
for dir in tmp-foo intl ; do \
  if [ "`echo $dir/*.o`" != "$dir/*.o" ] ; then \
    for file in $dir/*.o; do \
      tail +16c ./$file > tmp-foo1; \
      tail +16c stage$stage/$file > tmp-foo2 \
        && (cmp tmp-foo1 tmp-foo2 > /dev/null 2>&1 || echo $file differs >> .bad_compare) || true; \
    done; \
  else true; fi; \
done
rm -f tmp-foo*
case "compare" in compare | compare-lean ) stage=2 ;; * ) stage=`echo compare | sed -e 's,^compare\([0-9][0-9]*\).*,\1,'` ;; esac; \
if [ -f .bad_compare ]; then \
  echo "Bootstrap comparison failure!"; \
  cat .bad_compare; \
  exit 1; \
else \
  case "compare" in \
    *-lean ) rm -rf stage$stage ;; \
    *) ;; \
  esac; true; \
fi
Bootstrap comparison failure!
gcc.o differs
make[1]: *** [compare] Error 1
make[1]: Leaving directory `/mnt/lfs/gcc-build/gcc-3.2.3/gcc'
make: *** [bootstrap] Error 2
lfs@darkstar:~/gcc-build/gcc-3.2.3$

如何解决????
 楼主| 发表于 2003-8-5 21:09:21 | 显示全部楼层
急啊,自己顶
 楼主| 发表于 2003-8-5 21:49:07 | 显示全部楼层
顺便补充:书和包都是最新的6月份的那个
 楼主| 发表于 2003-8-5 22:00:15 | 显示全部楼层
还有,刚才搜索了一下,有兄弟装上glibc-static-devel包就没事了,但是上rpmfind找了一下,全是MDK的,我用的是Slackware9,Glibc的版本是2.3.1,但是找不到glibc-static-devel-2.3.1的RPM,Google也找不到。。。。。。
发表于 2003-8-5 22:18:13 | 显示全部楼层
没有static-devel,就装glibc-devel,我也不知道slackware里面应该叫什么名字.反正是头文件就对了.
 楼主| 发表于 2003-8-6 18:28:29 | 显示全部楼层
还是不行,装上了glibc-devel,还是一模一样的错误
不知道是不是tail: stage2/conftest.o: No such file or directory的原因???

郁闷中。。。。。。。。
 楼主| 发表于 2003-8-6 19:03:23 | 显示全部楼层
HELP!!!!!!!!
发表于 2003-8-6 20:04:30 | 显示全部楼层
我用最新的 20030801安装,make check的时候总是出错,但是make install就一点问题都没有,我到最后了,就是启动grub不可以。:(。

好像最新的20030801改动了不少,。可以试试。。。
发表于 2003-8-6 20:16:19 | 显示全部楼层
最新版本的要去哪里找呢?老兄。
 楼主| 发表于 2003-8-6 20:20:33 | 显示全部楼层
晕,只好试试了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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