|
|
安装第一个软件binutils出错,看起来似乎是源代码问题,不知道如何解决,给出的错误信息 (最后若干行)如下
make[1]: Entering directory `/mnt/lfs/sources/binutils-build/etc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/etc'
make[1]: Entering directory `/mnt/lfs/sources/binutils-build/gas'
make all-recursive
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/gas'
Making all in doc
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/gas/doc'
rm -f asconfig.texi
ln -s ../../../binutils-2.15.91.0.2/gas/doc/all.texi ./asconfig.texi >/dev/null 2>&1 \
|| ln ../../../binutils-2.15.91.0.2/gas/doc/all.texi ./asconfig.texi >/dev/null 2>&1 \
|| cp ../../../binutils-2.15.91.0.2/gas/doc/all.texi ./asconfig.texi
rm -f gasver.texi
echo '@set VERSION 2.15.91.0.2' > gasver.texi
touch as.1
perl ../../../binutils-2.15.91.0.2/gas/../etc/texi2pod.pl -Dman < ../../../binutils-2.15.91.0.2/gas/doc/as.texinfo > as.pod
(pod2man --center="GNU Development Tools" --release="binutils-2.15.91.0.2" --section=1 as.pod | \
sed -e '/^.if n .na/d' > as.1.T$$ && \
mv -f as.1.T$$ as.1) || \
(rm -f as.1.T$$ && exit 1)
rm -f as.pod
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/gas/doc'
Making all in po
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/gas/po'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/gas/po'
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/gas'
gcc -DHAVE_CONFIG_H -I. -I../../binutils-2.15.91.0.2/gas -I. -D_GNU_SOURCE -I. -I../../binutils-2.15.91.0.2/gas -I../bfd -I../../binutils-2.15.91.0.2/gas/config -I../../binutils-2.15.91.0.2/gas/../include -I../../binutils-2.15.91.0.2/gas/.. -I../../binutils-2.15.91.0.2/gas/../bfd -I../../binutils-2.15.91.0.2/gas/../intl -I../intl -DLOCALEDIR="\"/tools/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -c ../../binutils-2.15.91.0.2/gas/app.c
In file included from ./targ-cpu.h:1,
from ../../binutils-2.15.91.0.2/gas/config/obj-elf.h:42,
from ./obj-format.h:1,
from ../../binutils-2.15.91.0.2/gas/config/te-linux.h:4,
from ./targ-env.h:1,
from ../../binutils-2.15.91.0.2/gas/as.h:629,
from ../../binutils-2.15.91.0.2/gas/app.c:30:
../../binutils-2.15.91.0.2/gas/config/tc-i386.h:457: error: array type has incomplete element type
make[3]: *** [app.o] Error 1
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/gas'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/gas'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/gas'
make: *** [all-gas] Error 2 |
|