Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Compiling Kernal
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
OptimusP
n00b
n00b


Joined: 27 Apr 2003
Posts: 42

PostPosted: Mon Apr 28, 2003 4:17 am    Post subject: Compiling Kernal Reply with quote

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
View user's profile Send private message
dol-sen
Retired Dev
Retired Dev


Joined: 30 Jun 2002
Posts: 2805
Location: Richmond, BC, Canada

PostPosted: Mon Apr 28, 2003 6:16 am    Post subject: Reply with quote

What kernel sources are you using? Save your kernel config to a different file outside the linux directory then do a
Code:
make mrproper


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
View user's profile Send private message
OptimusP
n00b
n00b


Joined: 27 Apr 2003
Posts: 42

PostPosted: Mon Apr 28, 2003 6:36 am    Post subject: Reply with quote

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
View user's profile Send private message
dol-sen
Retired Dev
Retired Dev


Joined: 30 Jun 2002
Posts: 2805
Location: Richmond, BC, Canada

PostPosted: Mon Apr 28, 2003 6:41 am    Post subject: Reply with quote

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
View user's profile Send private message
mr45acp
n00b
n00b


Joined: 28 Apr 2003
Posts: 53
Location: Sweden

PostPosted: Mon Apr 28, 2003 5:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum