|
|
我在Fedora core 4中编译lfs6.1,第一个包就没make过
难道是GCC4不能编译binutils?
记得mplayer在configure时可以加cc=gcc参数,可这个不行,会提示无效的参数
错误信息如下,
make[3]: Entering directory `/mnt/lfs/sources/binutils-2.15.94.0.2.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="\"/tools/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -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:625,
from app.c:30:
./config/tc-i386.h:443: error: array type has incomplete element type
make[3]: *** [app.o] Error 1
软件包是没有问题的,我开始是下载的lfs官网的,错了后我就在binutils的主页下载。
有人在FC4成功编译过没? |
|