Skip to content

Support kernels 5.3.0+#6

Open
grandchild wants to merge 1 commit into
yoshimoto:masterfrom
grandchild:patch-1
Open

Support kernels 5.3.0+#6
grandchild wants to merge 1 commit into
yoshimoto:masterfrom
grandchild:patch-1

Conversation

@grandchild

Copy link
Copy Markdown

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

thamma commented Jun 3, 2020

Copy link
Copy Markdown

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
Copy Markdown
Author

I have no way of knowing, sorry.

@grandchild

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