[Exchange and share] 5.18.17的头文件在哪 里下载
Tofloor
poster avatar
夜行者
deepin
2023-06-04 02:11
Author

我的v23内核用的是5.18.17-amd64-desktop-community-hwe

想编译内核模块,apt 里面找不到对应的头文件,头文件 怎么下载?

Reply Favorite View the author
All Replies
新手小白
deepin
2023-06-04 02:28
#1
It has been deleted!
夜行者
deepin
2023-06-04 02:30
#2
新手小白 It has been deleted!

忘记说了,搜索不到那个头文件

Reply View the author
夜行者
deepin
2023-06-04 02:31
#3
夜行者

忘记说了,搜索不到那个头文件

只有这一个,但不是
image.png

Reply View the author
jjcui8595
deepin
2023-06-04 03:09
#4

从图中看不是已经安装了吗

Reply View the author
root
deepin
2023-06-04 03:15
#5

头文件包只包含 xxx.h 文件

头文件包并木有包含驱动相关的 xxx.c 源代码

包含完整驱动相关的 xxx.c 源代码包叫内核源代码包

tail

Reply View the author
夜行者
deepin
2023-06-04 03:19
#6
jjcui8595

从图中看不是已经安装了吗

image.png

Reply View the author
jjcui8595
deepin
2023-06-04 14:38
#7
夜行者

只有这一个,但不是
image.png

这张图片显示你安装了6.1内核,确认你编译前切换到了5.18内核

Reply View the author
夜行者
deepin
2023-06-05 18:10
#8
jjcui8595

这张图片显示你安装了6.1内核,确认你编译前切换到了5.18内核

确定使用的是5.18

Reply View the author