Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
you mean you've logged in as user LFS? You need to be root once you chroot in Chapter 6.
I wouldn't use the compiler from your source distro, simply for the fact that it's not the one that is for LFS. Also, if the compiler isn't working, there's gotta be a reason, and this reason might be big enough to work on.
Just some thoughts, obviously if it works, and you are happy, then who cares
what are the CFLAGS and CXXFLAGS meant to be...i optimised them, but then they said to clear them for the installation of this, so i just went export CFLAGS= and export CXXFLAGS= ....maybe they need to be something other than blank?
also, i installed gawk as the lfs user, non-chrooted...so just like i did before...then i switched back into the terminal that was logged in thru root and was chrooted into /mnt/lfs...then i tried to install glibc again...this time i didn't get that error about gawk not existing...instead i get a more evil looking one , heh
strtod.c: In function '____strold_l_internal':
strtod.c:1562: internal error: Segmentation fault
Please submit a full bug report,
with preproccessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.htm> for instructions.
make: *** [/usr/src/sources/glibc-build/stdlib/strtold_l.o] Error 1
make: Leaving directory '/usr/src/sources/glibc-2.2.5/stdlib'
make: *** [stdlib/subdir_lib] Error 2
make: Leaving directory '/usr/src/sources/glibc-2.2.5'
make: *** [all] Error 2
could this possible be to do with the CXXFLAGS and CFLAGS not being set to correct values? if so, what are _default_ values?
edit: fixed up code tags
Last edited by Grim Reaper; 12-30-2002 at 03:13 AM.
Whoa, that does look more evil. I am guessing it's not a gawk problem, but rather that's just where it faulted out at before. I'd re-unpack the source, re-apply the patches, re-unpack linuxthreads in the glibc directory, then try again.
Oh, and when I unset the values, I simply add 2 sets of double quotes:
I don't know if that's correct, but it seems to work for me
I think sometimes the source gets dorked. If you are using the same unpacked packages from CH5 in CH6, this might cause problems. It's suggested to re-unpack the packages once you get to CH6 to make sure they are clean again.
Sometimes, I have no idea why, but good things just happen