linux-kernel – linux / scripts / recordmcount:没有这样的文件或目录
发布时间:2020-08-03 23:14:28 所属栏目:Linux 来源:互联网
导读:当我尝试创建 Linux的内核模块时,会出现以下错误消息: /home/mynfs/linux/scripts/recordmcount: No such file or directory 它出什么问题了? PS:/ home / mynfs / linux /是我的源代码树所在的目录. [root@localhost yiran]# make CONFIG_NFS_ACL_SUPPORT
|
当我尝试创建 Linux的内核模块时,会出现以下错误消息: /home/mynfs/linux/scripts/recordmcount: No such file or directory 它出什么问题了? PS:/ home / mynfs / linux /是我的源代码树所在的目录. [root@localhost yiran]# make CONFIG_NFS_ACL_SUPPORT=m -C /home/mynfs/linux M=/home/mynfs/linux/fs/nfs_common modules
make: Entering directory `/home/mynfs/linux'
WARNING: Symbol version dump /home/mynfs/linux/Module.symvers
is missing; modules will have no dependencies and modversions.
CC [M] /home/mynfs/linux/fs/nfs_common/nfsacl.o
**/bin/sh: /home/mynfs/linux/scripts/recordmcount: No such file or directory**
make[1]: * [/home/mynfs/linux/fs/nfs_common/nfsacl.o] Error 1
make: * [_module_/home/mynfs/linux/fs/nfs_common] Error 2
make: Leaving directory `/home/mynfs/linux'
[root@localhost yiran]# ls /home/mynfs/linux/scripts | grep recordmcount recordmcount.c recordmcount.h recordmcount.pl 解决方法我有同样的问题,只是让recordmcount部分地解决了它.还缺少其他脚本/ *模块.以下命令构建了我缺少的所有模块: cd $(sysroot)/usr/src/linux (in your case it should be /home/mynfs/linux) make scripts 然后构建了所有脚本模块,编译内核模块时没有进一步的问题. (编辑:日照站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- LINUX实战:Linux exec和source的简单区别
- Sed - An Introduction and Tutorial by Bruce Barnett
- 使用来自Line IN的ALSA录制声音
- linux – 意外缩小的窗口
- linux-kernel – 有人可以帮我替换块设备驱动程序上的“loc
- linux-kernel – 编译Linux内核错误xt_CONNMARK.h
- linux – 如何使SSH命令执行超时
- linux – iwlist()命令如何扫描无线网络?
- 确定两个文件路径是否指向Linux/C下的同一文件?
- linux – 读取/ dev / block / mmcblk0和/ dev / block / m
