SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Anyone having problems compiling or recompiling
the 2.4.20 kernel in Slackware 9.0?
I can't even get past 'make dep' which is usually
"warning" and "error" free. I will not post all of the
problems but will say that ususlly these problems
result from having an incomplete d/ portion of
the distro installed. I can assure you this is not the
case here.
The kernel sources were not part of the original
install since they would not fit on the CD, but they
were downloaded and instslled separately with
no problems.
I don't see any kernel patches in the distribution tree.
Depmod is part of the modutils package in /slackware/a, have you followed the kernel compile guide sticky at the top of this forum?
And posting error messages will help us to pinpoint the problem.
I rebooted to a different OS to perform some
other functions and the rebooted into Linux 9.0.
In order to get a list of warnings and errors, I
re-ran 'make dep' and to my amazement, no
errors.
I continued with the rest of the makes, copied
the bzImage to boot, reconfigured LILO and
rebooted.
The new kernel booted properly; everything
seems to be OK. I'll let you know.
The reason I recompiled was to create a patched
kernel that would run win4lin. I'll see if I can
install it under this new kernel.
Thanks for your help!
One final thing; I usually run the makes with '> dump'.
so that all that appears on the screen are actual
warnings and errors. However I don't know how to
capture these messages into a file so I can keep
a sort of permanent record. If anyone knows how
to do this, I'd appreciate an example.
When I tried to install win4lin under the newly
compiled kernel, I gat the error message that
the kernel was not win4lin enabled. So, it
didn't work.
Went back, redid the configuration (make menuconfig)
and completed the various make steps. I got
the warnings again on the 'make dep" step, but
these were apparently not so significant as to
prevent the rest of the compile. I got a few warnings
on the bzImage compile but I always do so no worries.
Completed the compile and re-ran the win4lin setup.
Hooray! Now it works.
I suppose there are going to be some oddities when
using a new compiler (gcc 3.2.2). Oddly enough, the
kernel source Documentation says that gcc 2.95.3
is recommended, well maybe just the earliest version
you can use. I can remember when it was recommended
that only 'egcs' be used to compile a kernel.
BTW: Thanks for the tip on isolating errors to a file. I
knew it was something simple like that. I have never
really understood stdout, stderr.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.