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.
I've tried to do LFS several times, and every time I do, something goes horribly wrong. I've tried doing it on Fedora, Ubuntu, and OpenSUSE, and all of them have given me problems. I was wondering what any of you used to build a LFS system and any workarounds you had to do. Thanks.
Yes, I read it all the way through before I ever started, and then reread it as I did it. I tried it on Ubuntu, Fedora and OpenSUSE. I can't remember the exact errors I got on Ubuntu, but on SUSE and Fedora, when I went to install the Linux API Headers (section 5.5), when I entered
make headers_check
I got the error:
scripts/unidef.c:209: error: conflicting types for 'getline'
/usr/include/stdio.h:655: error previous declaration of 'getline' was here
make[1]: *** [scripts/unider] Error1
make: ***[headers_install] Error2
I'd love your help on that... but...
Would you mind answering my question too?
Yes, I read it all the way through before I ever started, and then reread it as I did it. I tried it on Ubuntu, Fedora and OpenSUSE. I can't remember the exact errors I got on Ubuntu, but on SUSE and Fedora, when I went to install the Linux API Headers (section 5.5), when I entered make headers_check
I got the error: scripts/unidef.c:209: error: conflicting types for 'getline'
/usr/include/stdio.h:655: error previous declaration of 'getline' was here
make[1]: *** [scripts/unider] Error1
make: ***[headers_install] Error2
I'd love your help on that... but...
Would you mind answering my question too?
edit file scripts/unidef.c and replace all "getline" with "get_line".
Get Virtual Box from Sun, and runn a virtual mashine with the LFS Live CD. The cd ships with all the packages and all of them in the right versions. Also it has all the patches, which is great.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.