View previous topic :: View next topic |
Author |
Message |
OptimusP n00b
Joined: 27 Apr 2003 Posts: 42
|
Posted: Mon Apr 28, 2003 4:17 am Post subject: Compiling Kernal |
|
|
After i run the command
make dep && make clean bzImage modules modules_install
it starts to process, goes for a while then brings up a few errors. The errors start on this line.
make[6]: *** No rule to make target 'fastdep'. Stop. |
|
Back to top |
|
|
dol-sen Retired Dev
Joined: 30 Jun 2002 Posts: 2805 Location: Richmond, BC, Canada
|
Posted: Mon Apr 28, 2003 6:16 am Post subject: |
|
|
What kernel sources are you using? Save your kernel config to a different file outside the linux directory then do a
It will clean the kernel source then do the make menuconfig ... load your saved config and try again. I have never had to do a make mrproper but I've seen a number of posts that it solved.
If you still have problems then supply more info, more screen output preceding the errror, etc.
Brian |
|
Back to top |
|
|
OptimusP n00b
Joined: 27 Apr 2003 Posts: 42
|
Posted: Mon Apr 28, 2003 6:36 am Post subject: |
|
|
Im just using the gentoo sources kernal
How do i go about saving the kernal to an external file sorry im a newbie to linux |
|
Back to top |
|
|
dol-sen Retired Dev
Joined: 30 Jun 2002 Posts: 2805 Location: Richmond, BC, Canada
|
Posted: Mon Apr 28, 2003 6:41 am Post subject: |
|
|
Code: | make menuconfig
# then scroll to the end, you'll see
Save config to alternate file
Load Alternate config
|
That is the easiest way
A good location is /usr/src/your_file_name_choice
If that doesn't work then try re-emerging the sources again, maybe something hickupped the first time.
Brian |
|
Back to top |
|
|
mr45acp n00b
Joined: 28 Apr 2003 Posts: 53 Location: Sweden
|
Posted: Mon Apr 28, 2003 5:39 pm Post subject: |
|
|
OptimusP wrote: | How do i go about saving the kernal to an external file sorry im a newbie to linux |
Just copy the .config file to somewhere other than /usr/src/linux, make mrproper and copy it back, i.e.
Code: | cp .config ../
make mrproper
cp ../.config . |
|
|
Back to top |
|
|
|