[I don't think this article made it past my ISP's NNTP server, so I am
going to try again... socket.com seems to have worked out their problems.]
I have been trying to build glibc from source with the
crypt, localedata, and linuxthreads packages. I have been following
the guide located at
helpful), and I have run into a bit of a problem.
I am at the point where I actually run make and I have received
1) The first time I ran it I got the error "-lc: file not found", so I
believe that glibc needed to old libc to build.. no problem. I set
the CFLAGS environment variable to:
-O2 -I- -I/usr/i586-linuxlibc5/include -L/usr/i586-linuxlibc5/lib
That solved the first problem..
2) After setting the environment variable as above I ran configure
again and received the following error:
checking installed Linux kernel header files... TOO OLD!
configure: error: GNU libc requires kernel header files from
Linux 2.0.10 or later to be installed before configuring.
The kernel header files are found usually in /usr/include/asm and
/usr/include/linux; make sure these directories use files from
Linux 2.0.10 or later. This check uses <linux/version.h>, so
make sure that file was built correctly when installing the kernel header
Well, whose to argue with configure and I needed to upgrade my kernel
anyway (it was 2.0.29 at this point, I assumed that some headers were
fouled up). I upgraded the kernel to 2.0.31. I didn't patch the old
one; I started with a fresh copy of the source and configured it.
3) After getting the kernel built, and starting from scratch on
building glibc, I ran into problem (1) above (-lc missing) again, I
used the same solution.
4) I am now having the same problem (2) again. My kernel upgrade went
off without a hitch and everything is running fine.
Any help with this would be greatly appreciated.