Re: Missing linux-headers

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

 





On Mon, Oct 10, 2022 at 6:41 AM Jeffrey Walton <noloader@xxxxxxxxx> wrote:
On Sun, Oct 9, 2022 at 2:11 AM neutrino network
<neutrino.network1@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux