"Unknown symbol in module" Question in 2.6.26

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.logAug  1 23:47:27 dell-desktop kernel: [ 7029.008527] mod2: no symbolversion for func1Aug  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 setCONFIG_MODULE_UNLOAD=y# CONFIG_MODULE_FORCE_UNLOAD is not setCONFIG_MODVERSIONS=yCONFIG_MODULE_SRCVERSION_ALL=yCONFIG_KMOD=y
-- Best Regards :-)-------------------------------------------Wang Yao(王耀),wangyao@xxxxxxxxxxxxx ipconfigme@xxxxxxxxx wangyao01@baidu.comwangyao08@xxxxxxxxxxxxxxxxxxxxxxxxxx: http://cudev.cublog.cnIBM Club Harbin Institute Of TechnologyAddress:NO.92 West Da-Zhi Street,NanGang District,Harbin,Heilongjiang?韬{.n?????%??檩jw?)p??{.n???罐??'??q??????????v??m??赙zY蘖?锄+?@


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux