Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed error: ‘struct inode’ has no member named ‘i_mutex’ #129

Open
lianghongle opened this issue Mar 21, 2019 · 0 comments
Open

Comments

@lianghongle
Copy link

version
VMwareTools 10.2.5-8068393
os centos7
header 5.0.3-1.el7.elrepo.x86_64
Using kernel build system.
make: Entering directory `/tmp/modconfig-vQUDB2/vmhgfs-only'
/bin/make -C /lib/modules/5.0.3-1.el7.elrepo.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/kernels/5.0.3-1.el7.elrepo.x86_64'
Makefile:189: ================= WARNING ================
Makefile:190: 'SUBDIRS' will be removed after Linux 5.3
Makefile:191: Please use 'M=' or 'KBUILD_EXTMOD' instead
Makefile:192: ==========================================
  CC [M]  /tmp/modconfig-vQUDB2/vmhgfs-only/message.o
  CC [M]  /tmp/modconfig-vQUDB2/vmhgfs-only/dir.o
/tmp/modconfig-vQUDB2/vmhgfs-only/dir.c: In function ‘HgfsDirLlseek’:
/tmp/modconfig-vQUDB2/vmhgfs-only/dir.c:717:16: error: ‘struct inode’ has no member named ‘i_mutex’
    mtx = &inode->i_mutex;
                ^
make[2]: *** [/tmp/modconfig-vQUDB2/vmhgfs-only/dir.o] Error 1
make[1]: *** [_module_/tmp/modconfig-vQUDB2/vmhgfs-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/5.0.3-1.el7.elrepo.x86_64'
make: *** [vmhgfs.ko] Error 2
make: Leaving directory `/tmp/modconfig-vQUDB2/vmhgfs-only'
@lianghongle lianghongle changed the title failed failed error: ‘struct inode’ has no member named ‘i_mutex’ Mar 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant