Re: Latest kernel headers not available

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 31, 2020 at 8:52 PM stan <upaitag@xxxxxxxx> wrote:

> On Fri, 31 Jan 2020 09:36:52 -0600
> parspes <parspes@xxxxxxxxx> 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 mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux