On Mon, Oct 10, 2022 at 6:41 AM Jeffrey Walton <noloader@gmail.com> wrote:
On Sun, Oct 9, 2022 at 2:11 AM neutrino network
<neutrino.network1@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