我最近在MBP 2018上同时安装了Ubuntu 20.04和MacOS。
现在,我尝试从MCMrARM安装驱动程序,但是运行Makefile可以使我做到这一点:
make -C /lib/modules/5.4.0-48-generic/build M = / home / hcpieck / mbp2018-bridge-drv模块
make [1]:输入目录'/usr/src/linux-headers-5.4.0 -48-通用的
arch / x86 / Makefile:147:启用CONFIG_X86_X32,但不支持binutils
make [1]:gcc:未找到命令
CC [M] /home/hcpieck/mbp2018-bridge-drv/pci.o
/ bin / sh:1:gcc:找不到
make [2]:*** [scripts / Makefile.build:275:/home/hcpieck/mbp2018-bridge-drv/pci.o]错误127
make [1]:*** [Makefile:1734:/ home / hcpieck / mbp2018-bridge-drv]错误2
make [1]:离开目录'/usr/src/linux-headers-5.4.0-48-generic'make:***
[Makefile :10:全部]错误2
我想念什么?
谢谢,
gcc: Command not found
表示gcc
未安装。
跑
sudo apt install build-essential
安装所需的软件包。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句