I tried to slavishly follow your directions. I was doing the initial compile of binutils. Everything went swimmingly for 105 seconds, then I got: make[3]: Entering directory `/mnt/lfs/sources/binutils-build/gas' gcc -DHAVE_CONFIG_H -I. -I../../binutils-2.15.94.0.2.2/gas -I. -D_GNU_SOURCE -I. -I../../binutils-2.15.94.0.2.2/gas -I../bfd -I../../binutils-2.15.94.0.2.2/gas/config -I../../binutils-2.15.94.0.2.2/gas/../include -I../../binutils-2.15.94.0.2.2/gas/.. -I../../binutils-2.15.94.0.2.2/gas/../bfd -I../../binutils-2.15.94.0.2.2/gas/../intl -I../intl -DLOCALEDIR="\"/tools/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -c ../../binutils-2.15.94.0.2.2/gas/app.c In 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[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
The offending line of tc-i386.h reads: extern const struct relax_type md_relax_table[]; Is there a problem with trying to compile using the latest gcc, distributed with FC4? (I guess I missed the memo). Thanks, Kim -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page