Ubuntu 14.10 MATE in VMWare - Can't set up shared folders
Paul B
witchbutter at gmail.com
Mon Sep 22 15:46:18 UTC 2014
14.10 is a beta, I wouldn't be surprised if you just have to wait for
vmware to catch up. This is usually because your kernel is too new, and
will affect all the latest distros on 3.16 kernel. Looks like there is a
bug you could try following in github:
https://github.com/rasa/vmware-tools-patches/issues/11
On Mon, Sep 22, 2014 at 4:18 AM, Graham Watkins <shellycat.gw at ntlworld.com>
wrote:
> Morning all,
>
> I'm running Ubuntu-Mate 14.10 in VMware and something I don't understand
> happens when I install vmware-tools which leaves me without shared folders.
> So far as I can see, I have gcc, make, binutils and linux-headers installed
> but it still can't seem to compile the relevant module.
>
> The relevant output is below. Beware, it's a bit of an eyeful.
>
> Does anybody know if this is something I can fix or is it a bug that I'll
> just have to put up with until a subsequent release?
>
> Cheers,
>
> Graham
>
> OUTPUT
>
> 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.16.0-16-
> generic/build/include".
> The path "/lib/modules/3.16.0-16-generic/build/include" appears to be a
> valid
> path to the 3.16.0-16-generic kernel headers.
> Would you like to change it? [no]
>
> make: Entering directory '/tmp/modconfig-JorklD/vmhgfs-only'
> Using 2.6.x kernel build system.
> /usr/bin/make -C /lib/modules/3.16.0-16-generic/build/include/..
> SUBDIRS=$PWD SRCROOT=$PWD/. \
> MODULEBUILDDIR= modules
> make[1]: Entering directory '/usr/src/linux-headers-3.16.0-16-generic'
> CC [M] /tmp/modconfig-JorklD/vmhgfs-only/message.o
> In file included from /tmp/modconfig-JorklD/vmhgfs-only/backdoor.h:30:0,
> from /tmp/modconfig-JorklD/vmhgfs-only/message.c:54:
> /tmp/modconfig-JorklD/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-JorklD/vmhgfs-
> only/./shared/kernelStubs.h:36,
> from /tmp/modconfig-JorklD/vmhgfs-only/message.c:45:
> include/linux/printk.h:106:0: note: this is the location of the previous
> definition
> #define DEPRECATED "[Deprecated]: "
> ^
> CC [M] /tmp/modconfig-JorklD/vmhgfs-only/dir.o
> In file included from /tmp/modconfig-JorklD/vmhgfs-only/hgfs.h:40:0,
> from /tmp/modconfig-JorklD/vmhgfs-only/hgfsProto.h:37,
> from /tmp/modconfig-JorklD/vmhgfs-only/dir.c:37:
> /tmp/modconfig-JorklD/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 ./arch/x86/include/asm/percpu.h:44,
> from ./arch/x86/include/asm/preempt.h:5,
> from include/linux/preempt.h:18,
> from include/linux/spinlock.h:50,
> from include/linux/seqlock.h:35,
> from include/linux/time.h:5,
> from include/linux/stat.h:18,
> from include/linux/module.h:10,
> from /tmp/modconfig-JorklD/vmhgfs-only/dir.c:29:
> include/linux/printk.h:106:0: note: this is the location of the previous
> definition
> #define DEPRECATED "[Deprecated]: "
> ^
> CC [M] /tmp/modconfig-JorklD/vmhgfs-only/rpcout.o
> In file included from /tmp/modconfig-JorklD/vmhgfs-
> only/./shared/vmware.h:39:0,
> from /tmp/modconfig-JorklD/vmhgfs-only/rpcout.c:43:
> /tmp/modconfig-JorklD/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-JorklD/vmhgfs-
> only/./shared/kernelStubs.h:36,
> from /tmp/modconfig-JorklD/vmhgfs-only/rpcout.c:33:
> include/linux/printk.h:106:0: note: this is the location of the previous
> definition
> #define DEPRECATED "[Deprecated]: "
> ^
> CC [M] /tmp/modconfig-JorklD/vmhgfs-only/hgfsUtil.o
> In file included from /tmp/modconfig-JorklD/vmhgfs-only/hgfs.h:40:0,
> from /tmp/modconfig-JorklD/vmhgfs-only/hgfsUtil.h:55,
> from /tmp/modconfig-JorklD/vmhgfs-only/hgfsUtil.c:33:
> /tmp/modconfig-JorklD/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 ./arch/x86/include/asm/percpu.h:44,
> from ./arch/x86/include/asm/preempt.h:5,
> from include/linux/preempt.h:18,
> from include/linux/spinlock.h:50,
> from include/linux/seqlock.h:35,
> from include/linux/time.h:5,
> from /tmp/modconfig-JorklD/vmhgfs-only/hgfsUtil.h:32,
> from /tmp/modconfig-JorklD/vmhgfs-only/hgfsUtil.c:33:
> include/linux/printk.h:106:0: note: this is the location of the previous
> definition
> #define DEPRECATED "[Deprecated]: "
> ^
> CC [M] /tmp/modconfig-JorklD/vmhgfs-only/cpName.o
> CC [M] /tmp/modconfig-JorklD/vmhgfs-only/request.o
> In file included from /tmp/modconfig-JorklD/vmhgfs-only/hgfs.h:40:0,
> from /tmp/modconfig-JorklD/vmhgfs-only/hgfsProto.h:37,
> from /tmp/modconfig-JorklD/vmhgfs-only/module.h:39,
> from /tmp/modconfig-JorklD/vmhgfs-only/request.c:38:
> /tmp/modconfig-JorklD/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 ./arch/x86/include/asm/percpu.h:44,
> from ./arch/x86/include/asm/current.h:5,
> from ./arch/x86/include/asm/processor.h:15,
> from ./arch/x86/include/asm/atomic.h:6,
> from /tmp/modconfig-JorklD/vmhgfs-only/request.c:29:
> include/linux/printk.h:106:0: note: this is the location of the previous
> definition
> #define DEPRECATED "[Deprecated]: "
> ^
> CC [M] /tmp/modconfig-JorklD/vmhgfs-only/stubs.o
> In file included from /tmp/modconfig-JorklD/vmhgfs-only/hgfs.h:40:0,
> from /tmp/modconfig-JorklD/vmhgfs-only/hgfsProto.h:37,
> from /tmp/modconfig-JorklD/vmhgfs-only/module.h:39,
> from /tmp/modconfig-JorklD/vmhgfs-only/stubs.c:29:
> /tmp/modconfig-JorklD/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-JorklD/vmhgfs-
> only/./shared/kernelStubs.h:36,
> from /tmp/modconfig-JorklD/vmhgfs-only/stubs.c:28:
> include/linux/printk.h:106:0: note: this is the location of the previous
> definition
> #define DEPRECATED "[Deprecated]: "
> ^
> CC [M] /tmp/modconfig-JorklD/vmhgfs-only/hgfsEscape.o
> CC [M] /tmp/modconfig-JorklD/vmhgfs-only/link.o
> In file included from /tmp/modconfig-JorklD/vmhgfs-only/hgfs.h:40:0,
> from /tmp/modconfig-JorklD/vmhgfs-only/hgfsProto.h:37,
> from /tmp/modconfig-JorklD/vmhgfs-only/module.h:39,
> from /tmp/modconfig-JorklD/vmhgfs-only/link.c:32:
> /tmp/modconfig-JorklD/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 ./arch/x86/include/asm/percpu.h:44,
> from ./arch/x86/include/asm/preempt.h:5,
> from include/linux/preempt.h:18,
> from include/linux/spinlock.h:50,
> from include/linux/wait.h:8,
> from include/linux/fs.h:6,
> from /tmp/modconfig-JorklD/vmhgfs-
> only/./shared/compat_fs.h:22,
> from /tmp/modconfig-JorklD/vmhgfs-only/link.c:29:
> include/linux/printk.h:106:0: note: this is the location of the previous
> definition
> #define DEPRECATED "[Deprecated]: "
> ^
> /tmp/modconfig-JorklD/vmhgfs-only/link.c: In function ‘HgfsReadlink’:
> /tmp/modconfig-JorklD/vmhgfs-only/link.c:186:10: error: implicit
> declaration of function ‘vfs_readlink’ [-Werror=implicit-function-
> declaration]
> error = vfs_readlink(dentry, buffer, buflen, fileName);
> ^
> cc1: some warnings being treated as errors
> scripts/Makefile.build:257: recipe for target
> '/tmp/modconfig-JorklD/vmhgfs-only/link.o' failed
> make[2]: *** [/tmp/modconfig-JorklD/vmhgfs-only/link.o] Error 1
> Makefile:1345: recipe for target '_module_/tmp/modconfig-JorklD/vmhgfs-only'
> failed
> make[1]: *** [_module_/tmp/modconfig-JorklD/vmhgfs-only] Error 2
> make[1]: Leaving directory '/usr/src/linux-headers-3.16.0-16-generic'
> Makefile:130: recipe for target 'vmhgfs.ko' failed
> make: *** [vmhgfs.ko] Error 2
> make: Leaving directory '/tmp/modconfig-JorklD/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 ]
>
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20140922/8cd7e3c8/attachment.html>
More information about the ubuntu-users
mailing list