adams_xiaomi 发表于 2021-10-29 11:27:05

Core-3399pro-jd4 编译驱动 缺少头文件。如何获取系统头文件?

firefly@QCLADAMS-TESTER:~/rtl8188eu$ 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
E: Couldn't find any package by glob 'linux-headers-4.4.194'
E: Couldn't find any package by regex 'linux-headers-4.4.194'


firefly@QCLADAMS-TESTER:~/rtl8188eu$ uname -r
4.4.194

firefly@QCLADAMS-TESTER:~/rtl8188eu$ sudo make
make ARCH=arm64 CROSS_COMPILE= -C /lib/modules/4.4.194/build M=/home/firefly/rtl8188eumodules
make: *** /lib/modules/4.4.194/build: No such file or directory.Stop.
Makefile:155: recipe for target 'modules' failed
make: *** Error 2


adams_xiaomi 发表于 2021-10-29 11:32:10

尝试安装过 linux-headers-4.4.194+,linux-headers-4.4.194-g968ba5005831,都不行

firefly@QCLADAMS-TESTER:~/rtl8188eu$ sudo insmod 8188eu.ko
insmod: ERROR: could not insert module 8188eu.ko: Invalid module format

Liuth 发表于 2021-10-29 14:46:35

adams_xiaomi 发表于 2021-10-29 11:32
尝试安装过 linux-headers-4.4.194+,linux-headers-4.4.194-g968ba5005831,都不行

firefly@QCLADAMS-T ...

https://wiki.t-firefly.com/AIO-3399PRO-JD4/ubuntu_manual.html#an-zhuang-linux-headers-he-linux-image

adams_xiaomi 发表于 2021-10-29 16:00:59

谢谢~已解决

aabbme 发表于 2022-3-8 11:44:35

adams_xiaomi 发表于 2021-10-29 16:00
谢谢~已解决

请问一下,是怎么解决的,能否分享一下,谢谢

895816513 发表于 2022-7-7 15:09:22

aabbme 发表于 2022-3-8 11:44
请问一下,是怎么解决的,能否分享一下,谢谢

安装4楼提供的连接,里面有头文件
页: [1]
查看完整版本: Core-3399pro-jd4 编译驱动 缺少头文件。如何获取系统头文件?