install new kernel headers
I just built a 2.6.19 kernel for slackware 11.
I needed a hal patch . So now I am missing some header files . I am pretty sure they are kernel headers . So my question is this . How can I install kernel headers from new kernel source? |
Leave the version at "2.6.19.7" and go download the 2.6.19.7 kernel source and recompile your kernel. Why not use the latest version instead of 2.6.19? Besides, there were significant changes to the headers from 2.6.19 to 2.6.19.1... You'll at least want to use the headers from the 2.6.19.1 kernel..
run the below script, do a removepkg on your existing headers and then install the new package in /tmp. Code:
#!/bin/sh |
I must have done something wrong. The script doesn't seem to do anything but create an empty package.Then when I remove my old kernel headers I have no headers.
The "make headers_check" and "make headers_install" should do it by theirself ,right? |
not quite, but make sure you have your old headers gone before doing so.
Code:
make headers_check Quote:
You need the kernel tar.bz2 in the same directory as the script. That's probably why you had an empty slackware package. You aught to get into the habit of exclusively using packages.. Just my :twocents: And you really aught to use 2.6.19.1 too... :) Good luck with hal. |
Worked perfect.
Thank you. |
All times are GMT -5. The time now is 12:22 AM. |