LinuxSir.cn,穿越时空的Linuxsir!

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

LFS 5.0 编译binutils-2.14在make LDFLAGS="-all-static"时出现

[复制链接]
发表于 2006-2-12 10:40:49 | 显示全部楼层 |阅读模式
我的编译系统环境如下:
Ubuntu 4.0.1-4ubuntu9  2.6.12-9-686  gcc-4.0
部分提示信息如下:
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/binutils'
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'
make[3]: Nothing to be done for `all'.
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.14/gas -I. -D_GNU_SOURCE -I. -I../../binutils-2.14/gas -I../bfd -I../../binutils-2.14/gas/config -I../../binutils-2.14/gas/../include -I../../binutils-2.14/gas/.. -I../../binutils-2.14/gas/../bfd -I../../binutils-2.14/gas/../intl -I../intl -DLOCALEDIR="\"/tools/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -c ../../binutils-2.14/gas/app.c
In file included from ./targ-cpu.h:1,
                 from ../../binutils-2.14/gas/config/obj-elf.h:42,
                 from ./obj-format.h:1,
                 from ../../binutils-2.14/gas/config/te-linux.h:4,
                 from ./targ-env.h:1,
                 from ../../binutils-2.14/gas/as.h:616,
                 from ../../binutils-2.14/gas/app.c:30:
../../binutils-2.14/gas/config/tc-i386.h:516: 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-recursive-am] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/gas'
make: *** [all-gas] Error 2

谢谢!
发表于 2006-2-12 15:02:02 | 显示全部楼层
主系统太新了,book太旧了。试试LFS 6.1.1 或者LFS SVN。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-2-13 09:10:11 | 显示全部楼层
Post by 终极幻想
主系统太新了,book太旧了。试试LFS 6.1.1 或者LFS SVN。

可能是,因为去年我做过1次,没有问题。但我还是想知道为什么。就没有办法解决了吗?我是想再做遍lfs5.0然后再做LFS6.1。还有我没有找到lfs6.1的包下载地址,能告诉我吗?谢谢!
回复 支持 反对

使用道具 举报

发表于 2006-2-13 09:22:15 | 显示全部楼层
下载地址,请看置顶帖子。

没必要做了5.0再做6.1。直接开始 6.1吧。
回复 支持 反对

使用道具 举报

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

本版积分规则

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