[lfs] error compiling gcc in Pass 1

William Immendorf will.immendorf at gmail.com
Fri Jun 12 14:36:43 PDT 2009


On Fri, Jun 12, 2009 at 4:34 PM, William
Immendorf<will.immendorf at gmail.com> wrote:
> On Fri, Jun 12, 2009 at 3:56 PM, Ankur Sinha<sanjay.ankur at gmail.com> wrote:
>> /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or
>> directory
> It seems you are missing /usr/include/gnu/stubs.h. I think this is in
> the glibc development package. Install that, and try again.
Wait a second! From analysing the output, you are trying to build on a
64 bit system!!

LFS has incomplete support for 64bit systems. My only recommendation
is to try CLFS. It is at:

trac.cross-lfs.org.

Oh, and BTW, try installing the glibc development package for 32bit.

William



More information about the lfs-support mailing list