kernel headers 2.4.x used when compiling 2.6.7??
I am kinda new to kernel configs ........ I have done it many times now because I am a bit anal when it comes to my computer. But My situation is this. Im just a bit confused
I installed slack 10 bare.i kernel just to get up and running. Downloaded 2.6.7 and when through the hole deal and got a few 2.6.7 kernels running. I finally got one I like with minimal errors so I did a pkgtool and removed all things having to do with 2.4.x the stock kernel with slack 10. All is well for a while untill I realize that my HDD DMA error is due to not having the right support in the kernel (i think....) so I go to recompile yet again of course with errors because I removed my kernel headers.
Building a 2.6.7 kernel with 2.4.x headers is this a bad idea???? Cause this is what I have done thus far :p
What are the headers for exactly?
Were does one find kernel headers for 2.6.7 in tgz format or any format for that matter.
A kick in the right direction would be great.
No, you can compile kernel 2.6.7 with 2.4.x headers because it does not need it to compile. kernel-headers are standart files used by programs to compile. There are mainly .h C file in wich there are some definition for standart functions, constant and more.
I succeed to compile a 2.6 test module with kernel-header 2.4.x package installed. And I think some programs may fail to compile with kernel-header 2.6.xx.
Kernel headers are included on cd2 as a package.
But before you use it read the warning file:
This package of 2.6.7 based /usr/include/linux and /usr/include/asm headers
is being provided by request for some people who need it in order to compile
ASDL modem drivers for 2.6.7. As a general rule, installing kernel headers
that are newer than the kernel glibc was compiled with *may* cause problems,
so unless you need these for a particular reason it's best to stick with the
2.4.26 kernel-headers package for now.
|All times are GMT -5. The time now is 08:52 PM.|