gspca-kinect2
gspca-kinect2 copied to clipboard
Support kernels 5.3.0+
Add -mfentry CFLAG, which resolves ERROR: "mcount" [gspca-kinect2/gspca_main.ko] undefined! on kernels 5.3.0 (occurred on Ubuntu 5.3.0-53-lowlatency).
Tested also on default Ubuntu bionic kernel 4.15.0 (which wouldn't need the flag) and it still works, so it doesn't seem to break on older kernels either.
Do you have any idea why you are not running into error -22 (see this issue) once the driver detects the kinect?
I have no way of knowing, sorry.
I do now. It only affects kernels 5.4 and higher. See #8.