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.
- Are you sure chapter 5 went ok (especially the gcc and the toolchain parts)?
- Is your current chroot environment (especially the path setting) correct?
- Is gcc present in either of these dirs: /bin /usr/bin /sbin /usr/sbin /tools/bin ?
- Did you have any problems with Re-adjusting the Toolchain in chap 6?
I cannot point to anything specific for now, too many things could have gone wrong in the previous steps you did.
- Are you sure chapter 5 went ok (especially the gcc and the toolchain parts)?
- Is your current chroot environment (especially the path setting) correct?
- Is gcc present in either of these dirs: /bin /usr/bin /sbin /usr/sbin /tools/bin ?
- Did you have any problems with Re-adjusting the Toolchain in chap 6?
I cannot point to anything specific for now, too many things could have gone wrong in the previous steps you did.
Hope this helps.
A1: yes, ch 5 went well.
A2: All my environment variables are set.
A3: gcc is present in /usr/bin and /tools/bin
A4: I didn't have any problem in that section but now that I have re-read it I have a doubt in the first set of commands.
So the there is no file name ld-new,so actually how is it working ...
After you execute these commands, there will be no ld-new anymore (it is moved to ld by mv -v /tools/bin/{ld-new,ld}). The whole block switches the previously used ld (from your host) by the newly created ld (created in chapter 5).
The re-adjusting of the toolchain (and the checks that go with it) are crucial.
After you execute these commands, there will be no ld-new anymore (it is moved to ld by mv -v /tools/bin/{ld-new,ld}). The whole block switches the previously used ld (from your host) by the newly created ld (created in chapter 5).
The re-adjusting of the toolchain (and the checks that go with it) are crucial.
thanx...
all went well but i am still getting the same error....what if i try to start again from section 6.....will their be any dependency problem...
I'm not sure if that will work, but you can give it a try. Do remember that certain things are already in place and this could mean you get some informational/warning messages.
If you made a backup after finishing chapter 5 (5.32, the caution part), you can erase everything, unpack the backup and start fresh with chapter 6. I know that works.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.