![](/img/trans.png)
[英]linux-headers-$(uname -r) installer but /usr/include/ is not update with new headers
[英]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.