Firefly开源社区

[Linux] Core-3399-JD4 编译驱动 缺少头文件。如何获取系统头文件。

12

积分

0

威望

0

贡献

技术小白

积分
12
发表于 2020-10-21 14:19:47     
uname -r 显示 4.4.194-59119-g968ba5005831

firefly@firefly:~/tmp$ sudo apt-get install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: Unable to locate package linux-headers-4.4.194-59119-g968ba5005831
E: Couldn't find any package by glob 'linux-headers-4.4.194-59119-g968ba5005831'
E: Couldn't find any package by regex 'linux-headers-4.4.194-59119-g968ba5005831'
回复

使用道具 举报

15

积分

0

威望

0

贡献

技术小白

积分
15
发表于 2020-11-18 14:13:58     
有解决方案么?
回复

使用道具 举报

781

积分

2

威望

4

贡献

技术大神

Rank: 3Rank: 3

积分
781
发表于 2020-11-19 16:17:04     
链接:https://pan.baidu.com/s/1UzymtnTZ8Y1FZP5_Nu9fQw
提取码:mn7j

安装上面的deb
回复

使用道具 举报

15

积分

0

威望

0

贡献

技术小白

积分
15
发表于 2020-11-19 18:04:48     
make -C /lib/modules/4.4.194-gd078f20c45b5/build M=/home/firefly/sric_ace/vcp_driver modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.194-gd078f20c45b5'
  CC [M]  /home/firefly/sric_ace/vcp_driver/cp210x.o
/bin/sh: 1: ./scripts/recordmcount: Exec format error
scripts/Makefile.build:283: recipe for target '/home/firefly/sric_ace/vcp_driver/cp210x.o' failed
make[2]: *** [/home/firefly/sric_ace/vcp_driver/cp210x.o] Error 2
make[2]: *** Deleting file '/home/firefly/sric_ace/vcp_driver/cp210x.o'
Makefile:1479: recipe for target '_module_/home/firefly/sric_ace/vcp_driver' failed
make[1]: *** [_module_/home/firefly/sric_ace/vcp_driver] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.4.194-gd078f20c45b5'
Makefile:7: recipe for target 'all' failed
make: *** [all] Error 2
回复

使用道具 举报

15

积分

0

威望

0

贡献

技术小白

积分
15
发表于 2021-6-21 18:14:45     
penguin 发表于 2020-11-19 16:17
链接:https://pan.baidu.com/s/1UzymtnTZ8Y1FZP5_Nu9fQw
提取码:mn7j

您好,需要重新下载下链接文件,请帮忙重新开放下链接地址,谢谢!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表