1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Raspberry Pi 5 でmakeに失敗する際の対処法

Last updated at Posted at 2024-03-05

環境

raspberry pi 5
Ubuntu Desktop 23.10 (Raspberry Pi ImagerでSDカードに書き込み)

症状

make 実行時に

make[1]: *** /lib/modules/6.5.0-1011-raspi/build No such file or directory. Stop.

と実行が止まってしまう。

対策

下記をインストール。

sudo apt install build-essential module-assistant

下記を実行。

sudo m-a prepare

No such file or directoryが消え、makeが通るようになっているはず。

参考

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?