LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 892|回复: 0

动态加载模块出错,求助!

[复制链接]
发表于 2005-3-24 17:05:39 | 显示全部楼层 |阅读模式
我想在MATRIX IV开发板的arm-linux中动态加载模块,内核重编了,没有用make modules,而是直接在/lib下建了文件夹/modules,然后把已有的xxx.o复制到这里。
出错信息如下:
# insmod xxx.o
Using /lib/modules/xxx.o
insmod: ELF file not for this architecture
insmod: Could not load the module: No such file or directory
内核里是支持a.out,如果改成支持ELF编译后则进入系统后显示加载模块出错!!!!
pc机的内核只支持ELF!!!

这是什么原因呢?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表