rblythe wrote:
<snip>
Make sure you have flex and bison installed on your host system. With Ubuntu you should be able to 'apt-get install flex bison' (w/o) the quote marks from the command line or use a package manager like kpackage, synaptic, or aptitude. Also, to avoid any other errors (possibly) make sure your host system has all of the packages (dependencies) installed for each one of the programs you will need to build LFS. Some distros don't have the dependencies of LFS installed in a basic installation. I am using MEPIS (another Debian based distro) and I had similar problems until I made sure I had the basic dependencies met.

Thank you. That got me a little farther. All of the dependencies of bintutils per the 5.3 page: Bash, Bison, Coreutils, Diffutils, Flex, GCC, Gettext, Glibc, Grep, M4, Make, Perl, Sed, and Texinfo (although Ubuntu uses the name Diff for Diffutils and libc6 for Glibc). However, I now have a different error:

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/hda6.lfs61/sources/binutils-build/gas'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/hda6.lfs61/sources/binutils-build/gas'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/mnt/hda6.lfs61/sources/binutils-build/gas'
make: *** [all-gas] Error 2

Perhaps someone here has seen this before and knows specifically what is still missing from Ubuntu as a host.



--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to