Trouble building pinephone-keyboard tools
#1
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
  Reply
#2
(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.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Article: Build a PinePhone App with Zig and zgt lupyuen 2 37 6 hours ago
Last Post: lupyuen
  Struggle to install LibreOffice on the PinePhone Peter Gamma 32 1,228 06-17-2022, 10:13 AM
Last Post: Peter Gamma
  Jami on Pinephone [ IM and VOIP ] p1trson 14 4,070 06-09-2022, 01:13 AM
Last Post: AndyM
  Pinephone: Is there a frugal distro? orbital 2 259 05-27-2022, 09:34 PM
Last Post: orbital
  Pinephone: OpenGL support? orbital 1 158 05-24-2022, 10:02 AM
Last Post: fire219
  openSUSE for Pinephone Alefnode 71 63,476 05-15-2022, 10:44 AM
Last Post: flembcke
  Latest firmware for PinePhone modem! Subsentient 105 72,874 05-14-2022, 08:56 PM
Last Post: kk22
  Slack on PinePhone Adam Seline 2 1,241 05-01-2022, 04:04 AM
Last Post: nickolas
  Keyboard Case Power Management Daemon estokes 2 492 04-16-2022, 04:15 PM
Last Post: estokes
  Amazfish on Pinephone pagesix1536 9 5,179 04-11-2022, 12:50 PM
Last Post: thomzane

Forum Jump:


Users browsing this thread: 1 Guest(s)