Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-16-2005, 05:39 PM   #1
Registered: Sep 2003
Posts: 71

Rep: Reputation: 15
Question Want to compile kernel, missing include/linux/autoconf.h


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?
Old 06-16-2005, 06:03 PM   #2
Senior Member
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,991

Rep: Reputation: 76
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:
info coreutils md5sum
Old 06-16-2005, 09:52 PM   #3
Registered: Sep 2003
Posts: 71

Original Poster
Rep: Reputation: 15

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.
Old 06-16-2005, 10:43 PM   #4
Senior Member
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 52
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
Old 06-17-2005, 08:06 AM   #5
Registered: Sep 2003
Posts: 71

Original Poster
Rep: Reputation: 15

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LFS-5.0:Chapter 6:autoconf-2.57 missing jazernorth Linux From Scratch 12 11-12-2005 10:11 AM
Missing 'module-info-' after kernel compile. mr_mccabe Linux - General 1 07-14-2005 02:46 PM
Can't compile wireless driver - missing include file?! soultaco Linux - Laptop and Netbook 1 05-12-2004 11:14 PM
Kernel compile; missing packages, maybe? designguy79 Slackware 11 04-07-2004 08:14 PM
/include/linux/version.h is missing!!! eisheth.zenunim Linux From Scratch 2 03-23-2004 05:32 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:43 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration