Make Headers_Install error Slackware64
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 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.
|
You shouldn't be doing that anyway - the kernel headers on the system should match the ones that glibc is compiled against.
|
oh
I guess I didnt realize that... So, it doesnt matter if the kernel/modules etc are 2.6.36.2 and the headers are 2.6.35.7?? I just wanted the headers to match the 2.6.36.2 kernel What would have to be recompiled to make a 2.6.36.2 header pkg? thanks |
Certainly glibc would, maybe other things too.
|
ok
but it is OK to have different kernel, etc than headers like I have a 2.6.36.2 kernel compiled with 2.6.35.7 headers thats OK right? |
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
|
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.
|
All times are GMT -5. The time now is 02:47 AM. |