Missing linux-headers

neutrino network neutrino.network1 at gmail.com
Mon Oct 10 05:57:26 EDT 2022


On Mon, Oct 10, 2022 at 6:41 AM Jeffrey Walton <noloader at gmail.com> wrote:

> On Sun, Oct 9, 2022 at 2:11 AM neutrino network
> <neutrino.network1 at gmail.com> wrote:
> > ...
> > >>  If so, you should probably install the kernel development headers
> packaged by your distribution,
> > Trying to install headers with "sudo yum -y install kernel-headers"
> returns that headers are already installed even its removal reinstall the
> old kernel headers
> >  Tried also "yum install kernel-headers-$(uname -r) " !
>
> Sadly, that {behavior|misfeature|bug} has been around forever: the
> kernel-headers package does not install kernel headers. Also see
> https://bugzilla.redhat.com/show_bug.cgi?id=1190394 .
>
> You may want the kernel-devel package, instead.
>
> Jeff
>

Thank you all, I set the environment variable "export
C_INCLUDE_PATH=<linux-kernel-source-path>/usr/include/" and the application
can now be compiled.

Cheers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20221010/68b346d0/attachment.html>


More information about the Kernelnewbies mailing list