Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel compile..
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
wink42
n00b
n00b


Joined: 22 Jun 2002
Posts: 16
Location: Copenhagen, Denmark

PostPosted: Tue Jul 16, 2002 8:44 am    Post subject: kernel compile.. Reply with quote

when typing :
Code:
make clean bzImage

answer is
Quote:
make : No rule to make target
/include/linux/config.h needed(..)

i have of course emerged system & gentoo-sources, so i
would think that the header files should be in place, or what?

TIA

btw: which tool do I need in order to download a file(ORACLE) from an http url, from my commandline?
_________________
I wish I was two puppies.
Then I could play with each other.
-- Storm P.
Back to top
View user's profile Send private message
kemical
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jul 2002
Posts: 139
Location: raleigh, NC

PostPosted: Tue Jul 16, 2002 8:48 am    Post subject: Reply with quote

not sure about the kernel compile

but as for your downloading a file from a command prompt you would use something like links or lynx, in the form of

lynx http://www.oracle.com/file.whatever

hope this helps
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Tue Jul 16, 2002 9:01 am    Post subject: Re: kernel compile.. Reply with quote

wink42 wrote:
when typing :
Code:
make clean bzImage

answer is
Quote:
make : No rule to make target
/include/linux/config.h needed(..)

Have you configured the kernel for your hardware with 'make config', 'make menuconfig', or 'make xconfig'?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
wink42
n00b
n00b


Joined: 22 Jun 2002
Posts: 16
Location: Copenhagen, Denmark

PostPosted: Tue Jul 16, 2002 9:11 am    Post subject: Yes, I did the menuconfig thing.. but Reply with quote

can it be because of something i have set in there ??

--kemical : thanks for the tip!
_________________
I wish I was two puppies.
Then I could play with each other.
-- Storm P.
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Tue Jul 16, 2002 9:30 am    Post subject: Re: Yes, I did the menuconfig thing.. but Reply with quote

wink42 wrote:
can it be because of something i have set in there ??

I thought maybe include/linux/config.h did not exist because you had not yet completed configuring your kernel.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
3x9
n00b
n00b


Joined: 20 Jun 2002
Posts: 34
Location: Canada

PostPosted: Tue Jul 16, 2002 8:21 pm    Post subject: no rules Reply with quote

Go back over install instructions, it is usually the obvious we miss.

Are you in correct directory /usr/src and have the correct (dot) config file ?
As root ?

Clarify what is happening.

If you have the "Makefile," followed instructions to the letter, make dep would start.

Check symbolic link of /usr/src/linux it should point to kernel version in use

Check out " man wget" for download assistance.
-------------------------------------------------------------------
Biggest problem to find solutions, is asking the wrong questions
Back to top
View user's profile Send private message
Shak
n00b
n00b


Joined: 13 Jul 2002
Posts: 34
Location: Huddersfield UK

PostPosted: Tue Jul 16, 2002 8:38 pm    Post subject: Reply with quote

to compile the kernel do this:

Code:

# cd /usr/src/linux
# make menuconfig
# make dep && make clean bzImage modules modules_install


You will then have a bzImage in /usr/src/linux/arch/i386/boot/

Then:

Code:

# cp /usr/src/linux/arch/i386/boot/bzImage /boot
{make sure /boot is mounted}


Then edit menu.lst accordingly,

hope this helps
Shak
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