AltraMayor / AltraMayor/f3

Missing libudev.h

オープン
#240 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
Help wanted
主要言語
C
スター
3.4k
フォーク
177
平均マージ
2日 15時間
マージ済み PR(30日)
2

説明

On a fully up to date Raspberry pi 5 running RaspiOS bookworm, f3write and f3read compile and run correctly.

When I try to compile f3probe and f3fix with
sudo make install-extra
I get this:

cc -std=c99 -Wall -Wextra -pedantic -MMD -ggdb -c -o libdevs.o libdevs.c
libdevs.c:21:10: fatal error: libudev.h: No such file or directory
21 | #include
| ^~~~~~~~~~~
compilation terminated.
make: *** [: libdevs.o] Error 1

I then tried on Ubuntu 24.02, also up to date, running on i7-3770 and f3write and f3read worked but trying to compile f3probe and f3fix gave the same error.

I tried
sudo apt-get install libudev-dev
but that reported
The following packages have unmet dependencies:
libudev-dev : Depends: libudev1 (= 252.38-1\~deb12u1) but 254.26-1~bpo12+1 is to be installed

I found this, https://github.com/systemd/systemd/tree/main/src/libudev
but don't know how to install it. Forgive my ignorance.

Can anyone offer advice please?

Thanks

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。