小编yir*_*ran的帖子

linux/scripts/recordmcount:没有这样的文件或目录

当我尝试makeLinux的内核模块时,会出现以下错误消息:

/home/mynfs/linux/scripts/recordmcount: No such file or directory
Run Code Online (Sandbox Code Playgroud)

它出什么问题了?

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'
Run Code Online (Sandbox Code Playgroud)
[root@localhost yiran]# ls /home/mynfs/linux/scripts | grep recordmcount

recordmcount.c

recordmcount.h

recordmcount.pl
Run Code Online (Sandbox Code Playgroud)

makefile linux-kernel

9
推荐指数
2
解决办法
9953
查看次数

标签 统计

linux-kernel ×1

makefile ×1