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.
To follow up my thread about burning a cd, I can't compile a kernel anymore and I can't figure out why. I tried 3 kernel version (2.4.7, 2.6.8.1 and 2.6.9) and they all have the same error message:
linux/limits.h: No such file or directory
The file exist for each version and also in usr/include so I don't know why it is not accessed.
make clean
make mrproper
make config --> error
make menuconfig --> error
make xconfig --> error
make gconfig --> error
make throw_the_fucker_thru_the_window --> .config not found
I just found out that the whole include dir in /usr/src/linux/ is not accessed
SInce include/linux/limits.h wasn't accessed I symlinked /usr/src/linux/include/linux to /usr/include/linux and now it's another dir in linux/include that is not accessed
I'm guessing I'm missing a path name somewhere. Does anybody have an idea where?
the way I do it is to unpack my kernel in the /usr/src directory so I have something like /usr/src//linux-2.6.9 then I 'rm linux' after this I 'ln -s /usr/src//linux-2.6.9 /usr/src/linux' then 'cd linux'. While in the linux directory I will 'make mrproper' then 'make clean' then 'make menuconfig' Is this the steps you are taking before getting the error?
when you installed did you install slackware/d/kernel-headers-2.4.26-i386-3.tgz ?
Everything I am reading says it is realated to missing kernel headers. Try reinstalling this package from your slackware 10 cd and see if that fixes it.
)
very funny @ make throw_the_fucker_thru_the_window --> .config not found && swear like there's no tomorrow (and being french canadian that's pretty colorful!)
Thanks mAineAc, that's is what I was missing, it works fine. Now I'll go and curse about the process of going thru all the option of configuring the kernel before compiling because the moron (me) forgot to backup the config file.
djh: you should try mAineAc advice I think it should work since you seem to have the same problem as I did
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.