[svlug] Glibc compile errors

James Smith engjames2640 at yahoo.com
Thu Jan 18 13:34:47 PST 2007

I'm building the Glibc-2.4.6 library in chapter 9.6 of
the Linux From Scratch (LFS) book I'm getting the
following errors when I
compile. Can someone help me with this:

Entering state 2
Reading a token: Now at end of input.
Reducing stack by rule 2 (line 345), extdefs ->
Stack now 0
Entering state 1
Now at end of input.
: No such file: No such file or directory
collect2: ld returned 1 exit status
Execution of gcc failed!
The script has found some problems with your
Please read the FAQ and the README file and check the
- Did you change the gcc specs file (necessary after
upgrading from
  Linux libc5)?
- Are there any symbolic links of the form libXXX.so
to old libraries?
  Links like libm.so -> libm.so.5 (where libm.so.5 is
an old library) are wrong,
  libm.so should point to the newly installed glibc
file - and there should be
  only one such link (check e.g. /lib and /usr/lib)
You should restart this script from your build
directory after you've
fixed all problems!
Btw. the script doesn't work if you're installing GNU
libc not as your
primary library!
make[1]: *** [install] Error 1
make[1]: Leaving directory `/tools/glibc-2.3.6'
make: *** [install] Error 2


TV dinner still cooling? 
Check out "Tonight's Picks" on Yahoo! TV.

More information about the svlug mailing list