[英]While I'm trying gcc make linux-headers-`uname -r` I'm getting error
I was trying to install droidcam Linux client.我试图安装 droidcam Linux 客户端。 when I run the command
当我运行命令时
gcc make linux-headers-`uname -r`
I'm getting the following error:我收到以下错误:
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.
I tried我试过了
sudo apt-get install linux-headers-`uname -r`
and this tells me it is already there.这告诉我它已经存在了。
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.
From this solution I just run this command yes | sudo apt install libcanberra-gtk-module libcanberra-gtk3-module
从这个解决方案我只是运行这个命令
yes | sudo apt install libcanberra-gtk-module libcanberra-gtk3-module
yes | sudo apt install libcanberra-gtk-module libcanberra-gtk3-module
and then followed the other steps described.然后按照描述的其他步骤进行操作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.