Operating Systems > Linux and UNIX

Slackware kernel problem

(1/2) > >>

Abigail:
Ok. I was going to compile a new kernel today but it doesn't work. when i do "make modules" it says: Nothing to be done in <dir>
Leaving <dir>

over and over again.

I must copy a file like you do when you compile a new kernel in redhat right?

but which file shall i copy?

X11, maybe you can help me with this one?  

KernelPanic:
Were you tring to compile the new kernel in the same location as the old kernel?

Abigail:
This is what i did:

tar xvfz linux-2.4.20.tar.gz
mv -f linux-2.4.20 /usr/src/linux

(I renamed the old "linux" to "linux1")

cd /usr/src/linux
make dep
make clean
make BzImage
make modules

beltorak0:
you need to make a configure before you can compile the kernel.  I assume you are trying to use the same config options as your last kernel, correct?  copy that config file to /usr/src/linux/config-something-descriptive.  then

--- Code: ---
--- End code ---

I have a (pitiful) tutorial that goes thru the steps in (slightly) more detail, you can snag it here

One more thing -- more of a budding peeve than enything else.  Don't rename your /usr/src/2.4.20 to /usr/src/linux.  If you have a lot of "linux1" and "linux2"'s in that directory, it can be trying to find out which ones might be usefull to you.  Use symlinks instead.

Abigail:
Thanks you!

Hopefully that will work. I'm going to try it someday in this week  

Navigation

[0] Message Index

[#] Next page

Go to full version