Closed pawamoy closed 4 years ago
I'm also having this issue on Ubuntu 18.04
Same result as in the linked issue, it's compiling without errors on ArchLinux with kernel 5.2.13.
Hmm, well your kernel is certainly newer. Are you using a newer gcc
? Because the error seems to me more of a language error than a kernel version error
I guess pretty much any software is more recent on Arch than on Debian 9.
My current version on Arch is gcc (GCC) 9.1.0
.
Actually, I think I'm wrong. I think it is the kernel version that matters here. The KEY_ROTATE_LOCK_TOGGLE
constant was added in this patch in 2017: https://github.com/torvalds/linux/commit/4982327ff6755377a8a66e84113f496f3a6c53bc. I can't really work out which kernel version that corresponds to, but I'm not surprised that my 4.19.34
doesn't have it yet. So the solution here seems to be just updating your kernel.
To be honest, I would have thought that this library shouldn't be hard-coding a list of keycodes, for this exact reason. But I suppose it does so in order to distinguish between keys and absolute/relative movements, which the kernel may not provide?
I'm going to close this as the issue is resolved by using a newer kernel, but feel free to reopen!
Hi! I'm trying to compile ydotool on Debian 9, therefore trying to compile libuInputPlus and libevdevPlus. Sorry if this is a noob question but I get these errors during
make
:Am I missing something?