epsolar-tracer icon indicating copy to clipboard operation
epsolar-tracer copied to clipboard

Kernel header not found

Open kingfash opened this issue 1 year ago • 3 comments

Good day,

Please I need help in fixing the error below. I got it while I run: # dkms build -m xr_usb_serial_common -v 1a

"Error! echo Your kernel headers for kernel 6.1.19-v8+ cannot be found at /lib/modules/6.1.19-v8+/build or /lib/modules/6.1.19-v8+/source. You can use the --kernelsourcedir option to tell DKMS where it's located."

I have ran update. Please I don't know how i fix this.

Thank you

kingfash avatar Mar 23 '23 00:03 kingfash

Does command "uname -r" return "6.1.19-v8+" ? If not, reboot you machine.

Install kernel headers, if you already haven't. sudo apt install linux-headers-$(uname -r)

kasbert avatar Mar 23 '23 00:03 kasbert

Yes "uname-r" returned "6.1.19v8+

The driver was working b4 until I did an update using GUi over the weekend which upgraded the Kernel header.

kingfash avatar Mar 23 '23 01:03 kingfash

Yes "uname-r" returned "6.1.19v8+

The driver was working b4 until I did an update using GUi over the weekend which upgraded the Kernel header.

I had the same problem, headers were not pushed by debian team, this should be resolved now

bistory avatar Sep 29 '23 09:09 bistory