Glibc fails to make. (error 2)

Bruce Dubbs bruce.dubbs at
Wed May 19 16:58:27 PDT 2010

William Immendorf wrote:
> On Wed, May 19, 2010 at 5:36 PM, Kyle Brennan <kyle_bren at> wrote:
>> /usr/bin/install -c -m 644
>> /mnt/lfs/tools/glibc-build/../include/linux/limits.h
>> /tools/include/linux/limits.h
>> /usr/bin/install: `/mnt/lfs/tools/glibc-build/../include/linux/limits.h' and
>> `/tools/include/linux/limits.h' are the same file
> Wait, you're not supposed to compile your packges from the $LFS/tools
> directory. Please, build in a seprate directory than your tools
> directory.

I agree with William.  When you start Chapter 5, the only thing you 
should have in /mnt/lfs is tools and sources:


Put all your sources in /mnt/lfs/sources and change to that directory.

The directory name 'sources' is arbitrary, but it should not be tools 
and it needs to be in /mnt/lfs so the sources are available in Chapter 6.

Then when you start, 5.4:

tar -xf binutils-<version>.tar.bz2
cd binutils-<version>


   -- Bruce

More information about the lfs-support mailing list