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

v4l2loopback-dc fails to compile on kernels 6.8+ #271

Closed
Cat-Lady opened this issue Feb 11, 2024 · 5 comments
Closed

v4l2loopback-dc fails to compile on kernels 6.8+ #271

Cat-Lady opened this issue Feb 11, 2024 · 5 comments

Comments

@Cat-Lady
Copy link

As in title, errors out with:

/path/to/droidcam/v4l2loopback/v4l2loopback-dc.c: In function 'vidioc_querycap':
/path/to/droidcam/v4l2loopback/v4l2loopback-dc.c:622:3: error: implicit declaration of function 'strlcpy'; did you mean 'strscpy'? [-Werror=implicit-function-declaration]
  622 |   strlcpy(cap->driver, "Droidcam", sizeof(cap->driver));
      |   ^~~~~~~
      |   strscpy
cc1: some warnings being treated as errors```
@Cat-Lady
Copy link
Author

Turns out this bug affects mainline v4l2loopback too. Adapting this patch:
https://launchpadlibrarian.net/713578869/v4l2loopback-noble.debdiff

...to your version should fix the issue.

@gilbertoferreira
Copy link

Turns out this bug affects mainline v4l2loopback too. Adapting this patch: https://launchpadlibrarian.net/713578869/v4l2loopback-noble.debdiff

...to your version should fix the issue.

Sorry.
How can I apply this diff?
Thanks

@geosone
Copy link

geosone commented Mar 17, 2024

kernel-6.8.patch.txt

this is the adapted patch for the actual stable droidcam adpted from the patch abouth

@sayan01
Copy link

sayan01 commented Mar 19, 2024

Can this be merged to master?

@zeroedout
Copy link

kernel-6.8.patch.txt

this is the adapted patch for the actual stable droidcam adpted from the patch abouth

Thank you very much! I only installed droidcam yesterday and was wondering why it wouldn't compile.

Very much appreciate the patch!!!

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

No branches or pull requests

5 participants