PINE64
Trouble building pinephone-keyboard tools - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+--- Thread: Trouble building pinephone-keyboard tools (/showthread.php?tid=16695)



Trouble building pinephone-keyboard tools - 64_Tesseract - 05-22-2022

I'm trying to build the pinephone-keyboard package on PostmarketOS, so I can see the keyboard's battery with one of its commands. After installing php and gcc to solve the dependency errors I was getting, I got stuck on one I couldn't figure out:
Code:
In file included from i2c-inputd.c:22:
common.c:20:10: fatal error: linux/usbdevice_fs.h: No such file or directory

I did a search and found the file in a GitHub repo that's supposed to be a Linux kernel - I don't know much on the subject, but I assume this means getting the tools to compile will be more complicated than a simple apk install... Unless, by some miracle, make's just not finding the header file hidden in some system folder Undecided

Anyone got any ideas? Cheers


RE: Trouble building pinephone-keyboard tools - carterza - 06-11-2022

(05-22-2022, 12:18 AM)64_Tesseract Wrote: I'm trying to build the pinephone-keyboard package on PostmarketOS, so I can see the keyboard's battery with one of its commands. After installing php and gcc to solve the dependency errors I was getting, I got stuck on one I couldn't figure out:
Code:
In file included from i2c-inputd.c:22:
common.c:20:10: fatal error: linux/usbdevice_fs.h: No such file or directory

I did a search and found the file in a GitHub repo that's supposed to be a Linux kernel - I don't know much on the subject, but I assume this means getting the tools to compile will be more complicated than a simple apk install... Unless, by some miracle, make's just not finding the header file hidden in some system folder Undecided

Anyone got any ideas? Cheers

Install the
Code:
linux-headers
package.


RE: Trouble building pinephone-keyboard tools - 64_Tesseract - 08-11-2022

Compiled without issues, thanks!