LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 958|回复: 1

有人编译过LFS吗,需要预先装什么软件(问题已经解决,说明文档有其依赖软件,下载安装后即o

[复制链接]
发表于 2005-10-3 20:31:37 | 显示全部楼层 |阅读模式
我编译第一个软件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$
发表于 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版置项上有中文教程地址,按照里面的步骤一步一步来就行了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表