Updated to kernel 3.0.4 but now source package can not find kernel headers.
This started yesterday after updating my kernel to version 3.0.4. This part of Linux is where I usually have issues heavily when I do custom kernels.
After updating my kernel and redoing my symlinks, to the source and all now when I compile a package that looks for the kernel headers it stated they can not be found.
I've tried working around this editing the files that generate errors to manually probe to the direct path of the kernel headers, example:
Where as a package use to have:
<asm/errno.h>
I've hasd to edit it to include the full path:
</usr/src/linux/include/asm/errno.h>
Due to this issue package that are SlackBuilds can not compile unless I do a manual audit of the package to relink the headers as the compiler generate errors one file at a time. I've even had to do this to several kernel headers as well.
Is there anything I can do to restore the kernel headers to a functional state so I don't have to perform a manual audit and edit of all the files as errors are generated?
Edit:
Fixed the issue.
Last edited by ReaperX7; 10-03-2011 at 06:48 PM.
|