LFS - about 30 Autoconf files and how to do the patches
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.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
So, I did what you said, checked my host system req's. First check 2 unvalid. Installed them and checked again, everything is fine.
Entered: this command again ln -vs libgcc.a `$LFS_TGT-gcc -print-libgcc-file-name | sed 's/libgcc/&_eh/'`
same errors
looked at the code and edited it with removing - before gcc, because -gcc was not found, so I got:
ln -vs libgcc.a `$LFS_TGT gcc -print-libgcc-file-name | sed 's/libgcc/&_eh/'`
changed: $LFS_TGT-gcc to $LFS_TGT gcc
and no errors but did the command executed the right way now?
Now getting another problem, which is a problem with ubuntu itself, i guess
Googling on the errors results in that quote.
error:
-MT /mnt/react/sources/glibc-build/misc/syslog.o
In file included from ../sysdeps/unix/sysv/linux/syslog.c:10:
../misc/syslog.c: In function ‘__vsyslog_chk’:
../misc/syslog.c:123: sorry, unimplemented: inlining failed in call to ‘syslog’: function body not available
../misc/syslog.c:155: sorry, unimplemented: called from here
make[2]: *** [/mnt/react/sources/glibc-build/misc/syslog.o] Error 1
make[2]: Leaving directory `/mnt/react/sources/glibc-2.14.1/misc'
make[1]: *** [misc/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/react/sources/glibc-2.14.1'
make: *** [all] Error 2
Installed everything (via software center) now getting this error:
after (MAKE)
In file included from ../sysdeps/unix/sysv/linux/syslog.c:10:
../misc/syslog.c: In function ‘__vsyslog_chk’:
../misc/syslog.c:123: sorry, unimplemented: inlining failed in call to ‘syslog’: function body not available
../misc/syslog.c:155: sorry, unimplemented: called from here
make[2]: *** [/mnt/react/sources/glibc-build/misc/syslog.o] Error 1
make[2]: Leaving directory `/mnt/react/sources/glibc-2.14.1/misc'
make[1]: *** [misc/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/react/sources/glibc-2.14.1'
make: *** [all] Error 2
You don't add or delete anything. All the commands in the book should be used as they are, no extra (as in: not mentioned in the specific chapter) packages/installs are needed to make a specific command work.
You might want to consider starting from scratch again. You have had problems with just about all the chapters you tried and although you say you fixed all the problems I do wonder if that is true.
Take the LFS_TGT issue for example: You encountered this problem in chapter 5.5, but the first time LFS_TGT is used is in chapter 5.4. Did you redo 5.4?
You have untarred gcc then cd into gcc dir which was created then ran the commands for "mpfr.gmp,mpc and applied the patch. Then created directory gcc-build and then cd gcc-build.
Before running ../gcc-4.6.2/configure \ command?
Also it might be a good idea to post the output of version-check
Hey, I'm back, someone told me, a good OS to use for LFS = slackware. So I tried it out, but it's a headache installing even Gparted, you need 7 other tarballs. But the sys req for LFS seems to be OK.
So is it a good choice? And whats the best way to format to EXT3 en Swap? I've used Cfdisk for the partitions. But cant label them, and cant format to
Have a look here Or you could use Gparted from ubuntu cd to create the partition.
I just put the cd in run as live cd then use Gparted and make all the partitions I need.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.