|
发表于 2005-10-3 21:01:53
|
显示全部楼层
Post by apzc2529
我编译第一个软件binutils-2.15.94.0.2.2出错了,总提示
n file included from ./targ-cpu.h:1,
from .././binutils-2.15.94.0.2.2/gas/config/obj-elf.h:42,
from ./obj-format.h:1,
from .././binutils-2.15.94.0.2.2/gas/config/te-linux.h:4,
from ./targ-env.h:1,
from .././binutils-2.15.94.0.2.2/gas/as.h:625,
from .././binutils-2.15.94.0.2.2/gas/app.c:30:
.././binutils-2.15.94.0.2.2/gas/config/tc-i386.h:443: error: array type has incomplete element type
make[2]: *** [app.o] Error 1
make[2]: Leaving directory `/mnt/lfs/binutils-build/gas'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/mnt/lfs/binutils-build/gas'
make: *** [install-gas] Error 2
lfs@debian:/mnt/lfs/binutils-build$ make -C ld clean(第n次编译通过)
make: *** ld: No such file or directory. Stop.
lfs@debian:/mnt/lfs/binutils-build$ make -C ld LIB_PATH=/tools/lib(第n次编译通过)
make: *** ld: No such file or directory. Stop.
lfs@debian:/mnt/lfs/binutils-build$
LFS版置项上有中文教程地址,按照里面的步骤一步一步来就行了 |
|