Glibc-2.5 build errors (limits.h etc)

Dan Winkler cryptoniks at
Fri Feb 9 22:23:56 PST 2007

> How are you building this? None of those paths look right at all. I
> have no idea why it's trying to install to linux/limits.h.
im using the instructions located in section 5.6.1 of the LFS book (dev)

mkdir -v ../glibc-build
cd ../glibc-build

../glibc-2.5/configure --prefix=/tools \
    --disable-profile --enable-add-ons \
    --enable-kernel=2.6.0 --with-binutils=/tools/bin \
    --without-gd --with-headers=/tools/include \

> The /mnt/lfs/tools/glibc-build/../include/linux/limits.h looks really
> strange. Is there any reason why you have glibc-build in /tools?
> Where's the glibc-2.5 source directory?

i unpack the package in /mnt/lfs/tools then follow the instructions.

More information about the lfs-dev mailing list