0

I'm having issue with compiling UVFS on Linux server (Red Hat Enterprise Linux Server release 6.5 (Santiago) ) When i'm going to compile it's getting below error

system info: 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:

As we suspect it was compilation issue. implicit declaration of function kfree and decrement of read-only member i_nlink issue

could you please help any infomation welcome .

user1190910
  • 73
  • 1
  • 4
  • Did you try to resolve errors by yourself? Using `kfree` requires including ``. The second error means that code attempts to decrement `const` field of the structure. – Tsyvarev Dec 11 '15 at 14:19
  • Hi Thanks for the comment i never touch Linux kernel file ,you mean we have to include or modify slab.h file ? (/usr/src/kernels/3.8.13-35.el6uek.x86_64/include/linux/ slab.h) – user1190910 Dec 11 '15 at 14:22

0 Answers0