rasa / vmware-tools-patches

Patch and build VMware tools automatically
https://github.com/rasa/vmware-tools-patches/wiki
MIT License
1.19k stars 198 forks source link

Unable to install HGFS on Ubuntu 14.10 #14

Closed brushmate closed 9 years ago

brushmate commented 9 years ago

I tried to install VMware Tools using your patches, because I was not able to install them unmodified. However I am not able to install them with the patches applied as well.

I am using VMware Player 5.0.4 which gives me VMwareTools-9.2.4-1398046.tar.gz. I tried to install them on a fresh Ubuntu 14.10 installation. uname -r gives me 3.16.0-23-generic.

I ran untar-and-patch-and-compile.sh on the VMware Tools and got following output:

=== Patching ./VMwareTools-9.2.4-1398046.tar.gz ...

Uninstalling the tar installation of VMware Tools.

Stopping services for VMware Tools

Stopping VMware Tools services in the virtual machine:
   Guest operating system daemon: [71G done
   VMware User Agent (vmware-user): [71G done
   Blocking file system: [71G done
   Unmounting HGFS shares: [71G done
   Guest filesystem driver: [71G done

Stopping Thinprint services in the virtual machine:
   Stopping Virtual Printing daemon: [71G done

File /usr/lib/vmware-tools/lib64/libconf/etc/pango/pango.modules is backed up 
to /usr/lib/vmware-tools/lib64/libconf/etc/pango/pango.modules.old.2.

File /etc/vmware-tools/vmware-user.desktop is backed up to 
/etc/vmware-tools/vmware-user.desktop.old.4.

This program previously created the file 
/usr/lib/vmware-tools/lib64/libconf/etc/pango/pangorc, and was about to remove 
it.  Somebody else apparently did it already.

File /usr/lib/vmware-tools/lib64/libconf/etc/fonts/fonts.conf is backed up to 
/usr/lib/vmware-tools/lib64/libconf/etc/fonts/fonts.conf.old.3.

This program previously created the file 
/usr/lib/vmware-tools/libconf/etc/pango/pango.modules, and was about to remove 
it.  Somebody else apparently did it already.

File /usr/lib/vmware-tools/lib64/libconf/etc/gtk-2.0/gdk-pixbuf.loaders is 
backed up to 
/usr/lib/vmware-tools/lib64/libconf/etc/gtk-2.0/gdk-pixbuf.loaders.old.0.

This program previously created the file 
/usr/lib/vmware-tools/lib64/libconf/etc/pango/pangox.aliases, and was about to 
remove it.  Somebody else apparently did it already.

File /usr/lib/vmware-tools/lib64/libconf/etc/gtk-2.0/gtk.immodules is backed up
to /usr/lib/vmware-tools/lib64/libconf/etc/gtk-2.0/gtk.immodules.old.1.

This program previously created the file 
/usr/lib/vmware-tools/libconf/etc/gtk-2.0/gdk-pixbuf.loaders, and was about to 
remove it.  Somebody else apparently did it already.

This program previously created the file 
/usr/lib/vmware-tools/libconf/etc/gtk-2.0/gtk.immodules, and was about to 
remove it.  Somebody else apparently did it already.

This program previously created the directory /etc/vmware-tools, and was about 
to remove it. Since there are files in that directory that this program did not
create, it will not be removed.

File /etc/pulse/default.pa is backed up to /etc/pulse/default.pa.old.3.

update-initramfs: Generating /boot/initrd.img-3.16.0-25-generic
update-initramfs: Generating /boot/initrd.img-3.16.0-23-generic
The removal of VMware Tools 9.2.4 build-1398046 for Linux completed 
successfully.  Thank you for having tried this software.

Paketlisten werden gelesen...
Abhängigkeitsbaum wird aufgebaut....
Statusinformationen werden eingelesen....
build-essential ist schon die neueste Version.
dkms ist schon die neueste Version.
linux-headers-3.16.0-23-generic ist schon die neueste Version.
patch ist schon die neueste Version.
psmisc ist schon die neueste Version.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 38 nicht aktualisiert.
--- Applying vsock/vsock-sk_data_ready-kernel-3.15-tools-9.6.2.patch ...

patching file linux/notify.c
patching file linux/notifyQState.c

--- Applying vmblock/vmblock.3.11.patch ...

patching file linux/file.c

--- Applying vmblock/vmblock-vfs_readlink-kernel-3.15-tools-9.6.2.patch ...

patching file linux/inode.c
Hunk #1 succeeded at 177 (offset -1 lines).

--- Applying vmblock/vmblock.3.10.patch ...

patching file linux/control.c

--- Applying vmhgfs/patch_inode.c.patch ...

patching file inode.c
Hunk #1 FAILED at 1798.
Hunk #2 FAILED at 1818.
2 out of 2 hunks FAILED -- saving rejects to file inode.c.rej

--- Applying vmhgfs/vmhgfs-vfs_readlink-kernel-3.16-tools-9.6.2.patch ...

patching file file.c
Hunk #1 succeeded at 129 (offset -27 lines).
Hunk #2 succeeded at 862 (offset -69 lines).
Hunk #3 succeeded at 917 (offset -69 lines).
patching file link.c
patching file shared/compat_fs.h

--- Applying vmhgfs/vmhgfs-d_count-kernel-3.11-tools-9.6.0.patch ...

patching file inode.c
Hunk #1 succeeded at 31 with fuzz 1.
Hunk #2 FAILED at 1893.
Hunk #3 FAILED at 1946.
2 out of 3 hunks FAILED -- saving rejects to file inode.c.rej

--- Applying vmhgfs/vmware9.compat_mm.patch ...

patching file shared/compat_mm.h

--- Applying vmhgfs/vmhgfs-wait_on_bit-kernel-3.17-tools-9.6.2.patch ...

patching file page.c
Hunk #1 FAILED at 1391.
1 out of 1 hunk FAILED -- saving rejects to file page.c.rej

--- Applying vmhgfs/compat_dcache.h.patch ...

patching file shared/compat_dcache.h

--- Applying vmhgfs/vmhgfs-uid-gid-kernel-3.12-tools-9.6.1.patch ...

patching file file.c
Hunk #1 succeeded at 659 (offset -23 lines).
patching file filesystem.c
patching file fsutil.c
Hunk #3 succeeded at 1662 (offset 1 line).
Hunk #4 succeeded at 1670 (offset 1 line).
patching file inode.c
patching file shared/compat_cred.h

--- Applying vmci/vmware9.k3.8rc4.patch ...

patching file linux/driver.c
Hunk #1 FAILED at 124.
Hunk #2 FAILED at 1750.
Hunk #3 FAILED at 1978.
3 out of 3 hunks FAILED -- saving rejects to file linux/driver.c.rej

Creating a new VMware Tools installer database using the tar4 format.

Installing VMware Tools.

In which directory do you want to install the binary files? 
[/usr/bin] 

What is the directory that contains the init directories (rc0.d/ to rc6.d/)? 
[/etc] 

What is the directory that contains the init scripts? 
[/etc/init.d] 

In which directory do you want to install the daemon files? 
[/usr/sbin] 

In which directory do you want to install the library files? 
[/usr/lib/vmware-tools] 

In which directory do you want to install the documentation files? 
[/usr/share/doc/vmware-tools] 

The path "/usr/share/doc/vmware-tools" does not exist currently. This program 
is going to create it, including needed parent directories. Is this what you 
want? [yes] 

The installation of VMware Tools 9.2.4 build-1398046 for Linux completed 
successfully. You can decide to remove this software from your system at any 
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".

Before running VMware Tools for the first time, you need to configure it by 
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want 
this program to invoke the command for you now? [yes] 

Initializing...

Making sure services for VMware Tools are stopped.

Stopping Thinprint services in the virtual machine:
   Stopping Virtual Printing daemon: [71G done
Stopping VMware Tools services in the virtual machine:
   Guest operating system daemon: [71G done
   Unmounting HGFS shares: [71G done
   Guest filesystem driver: [71G done

update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
The VMware FileSystem Sync Driver (vmsync) allows external third-party backup 
software that is integrated with vSphere to create backups of the virtual 
machine. Do you wish to enable this feature? [no] 

The module vmci has already been installed on this system by another package 
and clobbering vmci is not supported.

The module vsock has already been installed on this system by another package 
and clobbering vsock is not supported.

The module vmxnet3 from this package is not supported for kernels >= 3.10. You 
must use the version of the driver supplied by the kernel.

The module pvscsi from this package is not supported for kernels >= 3.10. You 
must use the version of the driver supplied by the kernel.

The module vmmemctl from this package is not supported for kernels >= 3.10. You
must use the version of the driver supplied by the kernel.

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] 

make: Entering directory '/tmp/modconfig-CPgMeu/vmhgfs-only'
Using 2.6.x kernel build system.
/usr/bin/make -C /lib/modules/3.16.0-23-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-headers-3.16.0-23-generic'
  CC [M]  /tmp/modconfig-CPgMeu/vmhgfs-only/message.o
  CC [M]  /tmp/modconfig-CPgMeu/vmhgfs-only/dir.o
  CC [M]  /tmp/modconfig-CPgMeu/vmhgfs-only/rpcout.o
  CC [M]  /tmp/modconfig-CPgMeu/vmhgfs-only/hgfsUtil.o
In file included from /tmp/modconfig-CPgMeu/vmhgfs-only/backdoor.h:30:0,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/message.c:54:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_assert.h:245:0: warning: "DEPRECATED" redefined
    #define DEPRECATED(_fix) do {} while (0)
 ^
In file included from include/linux/kernel.h:13:0,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/./shared/kernelStubs.h:36,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/message.c:45:
include/linux/printk.h:106:0: note: this is the location of the previous definition
 #define DEPRECATED "[Deprecated]: "
 ^
In file included from /tmp/modconfig-CPgMeu/vmhgfs-only/backdoor.h:30:0,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/message.c:54:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/backdoor_types.h: In function ‘BACKDOOR_STRUCT_SIZES’:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_assert.h:320:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]
       typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \
                    ^
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_assert.h:342:7: note: in definition of macro ‘MY_ASSERTS’
       assertions \
       ^
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/backdoor_types.h:112:12: note: in expansion of macro ‘ASSERT_ON_COMPILE’
            ASSERT_ON_COMPILE(sizeof(Backdoor_proto) == 6 * sizeof(uintptr_t));
            ^
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_assert.h:320:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]
       typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \
                    ^
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_assert.h:342:7: note: in definition of macro ‘MY_ASSERTS’
       assertions \
       ^
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/backdoor_types.h:113:12: note: in expansion of macro ‘ASSERT_ON_COMPILE’
            ASSERT_ON_COMPILE(sizeof(Backdoor_proto_hb) == 7 * sizeof(uintptr_t));
            ^
In file included from /tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vmware.h:39:0,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/rpcout.c:43:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_assert.h:245:0: warning: "DEPRECATED" redefined
    #define DEPRECATED(_fix) do {} while (0)
 ^
In file included from include/linux/kernel.h:13:0,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/./shared/kernelStubs.h:36,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/rpcout.c:33:
include/linux/printk.h:106:0: note: this is the location of the previous definition
 #define DEPRECATED "[Deprecated]: "
 ^
In file included from /tmp/modconfig-CPgMeu/vmhgfs-only/hgfs.h:40:0,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/hgfsUtil.h:55,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/hgfsUtil.c:33:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_assert.h:245: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-CPgMeu/vmhgfs-only/hgfsUtil.h:32,
                 from /tmp/modconfig-CPgMeu/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-CPgMeu/vmhgfs-only/cpName.o
  CC [M]  /tmp/modconfig-CPgMeu/vmhgfs-only/link.o
  CC [M]  /tmp/modconfig-CPgMeu/vmhgfs-only/request.o
In file included from /tmp/modconfig-CPgMeu/vmhgfs-only/hgfs.h:40:0,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/hgfsProto.h:37,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/dir.c:37:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_assert.h:245: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-CPgMeu/vmhgfs-only/dir.c:29:
include/linux/printk.h:106:0: note: this is the location of the previous definition
 #define DEPRECATED "[Deprecated]: "
 ^
In file included from /tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vmci_defs.h:33:0,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/hgfsTransport.h:28,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/request.h:39,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/dir.c:40:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h: In function ‘AtomicAssertOnCompilePtr’:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h:2397:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]
       typedef char AssertOnCompileFailed[AssertOnCompileMisused];             \
                    ^
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h:2558:1: note: in expansion of macro ‘MAKE_ATOMIC_TYPE’
 MAKE_ATOMIC_TYPE(Ptr, 64, void const *, void *, uintptr_t)
 ^
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h: In function ‘AtomicAssertOnCompileInt’:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h:2397:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]
       typedef char AssertOnCompileFailed[AssertOnCompileMisused];             \
                    ^
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h:2562:1: note: in expansion of macro ‘MAKE_ATOMIC_TYPE’
 MAKE_ATOMIC_TYPE(Int, 32, int, int, int)
 ^
  CC [M]  /tmp/modconfig-CPgMeu/vmhgfs-only/module.o
In file included from /tmp/modconfig-CPgMeu/vmhgfs-only/hgfs.h:40:0,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/hgfsProto.h:37,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/module.h:39,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/link.c:32:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_assert.h:245: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-CPgMeu/vmhgfs-only/./shared/compat_fs.h:22,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/link.c:29:
include/linux/printk.h:106:0: note: this is the location of the previous definition
 #define DEPRECATED "[Deprecated]: "
 ^
  CC [M]  /tmp/modconfig-CPgMeu/vmhgfs-only/stubs.o
In file included from /tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vmci_defs.h:33:0,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/hgfsTransport.h:28,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/request.h:39,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/fsutil.h:36,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/link.c:34:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h: In function ‘AtomicAssertOnCompilePtr’:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h:2397:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]
       typedef char AssertOnCompileFailed[AssertOnCompileMisused];             \
                    ^
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h:2558:1: note: in expansion of macro ‘MAKE_ATOMIC_TYPE’
 MAKE_ATOMIC_TYPE(Ptr, 64, void const *, void *, uintptr_t)
 ^
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h: In function ‘AtomicAssertOnCompileInt’:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h:2397:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]
       typedef char AssertOnCompileFailed[AssertOnCompileMisused];             \
                    ^
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h:2562:1: note: in expansion of macro ‘MAKE_ATOMIC_TYPE’
 MAKE_ATOMIC_TYPE(Int, 32, int, int, int)
 ^
In file included from /tmp/modconfig-CPgMeu/vmhgfs-only/hgfs.h:40:0,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/hgfsProto.h:37,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/module.h:39,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/request.c:38:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_assert.h:245: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-CPgMeu/vmhgfs-only/request.c:29:
include/linux/printk.h:106:0: note: this is the location of the previous definition
 #define DEPRECATED "[Deprecated]: "
 ^
In file included from /tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vmci_defs.h:33:0,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/hgfsTransport.h:28,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/request.h:39,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/request.c:39:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h: In function ‘AtomicAssertOnCompilePtr’:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h:2397:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]
       typedef char AssertOnCompileFailed[AssertOnCompileMisused];             \
                    ^
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h:2558:1: note: in expansion of macro ‘MAKE_ATOMIC_TYPE’
 MAKE_ATOMIC_TYPE(Ptr, 64, void const *, void *, uintptr_t)
 ^
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h: In function ‘AtomicAssertOnCompileInt’:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h:2397:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]
       typedef char AssertOnCompileFailed[AssertOnCompileMisused];             \
                    ^
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h:2562:1: note: in expansion of macro ‘MAKE_ATOMIC_TYPE’
 MAKE_ATOMIC_TYPE(Int, 32, int, int, int)
 ^
In file included from /tmp/modconfig-CPgMeu/vmhgfs-only/hgfs.h:40:0,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/hgfsProto.h:37,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/module.h:39,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/module.c:32:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_assert.h:245: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-CPgMeu/vmhgfs-only/./shared/compat_module.h:27,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/module.c:29:
include/linux/printk.h:106:0: note: this is the location of the previous definition
 #define DEPRECATED "[Deprecated]: "
 ^
  CC [M]  /tmp/modconfig-CPgMeu/vmhgfs-only/tcp.o
  CC [M]  /tmp/modconfig-CPgMeu/vmhgfs-only/hgfsEscape.o
  CC [M]  /tmp/modconfig-CPgMeu/vmhgfs-only/bdhandler.o
In file included from /tmp/modconfig-CPgMeu/vmhgfs-only/hgfs.h:40:0,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/hgfsProto.h:37,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/module.h:39,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/stubs.c:29:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_assert.h:245:0: warning: "DEPRECATED" redefined
    #define DEPRECATED(_fix) do {} while (0)
 ^
In file included from include/linux/kernel.h:13:0,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/./shared/kernelStubs.h:36,
                 from /tmp/modconfig-CPgMeu/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-CPgMeu/vmhgfs-only/cpNameLite.o
  CC [M]  /tmp/modconfig-CPgMeu/vmhgfs-only/backdoor.o
In file included from /tmp/modconfig-CPgMeu/vmhgfs-only/backdoor.h:30:0,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/backdoor.c:35:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/backdoor_types.h: In function ‘BACKDOOR_STRUCT_SIZES’:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_assert.h:320:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]
       typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \
                    ^
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_assert.h:342:7: note: in definition of macro ‘MY_ASSERTS’
       assertions \
       ^
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/backdoor_types.h:112:12: note: in expansion of macro ‘ASSERT_ON_COMPILE’
            ASSERT_ON_COMPILE(sizeof(Backdoor_proto) == 6 * sizeof(uintptr_t));
            ^
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_assert.h:320:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]
       typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \
                    ^
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_assert.h:342:7: note: in definition of macro ‘MY_ASSERTS’
       assertions \
       ^
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/backdoor_types.h:113:12: note: in expansion of macro ‘ASSERT_ON_COMPILE’
            ASSERT_ON_COMPILE(sizeof(Backdoor_proto_hb) == 7 * sizeof(uintptr_t));
            ^
In file included from /tmp/modconfig-CPgMeu/vmhgfs-only/hgfs.h:40:0,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/request.h:38,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/transport.h:26,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/bdhandler.c:30:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_assert.h:245:0: warning: "DEPRECATED" redefined
    #define DEPRECATED(_fix) do {} while (0)
 ^
In file included from include/linux/kernel.h:13:0,
                 from include/asm-generic/bug.h:13,
                 from ./arch/x86/include/asm/bug.h:35,
                 from include/linux/bug.h:4,
                 from include/linux/kref.h:18,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/request.h:32,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/transport.h:26,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/bdhandler.c:30:
include/linux/printk.h:106:0: note: this is the location of the previous definition
 #define DEPRECATED "[Deprecated]: "
 ^
In file included from /tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vmci_defs.h:33:0,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/hgfsTransport.h:28,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/request.h:39,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/transport.h:26,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/bdhandler.c:30:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h: In function ‘AtomicAssertOnCompilePtr’:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h:2397:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]
       typedef char AssertOnCompileFailed[AssertOnCompileMisused];             \
                    ^
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h:2558:1: note: in expansion of macro ‘MAKE_ATOMIC_TYPE’
 MAKE_ATOMIC_TYPE(Ptr, 64, void const *, void *, uintptr_t)
 ^
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h: In function ‘AtomicAssertOnCompileInt’:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h:2397:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]
       typedef char AssertOnCompileFailed[AssertOnCompileMisused];             \
                    ^
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h:2562:1: note: in expansion of macro ‘MAKE_ATOMIC_TYPE’
 MAKE_ATOMIC_TYPE(Int, 32, int, int, int)
 ^
  CC [M]  /tmp/modconfig-CPgMeu/vmhgfs-only/transport.o
  CC [M]  /tmp/modconfig-CPgMeu/vmhgfs-only/inode.o
  CC [M]  /tmp/modconfig-CPgMeu/vmhgfs-only/super.o
In file included from /tmp/modconfig-CPgMeu/vmhgfs-only/tcp.c:46:0:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_assert.h:245:0: warning: "DEPRECATED" redefined
    #define DEPRECATED(_fix) do {} while (0)
 ^
In file included from include/linux/kernel.h:13:0,
                 from include/linux/uio.h:12,
                 from include/linux/socket.h:7,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/tcp.c:31:
include/linux/printk.h:106:0: note: this is the location of the previous definition
 #define DEPRECATED "[Deprecated]: "
 ^
In file included from /tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vmci_defs.h:33:0,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/hgfsTransport.h:28,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/request.h:39,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/transport.h:26,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/tcp.c:51:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h: In function ‘AtomicAssertOnCompilePtr’:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h:2397:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]
       typedef char AssertOnCompileFailed[AssertOnCompileMisused];             \
                    ^
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h:2558:1: note: in expansion of macro ‘MAKE_ATOMIC_TYPE’
 MAKE_ATOMIC_TYPE(Ptr, 64, void const *, void *, uintptr_t)
 ^
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h: In function ‘AtomicAssertOnCompileInt’:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h:2397:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]
       typedef char AssertOnCompileFailed[AssertOnCompileMisused];             \
                    ^
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h:2562:1: note: in expansion of macro ‘MAKE_ATOMIC_TYPE’
 MAKE_ATOMIC_TYPE(Int, 32, int, int, int)
 ^
