3 Replies Latest reply on Dec 28, 2016 3:56 PM by santee90

    VMWare tools fails to Compile on Centos 7.3 (1611)

    Dan2112 Lurker

      Upgraded to CentOS 7.3 today and hit a compilation issue w/ VMWare Tools from Fusion v8.5.3

       

      Searching for a valid kernel header path...

      Detected the kernel headers at

      "/lib/modules/3.10.0-514.2.2.el7.x86_64/build/include".

      The path "/lib/modules/3.10.0-514.2.2.el7.x86_64/build/include" appears to be a

      valid path to the 3.10.0-514.2.2.el7.x86_64 kernel headers.

      Would you like to change it? [no]

       

       

      Using kernel build system.

      make: Entering directory `/tmp/modconfig-36luPI/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-36luPI/vmhgfs-only/message.o

        CC [M]  /tmp/modconfig-36luPI/vmhgfs-only/dir.o

        CC [M]  /tmp/modconfig-36luPI/vmhgfs-only/rpcout.o

        CC [M]  /tmp/modconfig-36luPI/vmhgfs-only/filesystem.o

        CC [M]  /tmp/modconfig-36luPI/vmhgfs-only/cpName.o

        CC [M]  /tmp/modconfig-36luPI/vmhgfs-only/link.o

        CC [M]  /tmp/modconfig-36luPI/vmhgfs-only/request.o

        CC [M]  /tmp/modconfig-36luPI/vmhgfs-only/hgfsUtil.o

        CC [M]  /tmp/modconfig-36luPI/vmhgfs-only/file.o

        CC [M]  /tmp/modconfig-36luPI/vmhgfs-only/bdhandler.o

        CC [M]  /tmp/modconfig-36luPI/vmhgfs-only/transport.o

        CC [M]  /tmp/modconfig-36luPI/vmhgfs-only/module.o

        CC [M]  /tmp/modconfig-36luPI/vmhgfs-only/super.o

        CC [M]  /tmp/modconfig-36luPI/vmhgfs-only/stubs.o

        CC [M]  /tmp/modconfig-36luPI/vmhgfs-only/fsutil.o

        CC [M]  /tmp/modconfig-36luPI/vmhgfs-only/cpNameLinux.o

        CC [M]  /tmp/modconfig-36luPI/vmhgfs-only/hgfsBd.o

        CC [M]  /tmp/modconfig-36luPI/vmhgfs-only/backdoorGcc64.o

      /tmp/modconfig-36luPI/vmhgfs-only/backdoorGcc64.o: warning: objtool: BackdoorHbIn()+0xd: duplicate frame pointer save

      /tmp/modconfig-36luPI/vmhgfs-only/backdoorGcc64.o: warning: objtool: BackdoorHbOut()+0xd: duplicate frame pointer save

        CC [M]  /tmp/modconfig-36luPI/vmhgfs-only/page.o

      /tmp/modconfig-36luPI/vmhgfs-only/page.c: In function ‘HgfsWbRequestWait’:

      /tmp/modconfig-36luPI/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-36luPI/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-36luPI/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-36luPI/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-36luPI/vmhgfs-only/page.o] Error 1

      make[1]: *** [_module_/tmp/modconfig-36luPI/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-36luPI/vmhgfs-only'