error compiling binutils pass 1

Andrew Benton b3nt at ukonline.co.uk
Sun Oct 2 02:28:25 PDT 2005


Albert wrote:
> 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.
> 

It looks like you're trying to compile binutils-2.15.94.0.2.2 with gcc-4. Try uninstalling that and installing gcc-3.4. Or Build the development version of LFS, which compiles fine with gcc-4.



More information about the lfs-support mailing list