Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support kernels 5.3.0+ #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

grandchild
Copy link

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.

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
Copy link

thamma commented Jun 3, 2020

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

@grandchild
Copy link
Author

I have no way of knowing, sorry.

@grandchild
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants