Firefly开源社区
标题:
Core-3399-JD4 编译驱动 缺少头文件。如何获取系统头文件。
[打印本页]
作者:
wu123456
时间:
2020-10-21 14:19
标题:
Core-3399-JD4 编译驱动 缺少头文件。如何获取系统头文件。
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'
作者:
xinbadi
时间:
2020-11-18 14:13
有解决方案么?
作者:
penguin
时间:
2020-11-19 16:17
链接:
https://pan.baidu.com/s/1UzymtnTZ8Y1FZP5_Nu9fQw
提取码:mn7j
安装上面的deb
作者:
xinbadi
时间:
2020-11-19 18:04
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
作者:
xinbadi
时间:
2021-6-21 18:14
penguin 发表于 2020-11-19 16:17
链接:https://pan.baidu.com/s/1UzymtnTZ8Y1FZP5_Nu9fQw
提取码:mn7j
您好,需要重新下载下链接文件,请帮忙重新开放下链接地址,谢谢!
欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/)
Powered by Discuz! X3.1