ChinaUnix.net
相关文章推荐:

no symbol version for modulelayou

主要是2.6.26内核的module.c中check_version()发生了改变,导致的这个问题。 解决方法: 1、重新编译内核,关闭CONFIG_MODversionS选项 2、重新编译内核开启MODULE_FORCE_LOAD选项,强制加载 3、拷贝Module.symversion到内核源码目录,然后在内核源码目录执行make prepare,然后再在编译Module的时候加上KERN_DIR=/usr/src/linux 4、修改Module代码,通过/proc/kallsyms来获得地址,并赋给函数指针来使用 参考资料: http://w...

by CUDev - Linux文档专区 - 2008-11-28 22:56:13 阅读(3807) 回复(0)

相关讨论

mousedev: disagrees about version of symbol module_layout evdev: disagrees about version of symbol module_layout snd_page_alloc: disagrees about version of symbol module_layout evbug: disagrees about version of symbol module_layout soundcore: disagrees about version of symbol module_layout snd: disagrees about version of symbol module_layout snd_timer: disagrees about version of symbol module_layo...

by fanronghua - 嵌入式开发 - 2010-12-31 12:08:58 阅读(10588) 回复(2)

有哪位高手见过这个问题呀:libauthmysql.so: undefined symbol: mysql_get_server_version 错误日志: Sep 22 16:21:38 testlinux syslogd 1.4.1: restart. Sep 22 16:22:18 testlinux imapd: Connection, ip=[::ffff:127.0.0.1] Sep 22 16:22:18 testlinux authdaemond: received auth request, service=imap, authtype=login Sep 22 16:22:18 testlinux authdaemond: authmysql: trying this module Sep 22 16:22:18 testlinux...

by angshuangxi - 服务器应用 - 2009-09-23 10:34:39 阅读(2654) 回复(1)

问题应该是编译模块的内核与运行的内核版本不严格匹配。 编译模块内核版本:2.6.18.e15 运行的内核:2.6.18 两个内核相差不大,我要怎样才能将此模块插入?

by hb12112 - C/C++ - 2011-11-29 12:03:43 阅读(14809) 回复(7)

我是在做卡驱动时遇到的,首先下载内核代码,之后给内核打上patch,重新编译安装,启动新内核,结果启动我的驱动时,出现unknown symbol。。。

by hf_gorden - Linux新手园地 - 2013-06-24 19:39:13 阅读(976) 回复(1)

.h 加个宏 .c (include .h) 提示 undefined symbol 在make的时候

by zhentongshu - C/C++ - 2013-01-13 22:28:32 阅读(2862) 回复(5)

symbol,是Ruby里面较难理解的内容,这两篇文章,很值得一看: http://www.ibm.com/developerworks/cn/opensource/os-cn-rubysbl/index.html http://www.ibm.com/developerworks/cn/opensource/os-cn-rubysbl2/index.html

by 2gua - Ruby - 2011-03-22 01:27:03 阅读(2855) 回复(8)

by tangke 2009-09-26 本文主要介绍nm工具来查看程序中的symbols. #include static int static_global = 42; int extern_global; const int const_extern_global = 42; static void local_function(int n) { int local_var = 3; static int static_local_var = 23; if (n > 3) { local_var = n; static_local_var = 2 * n; } if (local_var > 4) ...

by fewlife - Linux文档专区 - 2009-09-26 09:18:10 阅读(584) 回复(0)

只知道EXPORT symbol是把内核函数的符号导出,也就是把函数的入口地址导出,但是不知道 EXPORT symbol怎么用?请指教。还有MODULE_LICENSE。

by sanshially - 内核/嵌入技术 - 2006-05-16 19:30:06 阅读(1092) 回复(3)

只知道EXPORT symbol是把内核函数的符号导出,也就是把函数的入口地址导出,但是不知道 EXPORT symbol怎么用?请指教。还有MODULE_LICENSE。

by sanshially - 内核源码 - 2006-05-16 19:30:06 阅读(2859) 回复(3)

请教各位牛人,不知道大家有没有什么好办法解决在 linux下面写驱动时出现的模块中多出未知变量的方法。 本人在学习的过程中,写了一个驱动,结果老是出现两个 未知变量,去找却没发现什么异常。 然后一行行地删代码,却是在莫名奇妙的地方。 ....

by leonashirley - 内核/嵌入技术 - 2006-02-05 09:55:32 阅读(957) 回复(1)