简体   繁体   English

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

[英]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.

相关问题 linux-headers-$(uname -r) 安装程序但 /usr/include/ 未使用新头文件更新 - linux-headers-$(uname -r) installer but /usr/include/ is not update with new headers 我正在做密码挑战 5。尝试在 kali linux 中运行此脚本时,第 5 行出现语法错误 - I'm doing the cryptopals challenge 5. I'm getting a syntax error in line 5 when trying to run this script in kali linux 尝试推送到Linux AWS服务器上的裸仓库时出现“权限不足...”错误 - I'm getting a 'insufficient permission…' error when trying to push to my bare repo on my linux AWS server 在尝试将Oracle SQL安装到Linux服务器上时,这个错误意味着什么? - What does this error mean that I'm getting whilst trying to install Oracle SQL onto a Linux server? 我正在使用 Linux,用 gcc 编译,收到错误:警告:函数 'fopen_s' 的隐式声明,有人可以帮我解决这个问题吗? - I'm using Linux, compiling with gcc, getting error: warning: implicit declaration of function ‘fopen_s’, can someone help me fix this? 我正在尝试在Linux服务器上安装编译器 - I'm trying to install the compiler on the linux server 当我尝试通过 python 脚本执行 shell 命令时出现错误“找不到模块” - I'm getting an error “module not found ” when I'm trying to execute shell commands through a python script 我正在尝试在LINUX上运行命令命令。但是当我运行时,#,它返回未找到错误 - I'm trying to run hitory commands on LINUX.But when I run !#, it returns not found error `uname -m`的可能值 - Possible values for `uname -m` 我是 Linux 的新手,我正在尝试激活“模块加载 python2 samtools rseqc”,但我遇到了 Lmod 版本问题 - I'm new to Linux and I'm trying to activate “module load python2 samtools rseqc” but I'm running into Lmod version issues
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM