Core-3399-JD4 编译驱动 缺少头文件。如何获取系统头文件。
uname -r 显示 4.4.194-59119-g968ba5005831firefly@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' 有解决方案么?
链接:https://pan.baidu.com/s/1UzymtnTZ8Y1FZP5_Nu9fQw
提取码:mn7j
安装上面的deb make -C /lib/modules/4.4.194-gd078f20c45b5/build M=/home/firefly/sric_ace/vcp_driver modules
make: Entering directory '/usr/src/linux-headers-4.4.194-gd078f20c45b5'
CC /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: *** Error 2
make: *** Deleting file '/home/firefly/sric_ace/vcp_driver/cp210x.o'
Makefile:1479: recipe for target '_module_/home/firefly/sric_ace/vcp_driver' failed
make: *** Error 2
make: Leaving directory '/usr/src/linux-headers-4.4.194-gd078f20c45b5'
Makefile:7: recipe for target 'all' failed
make: *** Error 2
penguin 发表于 2020-11-19 16:17
链接:https://pan.baidu.com/s/1UzymtnTZ8Y1FZP5_Nu9fQw
提取码:mn7j
您好,需要重新下载下链接文件,请帮忙重新开放下链接地址,谢谢!
页:
[1]