LinuxSir.cn,穿越时空的Linuxsir!

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

安装gcc-2.95时出错

[复制链接]
发表于 2003-1-13 11:47:36 | 显示全部楼层 |阅读模式
collect2.o: In function `dump_file':
/mnt/lfs/static/src/gcc-build/gcc/../../gcc-2.95.3/gcc/collect2.c:631: undefined reference to `__ctype_b_loc'
collect2.o: In function `write_c_file_stat':
/mnt/lfs/static/src/gcc-build/gcc/../../gcc-2.95.3/gcc/collect2.c:2032: undefined reference to `__ctype_b_loc'
collect2.o: In function `scan_prog_file':
/mnt/lfs/static/src/gcc-build/gcc/../../gcc-2.95.3/gcc/collect2.c:2344: undefined reference to `__ctype_b_loc'
tlink.o: In function `scan_linker_output':
/mnt/lfs/static/src/gcc-build/gcc/../../gcc-2.95.3/gcc/tlink.c:617: undefined reference to `__ctype_b_loc'
/mnt/lfs/static/src/gcc-build/gcc/../../gcc-2.95.3/gcc/tlink.c:622: undefined reference to `__ctype_b_loc'
../libiberty/libiberty.a(cplus-dem.o):/mnt/lfs/static/src/gcc-build/libiberty/../../gcc-2.95.3/libiberty/cplus-dem.c:439: more undefined references to `__ctype_b_loc' follow
collect2: ld returned 1 exit status
make[2]: *** [collect2] Error 1
make[2]: Leaving directory `/static/src/gcc-build/gcc'
make[1]: *** [bootstrap] Error 2
另外他说安装前要解压 gcc-core和gcc-g++两个压缩包
可是在我卸载的大包里面没有这两个呀
是怎么会事
谢谢
发表于 2003-1-13 12:06:32 | 显示全部楼层
大包里面的gcc应该是3.2版的。你怎么会用2.95版的gcc呢?
你下载的是那个大包?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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