[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
"Unknown symbol in module" Question in 2.6.26
module A and module B, module A export symbol func a, module B using func a.
Both modules using GPL.
#insmod ./mod1.ko
#insmod ./mod2.ko
#tail /var/log/kern.log
Aug 1 23:47:27 dell-desktop kernel: [ 7029.008527] mod2: no symbol
version for func1
Aug 1 23:47:27 dell-desktop kernel: [ 7029.008534] mod2: Unknown symbol func1
But in /proc/kallsyms, we can find the func a's symbol.
I test modules in 2.6.22 and 2.6.24, both can be right insmoded without errors.
BTW: The 2.6.26 kernel is compiled by myself.
CONFIG_MODULES=y
# CONFIG_MODULE_FORCE_LOAD is not set
CONFIG_MODULE_UNLOAD=y
# CONFIG_MODULE_FORCE_UNLOAD is not set
CONFIG_MODVERSIONS=y
CONFIG_MODULE_SRCVERSION_ALL=y
CONFIG_KMOD=y
--
Best Regards :-)
-------------------------------------------
Wang Yao(王耀),wangyao@xxxxxxxxxxxxx ipconfigme@xxxxxxxxx wangyao01@baidu.com
wangyao08@xxxxxxxxxxxxxxxxxx
HomePage: http://cudev.cublog.cn
IBM Club Harbin Institute Of Technology
Address:NO.92 West Da-Zhi Street,NanGang District,Harbin,Heilongjiang
㈤旃??????+-遍?w?)p?n??殊m?????-$??Yb?h?????????????(??