Re: Missing linux-headers

2022-10-10 Thread neutrino network
On Mon, Oct 10, 2022 at 6:41 AM Jeffrey Walton wrote: > On Sun, Oct 9, 2022 at 2:11 AM neutrino network > 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-heade

Re: Missing linux-headers

2022-10-09 Thread Jeffrey Walton
On Sun, Oct 9, 2022 at 2:11 AM neutrino network 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 rem

Re: Missing linux-headers

2022-10-09 Thread Scott J. Crouch
On 9/10/22 17:10, neutrino network wrote: > This is a test on a patched kernel. The patch has an API for userspace > programs. Ok, ignore what I said earlier. Headers necessary for using the user-space API are exported with the *user-space* headers. That's the stuff sitting in /include/uapi/ (a

Re: Missing linux-headers

2022-10-08 Thread neutrino network
On Sat, Oct 8, 2022 at 11:21 AM Scott J. Crouch wrote: > On 8/10/22 15:01, neutrino network wrote: > > How to update linux-headers for kernel (6.0.0) compiled from source in > centos? > > > > System has kernel 4.18 headers while kernel is 6.0, however userspace > program generates error e.g*fata

Re: Missing linux-headers

2022-10-07 Thread Scott J. Crouch
On 8/10/22 15:01, neutrino network wrote: > How to update linux-headers for kernel (6.0.0) compiled from source in centos? > > System has kernel 4.18 headers while kernel is 6.0, however userspace program > generates  error e.g*fatal error: linux/mutex.h: No such file or directory* linux/mutex.h