|
楼主 |
发表于 2007-5-28 14:49:27
|
显示全部楼层
另一个帖子说要安装binutils-2.16.tar.tar
我下载--解压--
./configure
make
make时报错如下,清高手指点一二:
bfd.a ../libiberty/libiberty.a
bucomm.o: In function `make_tempname':
/home/david/binutils-2.11.2/binutils/bucomm.c:246: warning: the use of `mktemp' is dangerous, better use `mkstemp'
echo '/*WARNING: This file is automatically generated!*/' >underscore.t
echo "int prepends_underscore = 0;" >>underscore.t
/bin/sh ./../move-if-change underscore.t underscore.c
underscore.c is unchanged
touch stamp-under
sed -e 's/@PROGRAM@/c++filt/' < ./cxxfilt.man \
> c++filt.1
make[3]: Leaving directory `/home/david/binutils-2.11.2/binutils'
make[2]: Leaving directory `/home/david/binutils-2.11.2/binutils'
make[1]: Leaving directory `/home/david/binutils-2.11.2/binutils'
make[1]: Entering directory `/home/david/binutils-2.11.2/etc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/david/binutils-2.11.2/etc'
make[1]: Entering directory `/home/david/binutils-2.11.2/gas'
make all-recursive
make[2]: Entering directory `/home/david/binutils-2.11.2/gas'
Making all in doc
make[3]: Entering directory `/home/david/binutils-2.11.2/gas/doc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/david/binutils-2.11.2/gas/doc'
Making all in po
make[3]: Entering directory `/home/david/binutils-2.11.2/gas/po'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/david/binutils-2.11.2/gas/po'
make[3]: Entering directory `/home/david/binutils-2.11.2/gas'
gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -I. -I. -I../bfd -I./config -I./../include -I./.. -I./../bfd -I./../intl -I../intl -DLOCALEDIR="\"/usr/local/share/locale\"" -W -Wall -g -O2 -c app.c
In file included from ./targ-cpu.h:1,
from ./config/obj-elf.h:42,
from ./obj-format.h:1,
from ./config/te-linux.h:4,
from targ-env.h:1,
from as.h:624,
from app.c:30:
./config/tc-i386.h:508: 错误:数组元素的类型不完全
make[3]: *** [app.o] 错误 1
make[3]: Leaving directory `/home/david/binutils-2.11.2/gas'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/home/david/binutils-2.11.2/gas'
make[1]: *** [all-recursive-am] 错误 2
make[1]: Leaving directory `/home/david/binutils-2.11.2/gas'
make: *** [all-gas] 错误 2
[root@localhost binutils-2.11.2]# |
|