LinuxSir.cn,穿越时空的Linuxsir!

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

我装了几遍了,还没成功

[复制链接]
发表于 2003-4-27 18:35:04 | 显示全部楼层 |阅读模式
在binutils时总出错,我用的PLFS,在第五章时,编译binutils时check时报错,如果继续,后面的总报exec-am和data-am错.

下面是log内容:

cat <<'EOF' |
LAST_UPDATED:
Native configuration is i686-pc-linux-gnu

                === binutils tests ===


Running target unix

                === binutils Summary ===

# of expected passes                31
# of expected failures                1
                === gas tests ===


Running target unix

                === gas Summary ===

# of expected passes                55

Compiler version: gcc
Platform: i686-pc-linux-gnu
configure flags: --host=i686-pc-linux-gnu --prefix=/stage1 --with-lib-path=/stage1/lib --enable-shared
EOF
Mail -s "Results for gcc testsuite on i686-pc-linux-gnu" gcc-testresults@gcc.gnu.org &&
mv /stage1/src/binutils-build/./binutils/binutils.sum /stage1/src/binutils-build/./binutils/binutils.sum.sent &&
mv /stage1/src/binutils-build/./gas/testsuite/gas.sum /stage1/src/binutils-build/./gas/testsuite/gas.sum.sent &&
mv /stage1/src/binutils-build/./binutils/binutils.log /stage1/src/binutils-build/./binutils/binutils.log.sent &&
mv /stage1/src/binutils-build/./gas/testsuite/gas.log /stage1/src/binutils-build/./gas/testsuite/gas.log.sent &&
true
发表于 2003-4-27 19:24:48 | 显示全部楼层
没看到哪里有出错啊,
unexpected 才是出错。
 楼主| 发表于 2003-4-28 22:10:26 | 显示全部楼层
Gentoo Linux 安装指示
 楼主| 发表于 2003-4-28 22:12:02 | 显示全部楼层

第6章时又出错误了

make[4]: Leaving directory `/src/binutils-build/gas'
make[3]: Leaving directory `/src/binutils-build/gas'
make[2]: Leaving directory `/src/binutils-build/gas'
make[2]: Entering directory `/src/binutils-build/gprof'
Making check in po
make[3]: Entering directory `/src/binutils-build/gprof/po'
make[3]: Nothing to be done for `check'.
make[3]: Leaving directory `/src/binutils-build/gprof/po'
make[3]: Entering directory `/src/binutils-build/gprof'
make[3]: Nothing to be done for `check-am'.
make[3]: Leaving directory `/src/binutils-build/gprof'
make[2]: Leaving directory `/src/binutils-build/gprof'
make[2]: Entering directory `/src/binutils-build/intl'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/src/binutils-build/intl'
make[2]: Entering directory `/src/binutils-build/ld'
Making check in po
make[3]: Entering directory `/src/binutils-build/ld/po'
make[3]: Nothing to be done for `check'.
make[3]: Leaving directory `/src/binutils-build/ld/po'
make[3]: Entering directory `/src/binutils-build/ld'
make  check-DEJAGNU
make[4]: Entering directory `/src/binutils-build/ld'
Making a new site.exp file...
srcroot=`cd ../../binutils-2.13.2/ld && pwd`; export srcroot; \
r=`pwd`; export r; \
LC_COLLATE=; LC_ALL=; LANG=; export LC_COLLATE LC_ALL LANG; \
EXPECT=expect; export EXPECT; \
if [ -f ./../expect/expect ]; then \
  TCL_LIBRARY=`cd ../../binutils-2.13.2/ld/../tcl/library && pwd`; \
  export TCL_LIBRARY; \
fi; \
runtest=runtest; \
if /bin/sh -c "$runtest --version" > /dev/null 2>&1; then \
  $runtest --tool ld --srcdir ${srcroot}/testsuite \
        CC="gcc -L/src/binutils-build/ld" CFLAGS="-O2 -pipe" \
        CXX="c++ -L/src/binutils-build/ld" CXXFLAGS="-O2 -pipe" \
        CC_FOR_HOST="gcc" CFLAGS_FOR_HOST="-O2 -pipe" \
        OFILES="ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o ldwrite.o ldexp.o  ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o eelf_i386.o ei386linux.o " BFDLIB="../bfd/.libs/libbfd.a" \
        LIBIBERTY="../libiberty/libiberty.a " LIBS="" \
        ; \
else echo "WARNING: could not find \`runtest'" 1>&2; :;\
fi
WARNING: Couldn't find the global config file.
WARNING: Couldn't find tool init file

Illegal Argument "CC=gcc -L/src/binutils-build/ld"
try "runtest --help" for option list
make[4]: *** [check-DEJAGNU] Error 1
make[4]: Leaving directory `/src/binutils-build/ld'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/src/binutils-build/ld'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/src/binutils-build/ld'
make[1]: *** [check-ld] Error 2
make[1]: Leaving directory `/src/binutils-build'
make: *** [check] Error 2
发表于 2003-4-28 22:33:54 | 显示全部楼层
Illegal Argument "CC=gcc -L/src/binutils-build/ld"
你能肯定在第五章里改了ldscripts么?
还有,你的binutils版本是多少?
发表于 2003-4-28 22:49:29 | 显示全部楼层
还忘了一点,你第一个编译的binutils是静态编译的么?主系统里如果没有相关的库,是不能静态编译的。说说你的主系统是什么,怎么来安装的吧。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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