>I've been trying to compile the latest kernel(2.0.7);it's not the kernel
>version that's causing the problem.Whenever I try to compile a new kernel,
>no matter what version it is,it just won't compile(yes,I've read all the
>FAQ's and how-to's).I'll go to /usr/src and rename linux to linux-old and
>then untar the new kernel by typing "tar -xvzf linux-x.x.x.tar.gz" and it'll
>do that just fine.Then I'll go to the new linux directory(/usr/src/linux) and
>type "make mrproper",which cleans out the old kernel's files(I think,I saw
>it on some kernel-howto),then I'll type "make config" and then answer all
>the questions and then type "make dep ; make clean ; make zlilo"and it'll
>compile for about twenty minutes or so(I've got a Gateway2000 Pentium-100
>with 8 megs of ram and a PCI Bus) and then it'll say
> "final link failed: No space left on device"
>what is going on here?I would be very,very thankful if someone could please
>help me.I'm sort of a newbie to linux even though I've had Slackware 3.0
with removing the old kernel source three, for instance. If you have a lot
of open source trees you would like to keep, consider going into each one
and doing a `make clean'.
Then, lather rinse and repeat.
You can check your disk space with the 'df' command, and summarize usage
du / | sort -n > usage
to create a file called 'usage' that contains the names of directories below
and including / with the amount of space stored in each shown on the
left---all sorted in increasing size, meaning that the biggest culprits
are near the bottom of the list.
I personally prefer to get the raw, unsorted output of du into vi, and then
run various text transformations to get useful info out of it.
Hope this helps.