In file included from ./arch/x86/include/asm/atomic.h:8:0,
                 from include/linux/atomic.h:4,
                 from ./arch/x86/include/asm/thread_info.h:24,
                 from include/linux/thread_info.h:54,
                 from ./arch/x86/include/asm/preempt.h:6,
                 from include/linux/preempt.h:18,
                 from include/linux/spinlock.h:50,
                 from include/linux/wait.h:8,
                 from include/linux/net.h:23,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/tcp.c:33:
/tmp/modconfig-CPgMeu/vmhgfs-only/tcp.c: In function ‘HgfsSocketChannelOpen’:
./arch/x86/include/asm/cmpxchg.h:42:38: warning: initialization from incompatible pointer type
          __typeof__ (*(ptr)) __ret = (arg);   \
                                      ^
./arch/x86/include/asm/cmpxchg.h:76:22: note: in expansion of macro ‘__xchg_op’
 #define xchg(ptr, v) __xchg_op((ptr), (v), xchg, "")
                      ^
/tmp/modconfig-CPgMeu/vmhgfs-only/tcp.c:584:25: note: in expansion of macro ‘xchg’
    oldSocketDataReady = xchg(&socket->sk->sk_data_ready,
                         ^
/tmp/modconfig-CPgMeu/vmhgfs-only/tcp.c:584:23: warning: assignment from incompatible pointer type
    oldSocketDataReady = xchg(&socket->sk->sk_data_ready,
                       ^
In file included from /tmp/modconfig-CPgMeu/vmhgfs-only/hgfs.h:40:0,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/hgfsDevLinux.h:30,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/transport.c:48:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_assert.h:245: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 include/linux/mutex.h:13,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/./shared/compat_mutex.h:39,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/transport.c:37:
include/linux/printk.h:106:0: note: this is the location of the previous definition
 #define DEPRECATED "[Deprecated]: "
 ^
In file included from /tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vmci_defs.h:33:0,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/hgfsTransport.h:28,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/request.h:39,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/transport.c:51:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h: In function ‘AtomicAssertOnCompilePtr’:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h:2397:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]
       typedef char AssertOnCompileFailed[AssertOnCompileMisused];             \
                    ^
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h:2558:1: note: in expansion of macro ‘MAKE_ATOMIC_TYPE’
 MAKE_ATOMIC_TYPE(Ptr, 64, void const *, void *, uintptr_t)
 ^
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h: In function ‘AtomicAssertOnCompileInt’:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h:2397:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]
       typedef char AssertOnCompileFailed[AssertOnCompileMisused];             \
                    ^
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h:2562:1: note: in expansion of macro ‘MAKE_ATOMIC_TYPE’
 MAKE_ATOMIC_TYPE(Int, 32, int, int, int)
 ^
In file included from /tmp/modconfig-CPgMeu/vmhgfs-only/hgfs.h:40:0,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/hgfsProto.h:37,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/inode.c:49:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_assert.h:245: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/mmzone.h:7,
                 from include/linux/gfp.h:5,
                 from include/linux/mm.h:9,
                 from include/linux/pagemap.h:7,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/inode.c:29:
include/linux/printk.h:106:0: note: this is the location of the previous definition
 #define DEPRECATED "[Deprecated]: "
 ^
In file included from /tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vmci_defs.h:33:0,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/hgfsTransport.h:28,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/request.h:39,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/inode.c:53:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h: In function ‘AtomicAssertOnCompilePtr’:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h:2397:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]
       typedef char AssertOnCompileFailed[AssertOnCompileMisused];             \
                    ^
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h:2558:1: note: in expansion of macro ‘MAKE_ATOMIC_TYPE’
 MAKE_ATOMIC_TYPE(Ptr, 64, void const *, void *, uintptr_t)
 ^
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h: In function ‘AtomicAssertOnCompileInt’:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h:2397:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]
       typedef char AssertOnCompileFailed[AssertOnCompileMisused];             \
                    ^
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h:2562:1: note: in expansion of macro ‘MAKE_ATOMIC_TYPE’
 MAKE_ATOMIC_TYPE(Int, 32, int, int, int)
 ^
In file included from /tmp/modconfig-CPgMeu/vmhgfs-only/hgfs.h:40:0,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/hgfsProto.h:37,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/super.c:36:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_assert.h:245: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-CPgMeu/vmhgfs-only/./shared/compat_fs.h:22,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/super.c:29:
include/linux/printk.h:106:0: note: this is the location of the previous definition
 #define DEPRECATED "[Deprecated]: "
 ^
/tmp/modconfig-CPgMeu/vmhgfs-only/inode.c: In function ‘HgfsPackSetattrRequest’:
/tmp/modconfig-CPgMeu/vmhgfs-only/inode.c:520:25: error: incompatible types when assigning to type ‘uint32’ from type ‘kuid_t’
          attrV2->userId = KUID2UID(iattr->ia_uid);
                         ^
/tmp/modconfig-CPgMeu/vmhgfs-only/inode.c:526:26: error: incompatible types when assigning to type ‘uint32’ from type ‘kgid_t’
          attrV2->groupId = KGID2GID(iattr->ia_gid);
                          ^
/tmp/modconfig-CPgMeu/vmhgfs-only/inode.c:623:25: error: incompatible types when assigning to type ‘uint32’ from type ‘kuid_t’
          attrV2->userId = KUID2UID(iattr->ia_uid);
                         ^
/tmp/modconfig-CPgMeu/vmhgfs-only/inode.c:629:26: error: incompatible types when assigning to type ‘uint32’ from type ‘kgid_t’
          attrV2->groupId = KGID2GID(iattr->ia_gid);
                          ^
/tmp/modconfig-CPgMeu/vmhgfs-only/inode.c: In function ‘HgfsMkdir’:
/tmp/modconfig-CPgMeu/vmhgfs-only/inode.c:1222:13: error: incompatible type for argument 3 of ‘HgfsSetUidGid’
             HgfsSetUidGid(dir, dentry, CURRENT_FSUID(), CURRENT_FSGID());
             ^
In file included from /tmp/modconfig-CPgMeu/vmhgfs-only/inode.c:54:0:
/tmp/modconfig-CPgMeu/vmhgfs-only/fsutil.h:92:6: note: expected ‘uid_t’ but argument is of type ‘kuid_t’
 void HgfsSetUidGid(struct inode *parent,
      ^
/tmp/modconfig-CPgMeu/vmhgfs-only/inode.c:1222:13: error: incompatible type for argument 4 of ‘HgfsSetUidGid’
             HgfsSetUidGid(dir, dentry, CURRENT_FSUID(), CURRENT_FSGID());
             ^
In file included from /tmp/modconfig-CPgMeu/vmhgfs-only/inode.c:54:0:
/tmp/modconfig-CPgMeu/vmhgfs-only/fsutil.h:92:6: note: expected ‘gid_t’ but argument is of type ‘kgid_t’
 void HgfsSetUidGid(struct inode *parent,
      ^
In file included from /tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vmci_defs.h:33:0,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/hgfsTransport.h:28,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/request.h:39,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/super.c:40:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h: In function ‘AtomicAssertOnCompilePtr’:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h:2397:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]
       typedef char AssertOnCompileFailed[AssertOnCompileMisused];             \
                    ^
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h:2558:1: note: in expansion of macro ‘MAKE_ATOMIC_TYPE’
 MAKE_ATOMIC_TYPE(Ptr, 64, void const *, void *, uintptr_t)
 ^
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h: In function ‘AtomicAssertOnCompileInt’:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h:2397:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]
       typedef char AssertOnCompileFailed[AssertOnCompileMisused];             \
                    ^
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h:2562:1: note: in expansion of macro ‘MAKE_ATOMIC_TYPE’
 MAKE_ATOMIC_TYPE(Int, 32, int, int, int)
 ^
  CC [M]  /tmp/modconfig-CPgMeu/vmhgfs-only/vmci.o
scripts/Makefile.build:257: recipe for target '/tmp/modconfig-CPgMeu/vmhgfs-only/inode.o' failed
make[2]: *** [/tmp/modconfig-CPgMeu/vmhgfs-only/inode.o] Error 1
make[2]: *** Warte auf noch nicht beendete Prozesse...
In file included from /tmp/modconfig-CPgMeu/vmhgfs-only/hgfs.h:40:0,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/hgfsProto.h:37,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/vmci.c:34:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_assert.h:245:0: warning: "DEPRECATED" redefined
    #define DEPRECATED(_fix) do {} while (0)
 ^
In file included from include/linux/kernel.h:13:0,
                 from include/linux/moduleparam.h:6,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/vmci.c:29:
include/linux/printk.h:106:0: note: this is the location of the previous definition
 #define DEPRECATED "[Deprecated]: "
 ^
In file included from /tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vmci_defs.h:33:0,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/hgfsTransport.h:28,
                 from /tmp/modconfig-CPgMeu/vmhgfs-only/vmci.c:35:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h: In function ‘AtomicAssertOnCompilePtr’:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h:2397:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]
       typedef char AssertOnCompileFailed[AssertOnCompileMisused];             \
                    ^
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h:2558:1: note: in expansion of macro ‘MAKE_ATOMIC_TYPE’
 MAKE_ATOMIC_TYPE(Ptr, 64, void const *, void *, uintptr_t)
 ^
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h: In function ‘AtomicAssertOnCompileInt’:
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h:2397:20: warning: typedef ‘AssertOnCompileFailed’ locally defined but not used [-Wunused-local-typedefs]
       typedef char AssertOnCompileFailed[AssertOnCompileMisused];             \
                    ^
/tmp/modconfig-CPgMeu/vmhgfs-only/./shared/vm_atomic.h:2562:1: note: in expansion of macro ‘MAKE_ATOMIC_TYPE’
 MAKE_ATOMIC_TYPE(Int, 32, int, int, int)
 ^
Makefile:1345: recipe for target '_module_/tmp/modconfig-CPgMeu/vmhgfs-only' failed
make[1]: *** [_module_/tmp/modconfig-CPgMeu/vmhgfs-only] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.16.0-23-generic'
Makefile:130: recipe for target 'vmhgfs.ko' failed
make: *** [vmhgfs.ko] Error 2
make: Leaving directory '/tmp/modconfig-CPgMeu/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 ] 

make: Entering directory '/tmp/modconfig-y6SfGv/vmxnet-only'
Using 2.6.x kernel build system.
/usr/bin/make -C /lib/modules/3.16.0-23-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-headers-3.16.0-23-generic'
  CC [M]  /tmp/modconfig-y6SfGv/vmxnet-only/vmxnet.o
/tmp/modconfig-y6SfGv/vmxnet-only/vmxnet.c: In function ‘vmxnet_probe_device’:
/tmp/modconfig-y6SfGv/vmxnet-only/vmxnet.c:1148:7: error: ‘struct net_device’ has no member named ‘do_ioctl’
    dev->do_ioctl = vmxnet_ioctl;
       ^
scripts/Makefile.build:263: recipe for target '/tmp/modconfig-y6SfGv/vmxnet-only/vmxnet.o' failed
make[2]: *** [/tmp/modconfig-y6SfGv/vmxnet-only/vmxnet.o] Error 1
Makefile:1345: recipe for target '_module_/tmp/modconfig-y6SfGv/vmxnet-only' failed
make[1]: *** [_module_/tmp/modconfig-y6SfGv/vmxnet-only] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.16.0-23-generic'
Makefile:130: recipe for target 'vmxnet.ko' failed
make: *** [vmxnet.ko] Error 2
make: Leaving directory '/tmp/modconfig-y6SfGv/vmxnet-only'

The fast network device driver (vmxnet module) is used only for our fast 
networking interface. The rest of the software provided by VMware Tools is 
designed to work independently of this feature.
If you wish to have the fast network driver enabled, 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 ] 

The vmblock enables dragging or copying files between host and guest in a 
Fusion or Workstation virtual environment.  Do you wish to enable this feature?
[yes] 

!!! [EXPERIMENTAL] !!!
VMware automatic kernel modules enables automatic building and installation of
VMware kernel modules at boot that are not already present.  By selecting yes,
you will be enabling this experimental feature.  You can always disable this
feature by re-running vmware-config-tools.pl.

Would you like to enable VMware automatic kernel modules?
[no] 

Thinprint provides driver-free printing. Do you wish to enable this feature? 
[yes] 

Disabling timer-based audio scheduling in pulseaudio.

Detected X server version 1.16.0

Distribution provided drivers for Xorg X server are used.

Skipping X configuration because X drivers are not included.

Creating a new initrd boot image for the kernel.
update-initramfs: Generating /boot/initrd.img-3.16.0-23-generic
   Starting Virtual Printing daemon: [71G done
   Checking acpi hot plug [71G done
Starting VMware Tools services in the virtual machine:
   Switching to guest configuration: [71G done
   Blocking file system: [71G done
   Guest operating system daemon: [71G done
The configuration of VMware Tools 9.2.4 build-1398046 for Linux for this 
running kernel completed successfully.

You must restart your X session before any mouse or graphics changes take 
effect.

You can now run VMware Tools by invoking "/usr/bin/vmware-toolbox-cmd" from the
command line.

To enable advanced X features (e.g., guest resolution fit, drag and drop, and 
file and text copy/paste), you will need to do one (or more) of the following:
1. Manually start /usr/bin/vmware-user
2. Log out and log back into your desktop session; and,
3. Restart your X session.

Enjoy,

--the VMware team

Found VMware Tools CDROM mounted at /media/brushmate/VMware Tools. Ejecting 
device /dev/sr0 ...

When I ran the installer without patches applied, I got different error messages.

liayn commented 9 years ago

Why are you using such an old version of vmware player? 6.0.4 build-2249910 is the current version and it's free. Why not upgrade?

brushmate commented 9 years ago

My company does only allow to install this version. And the VMware website states that it is only free for private use.

liayn commented 9 years ago

well all player versions (except if you pay something) are only for private use, not matter if it's version 5 or 6, afaik.

Unfortunately I'm not helpful in this case, sorry.

rasa commented 9 years ago

I'm not sure. The patch should apply cleanly, and it has for me in the past, but on older kernels.

rasa commented 9 years ago

Closing. Please reopen if this is still an issue. Thanks.