【问题标题】:While I'm trying gcc make linux-headers-`uname -r` I'm getting error当我尝试 gcc make linux-headers-`uname -r` 时,我遇到了错误
【发布时间】:2020-11-29 11:52:23
【问题描述】:

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

【问题讨论】:

    标签: linux compiler-errors kernel ubuntu-20.04


    【解决方案1】:

    From this solution我只是运行这个命令yes | sudo apt install libcanberra-gtk-module libcanberra-gtk3-module

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2023-03-09
      • 1970-01-01
      • 1970-01-01
      • 2020-12-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多