简体   繁体   English

insmod模块中的未知符号

[英]insmod Unknown symbol in module

I'm trying to port edac module into kernel and get the following error: 我正在尝试将edac模块移植到内核中并获得以下错误:

> insmod /lib/modules/2.6.34.12/kernel/drivers/edac/edac_core.ko
insmod: error inserting '/lib/modules/2.6.34.12/kernel/drivers/edac/edac_core.ko': -1 Unknown symbol in module

The following is the dmesg log: 以下是dmesg日志:

edac_core: no symbol version for "function"
edac_core: Unknown symbol "function"

There may be couple of reason for this error. 这个错误可能有几个原因。 One of them might be symbol named "function" is exported as GPL only. 其中一个可能是名为“function”的符号仅作为GPL导出。 Or may be kernel against which you are loading your module does not have that "function" symbol, but it is in some other kernel version. 或者可能是您正在加载模块的内核没有那个“函数”符号,但它在某些其他内核版本中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM