kasbert / epsolar-tracer

Tools for EPsolar Tracer BN solar charge controller
Apache License 2.0
121 stars 76 forks source link

Kernel header not found #53

Open kingfash opened 1 year ago

kingfash commented 1 year ago

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

kasbert commented 1 year ago

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)

kingfash commented 1 year ago

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.

bistory commented 11 months ago

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