gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-02 11:09:52 24 4
gpt4 key购买 nike

我正在尝试安装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.

最佳答案

From this solution我只运行此命令yes | sudo apt install libcanberra-gtk-module libcanberra-gtk3-module然后按照所述的其他步骤进行操作。

关于linux - 当我尝试gcc make linux-headers -`uname -r`时遇到错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63330654/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com