-bash: make: command not found

时间:2025-04-06 16:54:28

这个错误表明你的系统上没有安装 make 工具。make 是一个用于自动化编译的工具,通常会和其他编译工具一起使用,比如 gcc。你可以使用包管理器来安装 make。在大多数基于 Debian 的系统(如 Ubuntu)上,可以通过以下命令安装 make

sudo apt update
sudo apt install build-essential

build-essential 包括 make 工具和其他常用的编译工具,如 gcc 等。

安装完成后,你应该可以运行 make 命令。尝试再次编译你的驱动:

make