Trouble building (& using) pinephone-keyboard tools
#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


Messages In This Thread
RE: Trouble building pinephone-keyboard tools - by carterza - 06-11-2022, 03:17 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Slarm64 on PinePhone [Unofficial Slackware ARM - 64 bit] acid andy 38 24,840 Yesterday, 10:29 AM
Last Post: donchurch
  PinePhone app development WhiteHexagon 15 3,896 Yesterday, 05:19 AM
Last Post: Jonnyc
Wink PINEPHONE not booting Touchwood 2 436 02-23-2024, 07:27 AM
Last Post: Touchwood
  Slack on PinePhone Adam Seline 5 5,382 12-20-2023, 07:20 AM
Last Post: nickolas
  Struggle to install LibreOffice on the PinePhone Peter Gamma 48 24,314 11-24-2023, 07:02 AM
Last Post: Peter Gamma
  Which word processor to choose for the Pinephone? Peter Gamma 8 1,998 11-23-2023, 01:06 AM
Last Post: Peter Gamma
  openSUSE for Pinephone Alefnode 75 101,759 11-17-2023, 08:37 AM
Last Post: Uturn
  Using Signal on PinePhone in mid-2023? dante404 45 13,117 11-17-2023, 04:23 AM
Last Post: Kevin Kofler
  Genode- Sculpt OS for the PinePhone (non Linux) Surehand53 1 975 11-04-2023, 07:23 PM
Last Post: tllim
  Abiword as a office mobile word processor for the Pinephone? Peter Gamma 11 2,209 10-24-2023, 08:57 AM
Last Post: Peter Gamma

Forum Jump:


Users browsing this thread: 1 Guest(s)