|
|
我用的官方的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 |
|