[Solved] Vmware tools on Linux Mint 17

Questions about virtualization software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
bremenpl

[Solved] Vmware tools on Linux Mint 17

Post by bremenpl »

Hello there,
I have a problem while configuring vmware tools in linux Mint 17 Mate. There seems to be some problems with my linux-kernel-headers. This is a part of the output when running ./vmware-config-tools.pl (regarding kernel headers):

Code: Select all

Searching for a valid kernel header path...
Detected the kernel headers at "/lib/modules/3.13.0-24-generic/build/include".
The path "/lib/modules/3.13.0-24-generic/build/include" appears to be a valid 
path to the 3.13.0-24-generic kernel headers.
Would you like to change it? [no] 

Using 2.6.x kernel build system.
make: Wejście do katalogu `/tmp/modconfig-sREWax/vmhgfs-only'
/usr/bin/make -C /lib/modules/3.13.0-24-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
	  MODULEBUILDDIR= modules
make[1]: Wejście do katalogu `/usr/src/linux-headers-3.13.0-24-generic'
  CC [M]  /tmp/modconfig-sREWax/vmhgfs-only/backdoor.o
  CC [M]  /tmp/modconfig-sREWax/vmhgfs-only/backdoorGcc64.o
  CC [M]  /tmp/modconfig-sREWax/vmhgfs-only/bdhandler.o
  CC [M]  /tmp/modconfig-sREWax/vmhgfs-only/cpName.o
  CC [M]  /tmp/modconfig-sREWax/vmhgfs-only/cpNameLinux.o
  CC [M]  /tmp/modconfig-sREWax/vmhgfs-only/cpNameLite.o
  CC [M]  /tmp/modconfig-sREWax/vmhgfs-only/dentry.o
  CC [M]  /tmp/modconfig-sREWax/vmhgfs-only/dir.o
  CC [M]  /tmp/modconfig-sREWax/vmhgfs-only/file.o
  CC [M]  /tmp/modconfig-sREWax/vmhgfs-only/filesystem.o
/tmp/modconfig-sREWax/vmhgfs-only/file.c: In function ‘HgfsOpen’:
/tmp/modconfig-sREWax/vmhgfs-only/file.c:659:27: error: incompatible type for argument 3 of ‘HgfsSetUidGid’
                           current_fsuid(), current_fsgid());
                           ^
In file included from /tmp/modconfig-sREWax/vmhgfs-only/file.c:46:0:
/tmp/modconfig-sREWax/vmhgfs-only/fsutil.h:92:6: note: expected ‘uid_t’ but argument is of type ‘kuid_t’
 void HgfsSetUidGid(struct inode *parent,
      ^
/tmp/modconfig-sREWax/vmhgfs-only/file.c:659:27: error: incompatible type for argument 4 of ‘HgfsSetUidGid’
                           current_fsuid(), current_fsgid());
                           ^
In file included from /tmp/modconfig-sREWax/vmhgfs-only/file.c:46:0:
/tmp/modconfig-sREWax/vmhgfs-only/fsutil.h:92:6: note: expected ‘gid_t’ but argument is of type ‘kgid_t’
 void HgfsSetUidGid(struct inode *parent,
      ^
make[2]: *** [/tmp/modconfig-sREWax/vmhgfs-only/file.o] Błąd 1
make[2]: *** Oczekiwanie na niezakończone zadania....
/tmp/modconfig-sREWax/vmhgfs-only/filesystem.c: In function ‘HgfsInitSuperInfo’:
/tmp/modconfig-sREWax/vmhgfs-only/filesystem.c:234:15: error: incompatible types when assigning to type ‘uid_t’ from type ‘kuid_t’
       si->uid = current_uid();
               ^
/tmp/modconfig-sREWax/vmhgfs-only/filesystem.c:240:15: error: incompatible types when assigning to type ‘gid_t’ from type ‘kgid_t’
       si->gid = current_gid();
               ^
make[2]: *** [/tmp/modconfig-sREWax/vmhgfs-only/filesystem.o] Błąd 1
make[1]: *** [_module_/tmp/modconfig-sREWax/vmhgfs-only] Błąd 2
make[1]: Opuszczenie katalogu `/usr/src/linux-headers-3.13.0-24-generic'
make: *** [vmhgfs.ko] Błąd 2
make: Opuszczenie katalogu `/tmp/modconfig-sREWax/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 ] 

The vmxnet driver is no longer supported on kernels 3.3 and greater. Please 
upgrade to a newer virtual NIC. (e.g., vmxnet3 or e1000e)
I would really aprichiate any help. I cant mount shared folders because i have no vmhgfs.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
PatH57

Re: Vmware tools on Linux Mint 17

Post by PatH57 »

Hi,

witch version of vmware is this? Older versions handle the kernel calls badly (as per kernel 3.2 and up)
Check this or get a newer version?
https://communities.vmware.com/thread/469169
bremenpl

Re: Vmware tools on Linux Mint 17

Post by bremenpl »

This worked, thank you very much.
PatH57

Re: Vmware tools on Linux Mint 17

Post by PatH57 »

great.
please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.
Locked

Return to “Virtual Machines”