yoshimoto / gspca-kinect2

Kinect2 Sensor Device Driver for Linux
GNU General Public License v2.0
29 stars 16 forks source link

Support kernels 5.3.0+ #6

Open grandchild opened 4 years ago

grandchild commented 4 years ago

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.

thamma commented 4 years ago

Do you have any idea why you are not running into error -22 (see this issue) once the driver detects the kinect?

grandchild commented 4 years ago

I have no way of knowing, sorry.

grandchild commented 4 years ago

I do now. It only affects kernels 5.4 and higher. See #8.