Quote:
Originally posted by dj_relentless
The first barrier..
I've gotten up to compiling glibc-2.2.4 and struck a small problem..
when trying to compile I get the error :
checking whether we are using GNU C... \c
no
configure: error: GNU libc must be compiled using GNU CC
|
You got some problems.
first of all, the \c indicates that something is missing. I can't quite remember what causes a missing \c but I do remember that by inspecting the configure output right from the very beginning will tell you that something is missing. Look for "no such file or directory" errors.
Secondly, it not being able to detect whether or not you're using GNU CC is most often caused by /mnt/lfs/usr/bin/egrep missing, or not being statically linked. Either way, you're going to have to exit chroot, go back to chapter 5 and reinstall grep.
May I point you to
http://search.linuxfromscratch.org and
http://www.linuxfromscratch.org/faq/
Both problems occur quite frequently and the GNU CC thing is so frequent it even made it in the FAQ.
I think it's safe to say at this point that there's no single error encountered during LFS compile jobs that hasn't been encountered before, so the search engine (that searches the mailing list archives) is your friend.