Please help!!!
Having been persuaded (against my better judgment, no doubt) to have a go at this 'Recompiling the Kernel' game, I finally plucked up enough courage this afternoon. I installed all the source code for kernel 2.4.9, installed all the gcc and things for my Slackware 8.0 system and went for it. Ran make menuconfig first of all and patiently waded through the billions of choices there. Managed to save it and a message came up which said, 'make dep next'. I checked with my Kernel HOW-TO V2.5 and that's what it seemed to be saying, too. So I did. VERY soon after typing 'make dep', I got this:
/usr/include/bits/local_lim.h:36: linux/limits.h: No such file or directory make: *** [scripts/mkdep] Error1
Well - I don't have a clue what to do now. I read through the Kernel HOW-TO 'Pitfalls' section and (of course) no mention of this particular one. What's missing? Where is it??
<groan> I knew THIS would happen.... Sone kindly soul - please can you get me out of this latest hole? Thanks!
Gerald.
On Mon, Oct 29, 2001 at 06:07:54PM +0000, Edenyard wrote:
/usr/include/bits/local_lim.h:36: linux/limits.h: No such file or directory make: *** [scripts/mkdep] Error1
Well - I don't have a clue what to do now. I read through the Kernel HOW-TO 'Pitfalls' section and (of course) no mention of this particular one. What's missing? Where is it??
The bit you seem to have missed is linking (ln) or copying the kernel includes (in linux/include/linux and linux/include/asm) to /usr/include.
Have a look at these guides: http://alge.anart.no/linux/robotti/kernel-compile-guide http://linuxfaq.quartz.net.nz/node86.html