error: variable '__this_module' has initializer but incomplete type错误解决

来源:互联网 发布:淘宝零销量能买吗 编辑:程序博客网 时间:2024/05/29 16:11

问题描述:编译内核驱动时候会出现error: variable '__this_module' has initializer but incomplete type错误

解决办法:1.make menuconfig 选中enable loadable module suppot选项

     2.如果是为嵌入式系统编译模块,则要下载所需的内核源码,配置好,并编译一次。

0 0
原创粉丝点击