Quantcast
Channel: VMware Communities : Unanswered Discussions - Workstation Player
Viewing all articles
Browse latest Browse all 2882

Ubuntu 15.04 guest shared folders feature not working

$
0
0

I've attempted to use the tools from the player, use the open-vm-tools package. I even tried compiling open-vm-tools from source and I could fix some compilation errors but it got too complicated. After spending half a day on it, I gave up.

Running the vmware-config-tools.pl script gives errors.

Some of the output of running the script is below.

 

 

The VMware Host-Guest Filesystem allows for shared folders between the host OS

and the guest OS in a Fusion or Workstation virtual environment.  Do you wish

to enable this feature? [yes]

 

 

 

 

Before you can compile modules, you need to have the following installed...

 

 

make

gcc

kernel headers of the running kernel

 

 

 

 

Searching for GCC...

Detected GCC binary at "/usr/bin/gcc".

The path "/usr/bin/gcc" appears to be a valid path to the gcc binary.

Would you like to change it? [no]

 

 

Searching for a valid kernel header path...

Detected the kernel headers at "/lib/modules/3.19.0-15-generic/build/include".

The path "/lib/modules/3.19.0-15-generic/build/include" appears to be a valid

path to the 3.19.0-15-generic kernel headers.

Would you like to change it? [no]

 

 

make: Entering directory '/tmp/modconfig-qFEK5D/vmhgfs-only'

Using 2.6.x kernel build system.

/usr/bin/make -C /lib/modules/3.19.0-15-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \

  MODULEBUILDDIR= modules

make[1]: Entering directory '/usr/src/linux-headers-3.19.0-15-generic'

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

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

In file included from /tmp/modconfig-qFEK5D/vmhgfs-only/./shared/vmware.h:39:0,

                 from /tmp/modconfig-qFEK5D/vmhgfs-only/rpcout.c:43:

/tmp/modconfig-qFEK5D/vmhgfs-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined

    #define DEPRECATED(_fix) do {} while (0)

^

In file included from include/linux/kernel.h:13:0,

                 from /tmp/modconfig-qFEK5D/vmhgfs-only/./shared/kernelStubs.h:36,

                 from /tmp/modconfig-qFEK5D/vmhgfs-only/rpcout.c:33:

include/linux/printk.h:103:0: note: this is the location of the previous definition

#define DEPRECATED "[Deprecated]: "

^

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

In file included from /tmp/modconfig-qFEK5D/vmhgfs-only/hgfs.h:40:0,

                 from /tmp/modconfig-qFEK5D/vmhgfs-only/hgfsUtil.h:55,

                 from /tmp/modconfig-qFEK5D/vmhgfs-only/hgfsUtil.c:33:

/tmp/modconfig-qFEK5D/vmhgfs-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined

    #define DEPRECATED(_fix) do {} while (0)

^

In file included from include/linux/kernel.h:13:0,

                 from include/linux/list.h:8,

                 from include/linux/preempt.h:10,

                 from include/linux/spinlock.h:50,

                 from include/linux/seqlock.h:35,

                 from include/linux/time.h:5,

                 from /tmp/modconfig-qFEK5D/vmhgfs-only/hgfsUtil.h:32,

                 from /tmp/modconfig-qFEK5D/vmhgfs-only/hgfsUtil.c:33:

include/linux/printk.h:103:0: note: this is the location of the previous definition

#define DEPRECATED "[Deprecated]: "

^

In file included from /tmp/modconfig-qFEK5D/vmhgfs-only/hgfs.h:40:0,

                 from /tmp/modconfig-qFEK5D/vmhgfs-only/hgfsProto.h:37,

                 from /tmp/modconfig-qFEK5D/vmhgfs-only/dir.c:37:

/tmp/modconfig-qFEK5D/vmhgfs-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined

    #define DEPRECATED(_fix) do {} while (0)

^

In file included from include/linux/kernel.h:13:0,

                 from include/linux/list.h:8,

                 from include/linux/module.h:9,

                 from /tmp/modconfig-qFEK5D/vmhgfs-only/dir.c:29:

include/linux/printk.h:103:0: note: this is the location of the previous definition

#define DEPRECATED "[Deprecated]: "

^

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

  CC [M]  /tmp/modconfig-qFEK5D/vmhgfs-only/message.o

/tmp/modconfig-qFEK5D/vmhgfs-only/dir.c: In function ‘HgfsPackDirOpenRequest’:

