|
|
我的主系统redflag2.4
内核2.4.2.15我
编译临时系统时,第一次编译BINUTILS正常,但在第一次编译GCC3.3.1的时候
出现如下错误:
make[1]: Entering directory `/root/gcc-build/libiberty'
make[2]: Entering directory `/root/gcc-build/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/gcc-build/libiberty/testsuite'
make[1]: Leaving directory `/root/gcc-build/libiberty'
make[1]: Entering directory `/root/gcc-build/gcc'
(cd intl && make all)
make[2]: Entering directory `/root/gcc-build/gcc/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/gcc-build/gcc/intl'
gcc -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H
-I. -I. -I../../gcc-3.3.1/gcc -I../../gcc-3.3.1/gcc/.
-I../../gcc-3.3.1/gcc/config -I../../gcc-3.3.1/gcc/../include
../../gcc-3.3.1/gcc/ggc-common.c -o ggc-common.o
In file included from /usr/include/string.h:346,
from ../../gcc-3.3.1/gcc/system.h:116,
from ../../gcc-3.3.1/gcc/ggc-common.c:25:
/usr/include/bits/string2.h: In function `__stpcpy_small':
/usr/include/bits/string2.h:611: warning: pointer targets in return differ in
signedness
../../gcc-3.3.1/gcc/ggc-common.c: In function `ggc_rlimit_bound':
../../gcc-3.3.1/gcc/ggc-common.c:294: storage size of `rlim' isn't known
../../gcc-3.3.1/gcc/ggc-common.c:294: warning: unused variable `rlim'
make[1]: *** [ggc-common.o] Error 1
make[1]: Leaving directory `/root/gcc-build/gcc'
make: *** [all-gcc] Error 2
如上错误中提示好像是gcc-common.o出错,是什么原因啊?
主系统的GCC是2.9.1版本的经升级到2.95还是出错。
求求大侠们救救! |
|