驱动模块
1·1
这个作者很懒,什么都没留下…
展开
-
fatal error C1083: 无法打开预编译头文件: “x64\Debug\xxxxxx.pch”: No such file or directory
fatal error C1083: 无法打开预编译头文件: “x64\Debug\xxxxxx.pch”: No such file or directory原创 2021-06-04 16:46:51 · 2759 阅读 · 0 评论 -
编译内核模块出现CONFIG_DEBUG_SECTION_MISMATCH=y的警告
编写kernel驱动时,出现了如下警告:WARNING: modpost: Found 1 section mismatch(es).为了确实搞清楚问题所在,利用一个简单的例子来说明这里我使用的内核版本是 linux-2.6.32.25其他的版本在编译出错是的提示信息,可能稍微不同。hello.ko的源代码:#include #include s原创 2016-10-26 20:35:55 · 3356 阅读 · 0 评论