View previous topic :: View next topic |
Author |
Message |
wink42 n00b
Joined: 22 Jun 2002 Posts: 16 Location: Copenhagen, Denmark
|
Posted: Tue Jul 16, 2002 8:44 am Post subject: kernel compile.. |
|
|
when typing :
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 |
|
|
kemical Tux's lil' helper
Joined: 15 Jul 2002 Posts: 139 Location: raleigh, NC
|
Posted: Tue Jul 16, 2002 8:48 am Post subject: |
|
|
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 |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Tue Jul 16, 2002 9:01 am Post subject: Re: kernel compile.. |
|
|
wink42 wrote: | when typing :
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 |
|
|
wink42 n00b
Joined: 22 Jun 2002 Posts: 16 Location: Copenhagen, Denmark
|
Posted: Tue Jul 16, 2002 9:11 am Post subject: Yes, I did the menuconfig thing.. but |
|
|
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 |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Tue Jul 16, 2002 9:30 am Post subject: Re: Yes, I did the menuconfig thing.. but |
|
|
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 |
|
|
3x9 n00b
Joined: 20 Jun 2002 Posts: 34 Location: Canada
|
Posted: Tue Jul 16, 2002 8:21 pm Post subject: no rules |
|
|
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 |
|
|
Shak n00b
Joined: 13 Jul 2002 Posts: 34 Location: Huddersfield UK
|
Posted: Tue Jul 16, 2002 8:38 pm Post subject: |
|
|
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 |
|
|
|