Want to compile kernel, missing include/linux/autoconf.h
Hi-
I'm trying to compile version 2.4.31 of the kernel. I've downloaded the source and come to the "make dep" step. When I "make dep", the make breaks and tells me that I'm missing include/linux/autoconf.h, which when I check, I sure am. Short of redownloading the whole tarball, is there some way that I can get just autoconf.h? If it's short, maybe someone could copy it into the answer to this query? Otherwise, does anyone know of a website where I can get a single file from the kernel source? I tried the Linux Kernel Archives, but wasn't able to find the right way to get at the uncompressed files. Can anyone help? pjz |
This sounds like a dependency link hasn't been set up during the install. Which also sounds like you missed a stage.
Are you sure that you have all of the dependencies installed (including glibc-devel libtools, etc.)? There's a list in the README file along with instructions on how to check you have the right version. Also, did you run the make mrproper stage? I doubt that this is a missing file from the source tarball. If it was, this would mean that the tarball you have is broken, because a bug like that in a standard release would have been reported by now. But you can easily check; download the MD5 checksum file for the source you downloaded and then use md5sum to check it against the source .tar.bz2 or .tar.gz file. For more details, open a terminal and type: Code:
info coreutils md5sum |
rjlee-
Thanks for getting back promptly. Yes I did run "make mrproper". I agree with you... I doubt that there's a missing file. That's a little too obvious. I imagine that I'm just not doing something right. I checked into the README in the linux2.4.31 (topmost source) directory. No such list as you describe is in that directory. Must I look at a different README? which one? I'll try various README's until I hear back. pjz |
it's been a long time since i messed with 2.4 series kernel but that file autoconf.h gets created when you do the configure
"make xconfig" i think |
foo-bar-foo,
Thanks. I'd been "saving to file" and exiting make xconfig, and apparently one must "save and exit" in order to produce autoconfig.h. This is the missing step. Thanks again everyone pjz |
All times are GMT -5. The time now is 06:46 PM. |