How to install kernel source?
During installation of one of driver i needed to
Remove any earlier version drivers using make clean -r command. Where i m getting following error. Code:
# make clean -r Code:
# uname -r How should i install it. |
Use your distribution's package manager to get the kernel source package for the kernel you're running.
|
Quote:
However i can see following options for O.S download. Oracle VM Server 2.2.0 373M Oracle VM Server 2.2.0 Source 600M Will i get the kernel source in 2nd CD? |
I don't know. Have a look? I assume the package is called something like "kernel-source-version".
|
I have got kernel-2.6.18-128.2.1.4.9.el5.src.rpm from the source CD .
Now i m confused how to install it . As even running rpm -ivh kernel-2.6.18-128.2.1.4.9.el5.src.rpm I m getting same error. Edit/Delete Message |
Where is the makefile looking for the kernel source? You might want to post said makefile here.
|
Can you be more specific about what system and what CDs are you using?
Some distribution provide only one (maybe two) CDs as installation medium, but they rarely contain any source codes. If you have full set if CDs for your linux (which should be something around 5) then they might contain your kernel sources. |
All times are GMT -5. The time now is 10:29 AM. |