我在 Linux 服务器(Red Hat Enterprise Linux Server release 6.5 (Santiago))上编译 UVFS 时遇到问题,当我要编译它时出现错误
系统信息:uvfs 2.0.7
[root@blp033556 uvfs_2.0.7]# gmake
gmake -C /lib/modules/3.8.13-35.el6uek.x86_64/build SUBDIRS=/iwinstall/uvfs_2.0.7 modules
gmake[1]: Entering directory `/usr/src/kernels/3.8.13-35.el6uek.x86_64'
CC [M] /iwinstall/uvfs_2.0.7/dir.o
/iwinstall/uvfs_2.0.7/dir.c: In function uvfs_create:
/iwinstall/uvfs_2.0.7/dir.c:87: error: implicit declaration of function kfree
/iwinstall/uvfs_2.0.7/dir.c: In function uvfs_unlink:
/iwinstall/uvfs_2.0.7/dir.c:221: error: decrement of read-only member i_nlink
/iwinstall/uvfs_2.0.7/dir.c: In function uvfs_mkdir:
我们怀疑这是编译问题。函数 kfree 的隐式声明和只读成员 i_nlink 的递减问题
你能帮助任何信息欢迎。