trying to compile the 2.6.21.5 kernel
I am trying to compile and install the 2.6.21.5 kernel but I keep getting errors when running the make menuconfig command. Here is the output...
Code:
HOSTCC scripts/basic/fixdep Can anyone tell me what is wrong from the output or give me any advice? thanks |
I'm not 100 % sure, but I think you need the kernel headers package that is coming with Slackware.
|
ok then, if you are correcty, how would I go about doing that? http://packages.slackware.it?
|
You can take the headers package that is on your Slackware CD. And I think that even the 2.4.33 kernel headers should be ok. What kernel do you actually have installed? You could probably without any harm install the 2.6 headers from the /extra folder instead of the 2.4 ones.
If you mount your CD you find them at $PATH_TO_CD/extra/linux-2.6.17.13/linux-headers...tgz (2.6 kernel) and $PATH_TO_CD/slackware/d/kernel-headers...tgz (2.4 kernel) -- I abbreviated them but you should find them this way without problem. EDIT: Sorry, I didn't recognize the URL to the now official package browser but thought you were talking about a package from www.slacky.it. So yes, if you search them on http://packages.slackware.it or take them from your CD doesn't matter at all :) |
well i have the 2.4.33.3 kernel installed right now, the one that comes default with slackware 11.
|
I found the kernel-headers-2.6.21.5 package on the site but cant find the linux-headers. I can't use the disc i got cause for some reason it isn't mounting and when I try to install the kernel headers my kernel is to old to install that so.. idk what to do. Anyone got an idea?
|
I thought kernel headers are linux headers, but please someone correct me if that's wrong. What Slackware version and kernel have you installed now? 11.0 with 2.4.33 kernel? Looks like you have searched for "Slackware current" packages?
I have Slackware 11.0 with the 2.6 kernel and the 2.6 headers. I get no error if I untar the 2.6.21.5 sources and call "make menuconfig". I don't know if something else might be missing or screwed up, but I think someone else could jump in now ... :eek: |
you probably don't want to install the headers from slackware current. because you almost certainly will bork things if your kernel headers are compiled against a different version of glibc. (or something like that)
find the slackware-11.0 headers and install them. any flavor should work, AFAIK the 2.4 one should be fine as well. this is confusing, but you don't actually need the 2.6.21.5 headers, just some from a slackware 11 kernel. also remember to make mrproper before trying anything with a 2.6 kernel. |
when i try to install the headers for 2.4.33.3 it give me this output.
Code:
Installing package headers... |
Quote:
|
oh well do you think i should even try and continue building the updated kernel on this machine or reinstall slackware?
|
do you still have your slack-11 kernel installed too?
if so just change /etc/lilo.conf to point at the old slack-11 kernel, then boot into that. if not I'd try installpkg <slack-11 disk>/<kernel that used to work>.tgz update /etc/lilo.conf run /sbin/lilo you can download a 2.6.XX.Y kernel from kernel.org (use a mirror) or use the source off a slack disc <edit> ++ you can always use slack CD1 (or DVD) as a rescue disk by booting it and then chrooting into your old root directory. |
oh well thanks for the info but I just went ahead and installed slackware again, thank anyway though. Bioe007, I noticed you have a link on how to do this sort of thing, its actually really helpful. I tell you if it got me through the whole process or if I run into any problem though.
|
alright I'm at the configuring the kernel part and I cant start any of the graphical menues. I've tried xconfig, command not found is what it said, I also tried menuconfig, another command not found. What should I do now?
|
Oh well, you are root when you try this?
|
All times are GMT -5. The time now is 08:18 AM. |