kernel headers
Hiya,
My system is RedHat 9 kernel-2.4.20-20.9 and I'm installing software that has to be compiled in order to make it work. The list of needed stuff: -- rpm -q binutils rpm -q cpp rpm -q glibc-devel rpm -q gcc rpm -q kernel-headers rpm -q kernel-source -- kernel source I installed ok. rpm -q kernel-headers says not installed. Q1) What are kernel headers? Q2) I'm not able to find the headers.rpm of the exact same version as kernel. Is it critical to find the match or could I use any 2.4-header version? Q3) I'm a bit confused by the many kernel-source.rpm distributions, some with i386-i686 and others with athlon/intel written in them too. I have AMD 3000+ cpu, which i guess means it's i686. Is there a good rule of thumb here? |
Re: kernel headers
Quote:
Quote:
Quote:
|
Thanks for your reply Mara, it cleared things. I was just left wondering if you actually mean symlinking the contents of kernel-src/include to usr/include instead of the directory (resulting --> usr/include/include)? My money would be on the first option, but trying to be really carefull not to mess up :)
And what if there allready are files/dirs of same name; are they over-written and if so would it be ok? |
I meant the contents. It's even bette to copy it, in fact (because you may forget and delete /usr/src/linux).
If you have files of the same name, don't modify them. Headers for an older version usually work just fine (headers have list of functions, kernel variables etc, they don't change as often as other kenel files). |
All times are GMT -5. The time now is 12:22 AM. |