We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Distribution: Arch Linux Kernel: 6.8.1-arch1-1
Just replacing "strlcpy" with "strscpy" works. But I know nothing about C. I leave it to you experts.
make -C /lib/modules/6.8.1-arch1-1/build M=/mnt/box/downloads/px1800kbd modules make[1]: Entering directory '/usr/lib/modules/6.8.1-arch1-1/build' CC [M] /mnt/box/downloads/px1800kbd/px1800kbd.o /mnt/box/downloads/px1800kbd/px1800kbd.c: In function ‘init_kbd_name’: /mnt/box/downloads/px1800kbd/px1800kbd.c:308:17: error: implicit declaration of function ‘strlcpy’; did you mean ‘strscpy’? [-Werror=implicit-function-declaration] 308 | strlcpy(kbd->name, dev->manufacturer, sizeof(kbd->name)); | ^~~~~~~ | strscpy cc1: some warnings being treated as errors make[3]: *** [scripts/Makefile.build:243: /mnt/box/downloads/px1800kbd/px1800kbd.o] Error 1 make[2]: *** [/usr/lib/modules/6.8.1-arch1-1/build/Makefile:1921: /mnt/box/downloads/px1800kbd] Error 2 make[1]: *** [Makefile:240: __sub-make] Error 2 make[1]: Leaving directory '/usr/lib/modules/6.8.1-arch1-1/build' make: *** [Makefile:33: default] Error 2
Thanks for maintaining this btw. Much appreciated!
The text was updated successfully, but these errors were encountered:
Similar error here : umlaeute/v4l2loopback#575
Looks like kernel 6.8 has deprecated strlcpy
Sorry, something went wrong.
lolo101
No branches or pull requests
Distribution: Arch Linux
Kernel: 6.8.1-arch1-1
Just replacing "strlcpy" with "strscpy" works. But I know nothing about C. I leave it to you experts.
Thanks for maintaining this btw. Much appreciated!
The text was updated successfully, but these errors were encountered: