簡體   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