Not sure if this is the right place for posting, but, could we get some kernel headers for the latest kernel and subsequent kernels. Thanks!
On Tue, Jan 28, 2020 at 9:12 PM Pat Parson parspes@gmail.com wrote:
Not sure if this is the right place for posting, but, could we get some kernel headers for the latest kernel and subsequent kernels. Thanks!
Kernel-headers are not necessarily built for every stable kernel update, as there is no need to do so unless userspace headers were patched. Is there an issue you are running into?
Thanks, Justin
Oh yeah, this kernel module for my antivirus program will not compile is all, no biggie, the world is not going to end or anything.
On Wed, Jan 29, 2020 at 6:45 AM Justin Forbes jforbes@redhat.com wrote:
On Tue, Jan 28, 2020 at 9:12 PM Pat Parson parspes@gmail.com wrote:
Not sure if this is the right place for posting, but, could we get some kernel headers for the latest kernel and subsequent kernels. Thanks!
Kernel-headers are not necessarily built for every stable kernel update, as there is no need to do so unless userspace headers were patched. Is there an issue you are running into?
Thanks, Justin
On Wed, Jan 29, 2020 at 4:14 PM parspes parspes@gmail.com wrote:
Oh yeah, this kernel module for my antivirus program will not compile is all, no biggie, the world is not going to end or anything.
That has nothing to do with the kernel-headers package. See https://www.labbott.name/blog/2019/11/16/what-s-a-kernel-headers-package-any... for a decent explanation.
Thanks, Justin
The error message provided by the anti-virus vendor's package basically states that the kernel module cannot be compiled for kernel x.x.x.x as the kernel headers or the kernel source for kernel x.x.x.x are not installed. Thanks!
On Wed, Jan 29, 2020 at 4:29 PM Justin Forbes jmforbes@linuxtx.org wrote:
On Wed, Jan 29, 2020 at 4:14 PM parspes parspes@gmail.com wrote:
Oh yeah, this kernel module for my antivirus program will not compile is all, no biggie, the world is not going to end or anything.
That has nothing to do with the kernel-headers package. See
https://www.labbott.name/blog/2019/11/16/what-s-a-kernel-headers-package-any... for a decent explanation.
Thanks, Justin
On Fri, 31 Jan 2020 09:36:52 -0600 parspes parspes@gmail.com wrote:
The error message provided by the anti-virus vendor's package basically states that the kernel module cannot be compiled for kernel x.x.x.x as the kernel headers or the kernel source for kernel x.x.x.x are not installed. Thanks!
If the kernel for which you have headers isn't installed, go here, https://koji.fedoraproject.org/koji/packageinfo?packageID=8 and get the binary kernel packages for the kernel and install them, dnf -C install [kernel packages].
At that point, you can reboot into the kernel that matches the headers and build your package. It has a hard requirement for the match. Alternatively, you could edit the make file and change the check on kernel to be a > rather than an =. That is, allow the package to build with kernel versions greater than the header version.
On Fri, Jan 31, 2020 at 8:52 PM stan upaitag@zoho.com wrote:
On Fri, 31 Jan 2020 09:36:52 -0600 parspes parspes@gmail.com wrote:
The error message provided by the anti-virus vendor's package basically states that the kernel module cannot be compiled for kernel x.x.x.x as the kernel headers or the kernel source for kernel x.x.x.x are not installed. Thanks!
If the kernel for which you have headers isn't installed, go here, https://koji.fedoraproject.org/koji/packageinfo?packageID=8 and get the binary kernel packages for the kernel and install them, dnf -C install [kernel packages].
At that point, you can reboot into the kernel that matches the headers and build your package. It has a hard requirement for the match. Alternatively, you could edit the make file and change the check on kernel to be a > rather than an =. That is, allow the package to build with kernel versions greater than the header version. _______________________________________________
While technically correct, this is not relevant to this context. Kernel-headers is for building userspace and versioning really doesn't matter much. You need the kernel-devel package (which is built with every kernel). Your kernel-devel package has to match your kernel version that you are building a module for.
kernel@lists.fedoraproject.org