繁体   English   中英

当我尝试 gcc make linux-headers-`uname -r` 时,我遇到了错误

[英]While I'm trying gcc make linux-headers-`uname -r` I'm getting error

我试图安装 droidcam Linux 客户端。 当我运行命令时

gcc make linux-headers-`uname -r`

我收到以下错误:

gcc: error: make: No such file or directory
gcc: error: linux-headers-5.4.0-42-generic: No such file or directory
gcc: fatal error: no input files
compilation terminated.

我试过了

sudo apt-get install linux-headers-`uname -r`

这告诉我它已经存在了。

Reading package lists... Done
Building dependency tree       
Reading state information... Done
linux-headers-5.4.0-42-generic is already the newest version (5.4.0-42.46).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

从这个解决方案我只是运行这个命令yes | sudo apt install libcanberra-gtk-module libcanberra-gtk3-module yes | sudo apt install libcanberra-gtk-module libcanberra-gtk3-module

然后按照描述的其他步骤进行操作。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM