LinuxSir.cn,穿越时空的Linuxsir!

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

再一次求救!gcc 3.3.3 第一次编译失败...

[复制链接]
发表于 2005-1-20 14:12:56 | 显示全部楼层 |阅读模式
我的系统是Fedora Core 1
我的GCC源代码解压到/mnt/lfs/build/gcc-3.3.3目录
gcc-build是在/mnt/lfs/build/gcc-build目录
gcc 3.3.3 第一次编译失败...
都打过patch了
编到
make BOOT_LDFLAGS=-static bootstrap
过不去了
出现以下错误,请老鸟帮忙...
/bin/sh ../../gcc-3.3.3/gcc/mkconfig.sh tconfig.h
./xgcc -B./ -B/tools/i686-pc-linux-gnu/bin/ -isystem /tools/i686-pc-linux-gnu/include -isystem /tools/i686-pc-linux-gnu/sys-include -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -I. -I. -I../../gcc-3.3.3/gcc -I../../gcc-3.3.3/gcc/. -I../../gcc-3.3.3/gcc/config -I../../gcc-3.3.3/gcc/../include -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-omit-frame-pointer \
-c ../../gcc-3.3.3/gcc/crtstuff.c -DCRT_BEGIN \
-o crtbegin.o
In file included from ../../gcc-3.3.3/gcc/crtstuff.c:62:
../../gcc-3.3.3/gcc/tsystem.h:72:19: stdio.h: No such file or directory
../../gcc-3.3.3/gcc/tsystem.h:75:23: sys/types.h: No such file or directory
../../gcc-3.3.3/gcc/tsystem.h:78:19: errno.h: No such file or directory
../../gcc-3.3.3/gcc/tsystem.h:85:20: string.h: No such file or directory
../../gcc-3.3.3/gcc/tsystem.h:89:20: stdlib.h: No such file or directory
../../gcc-3.3.3/gcc/tsystem.h:90:20: unistd.h: No such file or directory
In file included from include/syslimits.h:7,
from include/limits.h:11,
from ../../gcc-3.3.3/gcc/tsystem.h:93,
from ../../gcc-3.3.3/gcc/crtstuff.c:62:
include/limits.h:122:75: limits.h: No such file or directory
In file included from ../../gcc-3.3.3/gcc/crtstuff.c:62:
../../gcc-3.3.3/gcc/tsystem.h:96:18: time.h: No such file or directory
../../gcc-3.3.3/gcc/crtstuff.c: In function `__do_global_dtors_aux':
../../gcc-3.3.3/gcc/crtstuff.c:277: warning: passing arg 1 of `__deregister_frame_info_bases' discards qualifiers from pointer target type
../../gcc-3.3.3/gcc/crtstuff.c: In function `frame_dummy':
../../gcc-3.3.3/gcc/crtstuff.c:313: warning: passing arg 1 of `__register_frame_info_bases' discards qualifiers from pointer target type
make[2]: *** [crtbegin.o] Error 1
make[2]: Leaving directory `/mnt/lfs/build/gcc-build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/mnt/lfs/build/gcc-build/gcc'
make: *** [bootstrap] Error 2
发表于 2005-1-20 15:59:35 | 显示全部楼层
呵呵,着急也不用发这么多遍啊
看看你的系统 /usr/include 下面有没有stdio.h等这些文件?
你可能需要用系统安装盘重新安装一下相关的东东。
回复 支持 反对

使用道具 举报

发表于 2005-4-2 17:48:30 | 显示全部楼层
装个 rpm格式的压缩包就可以了 安装的时候有可能要求你安装另外的 按要求装好了  就可以装 rpm的gcc包了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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