Quantcast
Channel: Active questions tagged 22.04 - Ask Ubuntu
Viewing all articles
Browse latest Browse all 4447

dkms error due to kernel headers mismatch

$
0
0

Newbie here.

I am trying to install a device driver and it does ‘dkms’ in the background.

I have Ubuntu 22.04.5 that has kernel 6.*

When dkms is run, I get compilation errors as the api’s called from device driver source files don’t match Linux headers.

The same driver gets installed on Ubuntu 18 that has kernel 5.*

Can I somehow fix this issue on Ubuntu 22 by installing 5.* headers and forcing dkms to take that ?


Viewing all articles
Browse latest Browse all 4447

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>