LinuxSir.cn,穿越时空的Linuxsir!

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

第一遍编译gcc-3.4.3不成功

[复制链接]
发表于 2005-1-28 00:01:00 | 显示全部楼层 |阅读模式
按手册上选择configure选项,make提示:
make[2]: Entering directory `/mnt/lfs/usr/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 -pedantic -Wno-long-long -Wold-style-definition     -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I/mnt/lfs/usr/sources/gcc-3.4.3/gcc -I/mnt/lfs/usr/sources/gcc-3.4.3/gcc/. -I/mnt/lfs/usr/sources/gcc-3.4.3/gcc/../include  /mnt/lfs/usr/sources/gcc-3.4.3/gcc/genmodes.c -o genmodes.o
stage1/xgcc -Bstage1/ -B/tools/i686-pc-linux-gnu/bin/ -c   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition     -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I/mnt/lfs/usr/sources/gcc-3.4.3/gcc -I/mnt/lfs/usr/sources/gcc-3.4.3/gcc/. -I/mnt/lfs/usr/sources/gcc-3.4.3/gcc/../include  /mnt/lfs/usr/sources/gcc-3.4.3/gcc/errors.c -o errors.o
stage1/xgcc -Bstage1/ -B/tools/i686-pc-linux-gnu/bin/   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition     -DHAVE_CONFIG_H -DGENERATOR_FILE -static -o genmodes \
genmodes.o errors.o ../libiberty/libiberty.a
/tools/i686-pc-linux-gnu/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make[2]: *** [genmodes] Error 1
make[2]: Leaving directory `/mnt/lfs/usr/sources/gcc-build/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/mnt/lfs/usr/sources/gcc-build/gcc'
make: *** [bootstrap] Error 2
请教什么地方不对?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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