|
第二次编译GCC时,如下:
前面是重复的一大段的“
../../gcc-3.2/libiberty/regex.c:1422: warning: traditional C rejects string concatenation”这类的东西
../../gcc-3.2/libiberty/regex.c:1424: warning: traditional C rejects string concatenation
../../gcc-3.2/libiberty/regex.c:1425: warning: traditional C rejects string concatenation
../../gcc-3.2/libiberty/regex.c:1427: warning: traditional C rejects string concatenation
../../gcc-3.2/libiberty/regex.c: In function `xregcomp':
../../gcc-3.2/libiberty/regex.c:8099: warning: signed and unsigned type in conditional expression
../../gcc-3.2/libiberty/regex.c: In function `xregerror':
../../gcc-3.2/libiberty/regex.c:8234: warning: unused parameter `preg'
if [ x"-fpic" != x ]; then \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.2/libiberty/../include -W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.2/libiberty/cplus-dem.c -o pic/cplus-dem.o; \
else true; fi
In file included from ../../gcc-3.2/libiberty/cplus-dem.c:41:
/static/lib/gcc-lib/i686-pc-linux-gnu/3.2/include/stdio.h:55: syntax error before "typedef"
/static/lib/gcc-lib/i686-pc-linux-gnu/3.2/include/stdio.h:60: parse error before "__USING_NAMESPACE_STD"
/static/lib/gcc-lib/i686-pc-linux-gnu/3.2/include/stdio.h: In function `__USING_NAMESPACE_STD':
/static/lib/gcc-lib/i686-pc-linux-gnu/3.2/include/stdio.h:71: storage class specified for parameter `__FILE'
In file included from /usr/include/_G_config.h:14,
from /usr/include/libio.h:32,
from /static/lib/gcc-lib/i686-pc-linux-gnu/3.2/include/stdio.h:81,
from ../../gcc-3.2/libiberty/cplus-dem.c:41:
/static/lib/gcc-lib/i686-pc-linux-gnu/3.2/include/stddef.h:325: storage class specified for parameter `wchar_t'
/static/lib/gcc-lib/i686-pc-linux-gnu/3.2/include/stddef.h:354: storage class specified for parameter `wint_t'
In file included from /usr/include/_G_config.h:24,
from /usr/include/libio.h:32,
from /static/lib/gcc-lib/i686-pc-linux-gnu/3.2/include/stdio.h:81,
from ../../gcc-3.2/libiberty/cplus-dem.c:41:
/usr/include/wchar.h:72: parse error before "wint_t"
/static/lib/gcc-lib/i686-pc-linux-gnu/3.2/include/stdio.h:71: parm types given both in parmlist and separately
/static/lib/gcc-lib/i686-pc-linux-gnu/3.2/include/stdio.h:60: parameter name omitted
In file included from /usr/include/libio.h:32,
from /static/lib/gcc-lib/i686-pc-linux-gnu/3.2/include/stdio.h:81,
from ../../gcc-3.2/libiberty/cplus-dem.c:41:
/usr/include/_G_config.h:29: `__mbstate_t' undeclared (first use in this function)
/usr/include/_G_config.h:29: (Each undeclared identifier is reported only once
/usr/include/_G_config.h:29: for each function it appears in.)
/usr/include/_G_config.h:29: parse error before "__state"
/usr/include/_G_config.h: At top level:
/usr/include/_G_config.h:30: ISO C forbids data definition with no type or storage class
/usr/include/_G_config.h:34: parse error before "__mbstate_t"
/usr/include/_G_config.h:35: ISO C forbids data definition with no type or storage class
In file included from /usr/include/_G_config.h:44,
from /usr/include/libio.h:32,
from /static/lib/gcc-lib/i686-pc-linux-gnu/3.2/include/stdio.h:81,
from ../../gcc-3.2/libiberty/cplus-dem.c:41:
/usr/include/gconv.h:158: parse error before "__mbstate_t"
/usr/include/gconv.h:159: ISO C forbids data definition with no type or storage class
/usr/include/gconv.h:164: parse error before '}' token
/usr/include/gconv.h:172: field `__data' has incomplete type
/usr/include/gconv.h:173: confused by earlier errors, bailing out
make[1]: *** [cplus-dem.o] Error 1
make[1]: Leaving directory `/static/src/gcc-build/libiberty'
make: *** [all-libiberty] Error 2
刚刚十秒钟就停在这里了。 |
|