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

> On Sun, Oct 9, 2022 at 2:11 AM neutrino network
> <neutrino.netwo...@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
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to