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.
hey guys
so I was trying to make a 64bit 2.6.36.2 kernel for my multilib slackware64 setup and when doing "make headers_install" I get this error
Code:
CHK include/linux/version.h
HOSTCC scripts/basic/fixdep
In file included from /usr/include/bits/posix1_lim.h:157:0,
from /usr/include/limits.h:145,
from /usr/lib64/gcc/x86_64-slackware-linux/4.5.1/include-fixed/limits.h:169,
from /usr/lib64/gcc/x86_64-slackware-linux/4.5.1/include-fixed/syslimits.h:7,
from /usr/lib64/gcc/x86_64-slackware-linux/4.5.1/include-fixed/limits.h:34,
from scripts/basic/fixdep.c:114:
/usr/include/bits/local_lim.h:39:26: fatal error: linux/limits.h: No such file or directory
compilation terminated.
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
Can anyone tell me why this happened and if it can be fixed?
Thanks
EDIT: is this because it's multilib/compat32pkg?
do I need to go back to GCC for 64?
Don't install the kernel headers unless you have a very good reason to, they can cause problems. You have to recompile other packages if you want things to work properly.
Yes, it is. Actually, this should stay like this. You'll only have to update your headers when glibc is updated, which both occur at the same time on the Slackware changelog. Alien Bob has a nice article about this in his wiki, which you should read: http://alien.slackbook.org/dokuwiki/...kernelbuilding
Last edited by rfernandez; 12-13-2010 at 04:24 PM.
In some other distros, the headers package is called libc-headers instead of kernel-headers which may lead to less confusion. The bottom line is that the headers have absolutely no relation to the kernel version you are using. They have everything to do with the glibc version of your system -glibc is compiled against those headers so they should only be changed when glibc is re-compiled.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.