免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2910 | 回复: 3
打印 上一主题 下一主题

Linux模块编译时出现的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-04-10 19:09 |显示全部楼层 |倒序浏览
WARNING: Symbol version dump /root/linux-2.6.27.8-smartarm3250/Module.symvers
  is missing;modules will have no dependencies and modversions.

论坛徽章:
0
2 [报告]
发表于 2011-04-10 19:11 |显示全部楼层
书上的第一个例子,hello~~  此前已经在内核源码下运行了:
make oldconfig   
make prepare
make scripts

论坛徽章:
0
3 [报告]
发表于 2011-04-10 19:28 |显示全部楼层
这个是全部信息~~
[root@localhost hello]# make
make -C /root/linux-2.6.27.8-smartarm3250/ M=/home/smartarm3250/hello modules
make[1]: Entering directory `/root/linux-2.6.27.8-smartarm3250'
WARNING: Symbol version dump /root/linux-2.6.27.8-smartarm3250/Module.symvers
          is missing; modules will have no dependencies and modversions.
Building modules, stage 2.  
MODPOST 0 modules
make[1]: Leaving directory `/root/linux-2.6.27.8-smartarm3250'
[root@localhost hello]# ls
hello_mod.c  Makefile  modules.order  Module.symvers

论坛徽章:
0
4 [报告]
发表于 2011-05-12 17:15 |显示全部楼层
回复 4# Yoc--


  知道了~~~谢谢你提得建议!!问题已经解决~~因为是在交叉编译环境下运行的,所以内核模块的变异也必须在交叉编译环境下进行!!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP