LinuxSir.cn,穿越时空的Linuxsir!

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

Error when install LFS5.0?

[复制链接]
发表于 2004-1-10 01:16:11 | 显示全部楼层 |阅读模式
I am taking the gcc install step.
There are errors when executing the following command
make BOOT_LDFLAGS="-static" bootstrap  //error:

make[2]: *** [gengenrtl] Error 1
make[2]: Leaving directory `/lfs/sources/gcc-build/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/lfs/sources/gcc-build/gcc'
make: *** [bootstrap] Error 2

why?
please help.
I am a newer.
发表于 2004-1-10 01:31:02 | 显示全部楼层
你把重要部份给省略了。贴全一点。
 楼主| 发表于 2004-1-10 12:57:04 | 显示全部楼层
好,我晚上再试一次,把记录全部拷下来。

好像虽然出错,但是gcc等程序还是生成了
 楼主| 发表于 2004-1-10 19:54:29 | 显示全部楼层
Error details:
NGUAGES="c gcov " MAKEOVERRIDES= OUTPUT_OPTION="-o \$@"
make[2]: Entering directory `/lfs/sources/gcc-build/gcc'
stage1/xgcc -Bstage1/ -B/tools/i686-pc-linux-gnu/bin/ -c   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long   -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I../../gcc-3.3.1/gcc -I../../gcc-3.3.1/gcc/. -I../../gcc-3.3.1/gcc/config -I../../gcc-3.3.1/gcc/../include ../../gcc-3.3.1/gcc/gengenrtl.c -o gengenrtl.o
stage1/xgcc -Bstage1/ -B/tools/i686-pc-linux-gnu/bin/   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long   -DHAVE_CONFIG_H -DGENERATOR_FILE -static -o gengenrtl \
gengenrtl.o ../libiberty/libiberty.a
/tools/i686-pc-linux-gnu/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make[2]: *** [gengenrtl] Error 1
make[2]: Leaving directory `/lfs/sources/gcc-build/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/lfs/sources/gcc-build/gcc'
make: *** [bootstrap] Error 2
发表于 2004-1-10 22:46:55 | 显示全部楼层
/tools/i686-pc-linux-gnu/bin/ld: cannot find -lc
主系统里缺少glibc的头文件。
 楼主| 发表于 2004-1-11 21:02:56 | 显示全部楼层
我感觉自己都装了呀
应该不影响后续的进行吧?
gcc已经生成了
发表于 2004-1-12 02:55:44 | 显示全部楼层
不能继续啦,你要在主系统里装了glibc的头文件再重新安装binutils和gcc。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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