Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#2198 closed task (invalid)

Glibc 2.7 fails to build: limits.h is missing

Reported by: Martin Prebio Owned by: lfs-book@…
Priority: high Milestone:
Component: Book Version: SVN
Severity: critical Keywords:
Cc:

Description

Change History (4)

comment:1 by Martin Prebio, 16 years ago

here the log:

make[2]: Entering directory `/mnt/lfs/sources/glibc-2.7/csu' gawk -f ../scripts/gen-as-const.awk ../nptl/sysdeps/i386/tcb-offsets.sym \

| gcc -B/tools/bin/ -S -o /mnt/lfs/sources/glibc-build/tcb-offsets.hT3 -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g -march=i486 -mtune=native -Wstrict-prototypes -mpreferred-stack-boundary=4 -I../include -I/mnt/lfs/sources/glibc-build/csu -I/mnt/lfs/sources/glibc-build -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.3.1/include -isystem /tools/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DHAVE_INITFINI -x c - \

-MD -MP -MF /mnt/lfs/sources/glibc-build/tcb-offsets.h.dT -MT '/mnt/lfs/sources/glibc-build/tcb-offsets.h.d /mnt/lfs/sources/glibc-build/tcb-offsets.h'

In file included from ../nptl/sysdeps/pthread/allocalim.h:21,

from ../include/alloca.h:20, from ../stdlib/stdlib.h:497, from ../include/stdlib.h:8, from ../nptl/sysdeps/i386/i686/../tls.h:28, from ../nptl/sysdeps/i386/i686/tls.h:34, from ../include/tls.h:6, from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30, from <stdin>:1:

../include/limits.h:125:26: error: limits.h: No such file or directory make[2]: * mnt/lfs/sources/glibc-build/tcb-offsets.h Error 1 make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.7/csu' make[1]: * [csu/subdir_lib] Error 2 make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.7' make: * [all] Error 2 lfs@debian:/mnt/lfs/sources/glibc-build$

btw: Building on the EEEPC ;)

comment:2 by Chris Staub, 16 years ago

First, this is not the same issue as the thread you linked. Second, this ticket system is for suggesting improvements or fixes to the book, not reporting problems building it. Third, I am seeing references to /usr/lib/gcc in that output, which should not happen if you are following the book correctly. Either /tools/bin is not in the $PATH, or GCC pass 1 did not successfully install there. What is the output of "type -p gcc"?

comment:3 by Martin Prebio, 16 years ago

Resolution: invalid
Status: newclosed

$PATH is set correctly, but in /tools/bin gcc is missing .. I will have a look at this ...

comment:4 by Martin Prebio, 16 years ago

Yes, now it's working!

Thanks for the help and sorry for the ticket.

Note: See TracTickets for help on using tickets.