Skip to content

Compile error! can not enable shared folders... Centos 7 kernel/2.10.0-514.2.2.el7.x86_64 with VMware Fusion version 8.5.3 #114

@ilaudy

Description

@ilaudy

Quoting error:
""""
make: Entering directory /tmp/modconfig-N7GfMB/vmhgfs-only' /bin/make -C /lib/modules/3.10.0-514.2.2.el7.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \ MODULEBUILDDIR= modules make[1]: Entering directory /usr/src/kernels/3.10.0-514.2.2.el7.x86_64'
CC [M] /tmp/modconfig-N7GfMB/vmhgfs-only/message.o
CC [M] /tmp/modconfig-N7GfMB/vmhgfs-only/dir.o
CC [M] /tmp/modconfig-N7GfMB/vmhgfs-only/rpcout.o
CC [M] /tmp/modconfig-N7GfMB/vmhgfs-only/cpName.o
CC [M] /tmp/modconfig-N7GfMB/vmhgfs-only/filesystem.o
CC [M] /tmp/modconfig-N7GfMB/vmhgfs-only/request.o
CC [M] /tmp/modconfig-N7GfMB/vmhgfs-only/stubs.o
CC [M] /tmp/modconfig-N7GfMB/vmhgfs-only/hgfsUtil.o
CC [M] /tmp/modconfig-N7GfMB/vmhgfs-only/link.o
CC [M] /tmp/modconfig-N7GfMB/vmhgfs-only/bdhandler.o
CC [M] /tmp/modconfig-N7GfMB/vmhgfs-only/transport.o
CC [M] /tmp/modconfig-N7GfMB/vmhgfs-only/module.o
CC [M] /tmp/modconfig-N7GfMB/vmhgfs-only/super.o
CC [M] /tmp/modconfig-N7GfMB/vmhgfs-only/fsutil.o
CC [M] /tmp/modconfig-N7GfMB/vmhgfs-only/cpNameLinux.o
CC [M] /tmp/modconfig-N7GfMB/vmhgfs-only/file.o
CC [M] /tmp/modconfig-N7GfMB/vmhgfs-only/hgfsBd.o
CC [M] /tmp/modconfig-N7GfMB/vmhgfs-only/page.o
CC [M] /tmp/modconfig-N7GfMB/vmhgfs-only/backdoorGcc64.o
/tmp/modconfig-N7GfMB/vmhgfs-only/backdoorGcc64.o: warning: objtool: BackdoorHbIn()+0xd: duplicate frame pointer save
/tmp/modconfig-N7GfMB/vmhgfs-only/backdoorGcc64.o: warning: objtool: BackdoorHbOut()+0xd: duplicate frame pointer save
CC [M] /tmp/modconfig-N7GfMB/vmhgfs-only/backdoor.o
CC [M] /tmp/modconfig-N7GfMB/vmhgfs-only/hgfsEscape.o
CC [M] /tmp/modconfig-N7GfMB/vmhgfs-only/inode.o
/tmp/modconfig-N7GfMB/vmhgfs-only/page.c: In function ‘HgfsWbRequestWait’:
/tmp/modconfig-N7GfMB/vmhgfs-only/page.c:1649:23: warning: passing argument 3 of ‘wait_on_bit’ makes integer from pointer without a cast [enabled by default]
TASK_UNINTERRUPTIBLE);
^
In file included from include/linux/mmzone.h:9:0,
from include/linux/gfp.h:5,
from include/linux/mm.h:9,
from include/linux/pagemap.h:7,
from /tmp/modconfig-N7GfMB/vmhgfs-only/page.c:28:
include/linux/wait.h:1044:1: note: expected ‘unsigned int’ but argument is of type ‘int (*)(void *)’
wait_on_bit(void *word, int bit, unsigned mode)
^
/tmp/modconfig-N7GfMB/vmhgfs-only/page.c:1649:23: error: too many arguments to function ‘wait_on_bit’
TASK_UNINTERRUPTIBLE);
^
In file included from include/linux/mmzone.h:9:0,
from include/linux/gfp.h:5,
from include/linux/mm.h:9,
from include/linux/pagemap.h:7,
from /tmp/modconfig-N7GfMB/vmhgfs-only/page.c:28:
include/linux/wait.h:1044:1: note: declared here
wait_on_bit(void *word, int bit, unsigned mode)
^
make[2]: *** [/tmp/modconfig-N7GfMB/vmhgfs-only/page.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [module/tmp/modconfig-N7GfMB/vmhgfs-only] Error 2
make[1]: Leaving directory /usr/src/kernels/3.10.0-514.2.2.el7.x86_64' make: *** [vmhgfs.ko] Error 2 make: Leaving directory /tmp/modconfig-N7GfMB/vmhgfs-only'

The filesystem driver (vmhgfs module) is used only for the shared folder
feature. The rest of the software provided by VMware Tools is designed to work
independently of this feature.

If you wish to have the shared folders feature, you can install the driver by
running vmware-config-tools.pl again after making sure that gcc, binutils, make
and the kernel sources for your running kernel are installed on your machine.
These packages are available on your distribution's installation CD.
[ Press Enter key to continue ]
""""

Any help or suggest is grateful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions