LinuxSir.cn,穿越时空的Linuxsir!

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

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

[复制链接]
发表于 2005-1-20 11:16:24 | 显示全部楼层 |阅读模式
我的系统是Fedora Core 1
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 11:39:46 | 显示全部楼层
有没有高手帮我呀?????????
回复 支持 反对

使用道具 举报

发表于 2005-1-20 12:23:47 | 显示全部楼层
这个我没有遇到类似的问题,请问:
你的GCC源代码解压到什么目录的?
你的gcc-build又是在什么目录?能否给出绝对路径。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-1-20 12:30:07 | 显示全部楼层
我的GCC源代码解压到/mnt/lfs/build/gcc-3.3.3目录
gcc-build是在/mnt/lfs/build/gcc-build目录
能否帮我呀?????????
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-1-20 12:38:20 | 显示全部楼层
急呀!!!!!!有没有高手帮我呀?????????
非常感谢!!!!!!
回复 支持 反对

使用道具 举报

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

本版积分规则

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