/tmp/modconfig-qFEK5D/vmhgfs-only/dir.c:417:26: error: ‘struct file’ has no member named ‘f_dentry’

                      file->f_dentry) < 0) {

                          ^

/tmp/modconfig-qFEK5D/vmhgfs-only/dir.c: In function ‘HgfsDirLlseek’:

/tmp/modconfig-qFEK5D/vmhgfs-only/dir.c:707:32: error: ‘struct file’ has no member named ‘f_dentry’

    struct dentry *dentry = file->f_dentry;

                                ^

In file included from /tmp/modconfig-qFEK5D/vmhgfs-only/dir.c:39:0:

/tmp/modconfig-qFEK5D/vmhgfs-only/dir.c: In function ‘HgfsReaddirNextEntry’:

/tmp/modconfig-qFEK5D/vmhgfs-only/dir.c:993:31: error: ‘struct file’ has no member named ‘f_dentry’

    si = HGFS_SB_TO_COMMON(file->f_dentry->d_inode->i_sb);

                               ^

/tmp/modconfig-qFEK5D/vmhgfs-only/module.h:78:62: note: in definition of macro ‘HGFS_SB_TO_COMMON’

#define HGFS_SB_TO_COMMON(sb)             ((HgfsSuperInfo *)(sb)->s_fs_info)

                                                              ^

/tmp/modconfig-qFEK5D/vmhgfs-only/dir.c:1082:26: error: ‘struct file’ has no member named ‘f_dentry’

          *entryIno = file->f_dentry->d_inode->i_ino;

                          ^

In file included from /tmp/modconfig-qFEK5D/vmhgfs-only/dir.c:30:0:

/tmp/modconfig-qFEK5D/vmhgfs-only/dir.c:1088:44: error: ‘struct file’ has no member named ‘f_dentry’

          *entryIno = compat_parent_ino(file->f_dentry);

                                            ^

/tmp/modconfig-qFEK5D/vmhgfs-only/./shared/compat_fs.h:120:46: note: in definition of macro ‘compat_parent_ino’

#define compat_parent_ino(dentry) parent_ino(dentry)

                                              ^

/tmp/modconfig-qFEK5D/vmhgfs-only/dir.c:1093:52: error: ‘struct file’ has no member named ‘f_dentry’

      *entryIno = HgfsGetFileInode(&entryAttrs, file->f_dentry->d_inode->i_sb);

                                                    ^

/tmp/modconfig-qFEK5D/vmhgfs-only/dir.c: In function ‘HgfsDoReaddir’:

/tmp/modconfig-qFEK5D/vmhgfs-only/dir.c:1172:13: error: ‘struct file’ has no member named ‘f_dentry’

       !(file->f_dentry) ||

             ^

/tmp/modconfig-qFEK5D/vmhgfs-only/dir.c:1173:13: error: ‘struct file’ has no member named ‘f_dentry’

       !(file->f_dentry->d_inode)) {

             ^

scripts/Makefile.build:257: recipe for target '/tmp/modconfig-qFEK5D/vmhgfs-only/dir.o' failed

make[2]: *** [/tmp/modconfig-qFEK5D/vmhgfs-only/dir.o] Error 1

make[2]: *** Waiting for unfinished jobs....

In file included from /tmp/modconfig-qFEK5D/vmhgfs-only/backdoor.h:30:0,

                 from /tmp/modconfig-qFEK5D/vmhgfs-only/message.c:54:

/tmp/modconfig-qFEK5D/vmhgfs-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined

    #define DEPRECATED(_fix) do {} while (0)

^

In file included from include/linux/kernel.h:13:0,

                 from /tmp/modconfig-qFEK5D/vmhgfs-only/./shared/kernelStubs.h:36,

                 from /tmp/modconfig-qFEK5D/vmhgfs-only/message.c:45:

include/linux/printk.h:103:0: note: this is the location of the previous definition

#define DEPRECATED "[Deprecated]: "

^

Makefile:1394: recipe for target '_module_/tmp/modconfig-qFEK5D/vmhgfs-only' failed

make[1]: *** [_module_/tmp/modconfig-qFEK5D/vmhgfs-only] Error 2

make[1]: Leaving directory '/usr/src/linux-headers-3.19.0-15-generic'

Makefile:130: recipe for target 'vmhgfs.ko' failed

make: *** [vmhgfs.ko] Error 2

make: Leaving directory '/tmp/modconfig-qFEK5D/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 ]


Viewing all articles
Browse latest Browse all 2882

Trending Articles