LinuxSir.cn,穿越时空的Linuxsir!

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

编译lfs-5。1。1里gcc-pass1-3.3.3出现如下错误,如何解决呢?

[复制链接]
发表于 2004-6-30 10:24:01 | 显示全部楼层 |阅读模式
我用的官方的profile文件,在redhat as3下编译lfs-5。1。1里gcc-pass1-3.3.3出现如下错误,如何解决呢?

│-: ../../gcc-3.3.3/gcc/crtstuff.c:129: error: parse error before "TARGET_ATTRIBUTE_WEAK"                                   │
│-: ../../gcc-3.3.3/gcc/crtstuff.c:129: warning: type defaults to `int' in declaration of `TARGET_ATTRIBUTE_WEAK'           │
│-: ../../gcc-3.3.3/gcc/crtstuff.c:129: warning: data definition has no type or storage class                               │
│-: ../../gcc-3.3.3/gcc/crtstuff.c:132: error: parse error before "TARGET_ATTRIBUTE_WEAK"                                   │
│-: ../../gcc-3.3.3/gcc/crtstuff.c:132: warning: type defaults to `int' in declaration of `TARGET_ATTRIBUTE_WEAK'           │
│-: ../../gcc-3.3.3/gcc/crtstuff.c:132: warning: data definition has no type or storage class                               │
│-: ../../gcc-3.3.3/gcc/crtstuff.c:418:2: #error "What are you doing with crtstuff.c, then?"                                │
│-: make[2]: *** [crtbegin.o] Error 1                                                                                       │
│-: make[2]: Leaving directory `/mnt/lfs/tools/build/gcc-build/gcc'                                                         │
│-: make[1]: *** [stage2_build] Error 2                                                                                     │
│-: make[1]: Leaving directory `/mnt/lfs/tools/build/gcc-build/gcc'                                                         │
│-: make: *** [bootstrap] Error 2                                                                                           │
│I: Log file stored in:                                                                                                     │
│I: /root/.nALFS/packages/gcc-pass1-3.3.3.xml                                                                               │
│E: Execution failed (2).                                                                                                   │
│I: Total time executing: 00:00:00
 楼主| 发表于 2004-6-30 10:35:41 | 显示全部楼层
似乎知道了点哦
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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