Linux From Scratch This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
06-02-2005, 07:38 PM
|
#1
|
Member
Registered: Mar 2005
Distribution: Slackware 10.1
Posts: 123
Rep:
|
When you guys get tired of me...just say so
but I really do not understand this! I have restarted three times. And I mean restarted! including crashing the system, reformatting the hard drive, and reinstalling the host distro. I follow the book letter by letter. Im telling you i dont miss anything, nothing. I have done everything the book sais step by step missing nothing along the way, and yet I keep getting different results ever single time I try this!!!!!!
This time when I try to install the linux-2.6.8.1 kernel.........
make mrproper goes well
but, make include/linux/version.h gives me the output:
Makefile:415: .config: No such file or directory
CHK include/linux/version.h
/bin/sh: include/linux/version.h.tmp: No such file or directory
UPD include/linux/version.h
mv: cannot stat `include/linux/version.h.tmp': No such file or directory
make: *** [include/linux/version.h] Error 1
I am in the lfs user, the lfs enviro variable is there, I have followed the book to the t missing nothing.......what.............is ...................the...........problem!!!!
.....ok, could it be the distro im using. Fedora Core 3? It's the right kernel version and all development tools are present and updated!!!!!!
Some one give me a clue here!!! Should I change distros???????
|
|
|
06-02-2005, 09:08 PM
|
#2
|
Member
Registered: Oct 2004
Location: somewhere in the street
Distribution: Window$
Posts: 192
Rep:
|
Re: When you guys get tired of me...just say so
Quote:
Originally posted by matthewa
but I really do not understand this! I have restarted three times. And I mean restarted! including crashing the system, reformatting the hard drive, and reinstalling the host distro. I follow the book letter by letter. Im telling you i dont miss anything, nothing. I have done everything the book sais step by step missing nothing along the way, and yet I keep getting different results ever single time I try this!!!!!!
This time when I try to install the linux-2.6.8.1 kernel.........
make mrproper goes well
but, make include/linux/version.h gives me the output:
Makefile:415: .config: No such file or directory
CHK include/linux/version.h
/bin/sh: include/linux/version.h.tmp: No such file or directory
UPD include/linux/version.h
mv: cannot stat `include/linux/version.h.tmp': No such file or directory
make: *** [include/linux/version.h] Error 1
I am in the lfs user, the lfs enviro variable is there, I have followed the book to the t missing nothing.......what.............is ...................the...........problem!!!!
.....ok, could it be the distro im using. Fedora Core 3? It's the right kernel version and all development tools are present and updated!!!!!!
Some one give me a clue here!!! Should I change distros???????
|
Affer make mrproper goes well then kernel source code had been clean. You should make defconfig or make menuconfig or something like that before continue
All thing nearly done, good luck 
GH
|
|
|
06-02-2005, 09:12 PM
|
#3
|
Member
Registered: Feb 2001
Location: Texas
Distribution: Slackware, Mandrake, LFS
Posts: 306
Rep:
|
In other words, Make Mrproper deletes .config and removes all symlinks to your arch files. Effectively the system is reset as though you had just untarred the linux source...
|
|
|
06-02-2005, 09:32 PM
|
#4
|
Member
Registered: Oct 2004
Location: somewhere in the street
Distribution: Window$
Posts: 192
Rep:
|
Quote:
Originally posted by jrmann1999
In other words, Make Mrproper deletes .config and removes all symlinks to your arch files. Effectively the system is reset as though you had just untarred the linux source...
|
Even more cleaner 
|
|
|
06-03-2005, 08:37 AM
|
#5
|
Member
Registered: Mar 2005
Distribution: Slackware 10.1
Posts: 123
Original Poster
Rep:
|
wow......didnt know that! Guess I didnt know as much about Linux as I thought I knew. Thats ok though, because I started this project to learn all I could about it.
Thanks again guys. Think maybe I should go back and read the prerequisites on compiling first. Then Ill start it again!!!
|
|
|
06-03-2005, 10:49 PM
|
#6
|
Senior Member
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Rep:
|
I don't know if this fits here, but I have a suggestion. Don't Just save your .config somewhere every time you compile and copy it into the /usr/src/linux directory when you wanna upgrade. Your choice. This is the way I usually upgrade my kernel (every month or so). Ymmv.
|
|
|
All times are GMT -5. The time now is 09:35 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|