[Bug 188391] [NEW] vmware tools dont compile with hardy

Ernesto Ruge mail at ernestoruge.de
Sat Feb 2 17:33:01 UTC 2008


Public bug reported:

As the topic says, there are compile errors with myvmware fusion tools
since hard.

Its kubuntu 64bit hardy, fresh install of a beta4 with all updates.

Here's the log:

infinity at infinite-vm-hardy:~/vmware/vmware-tools-distrib$ sudo ./vmware-install.pl
A previous installation of VMware Tools has been detected.

The previous installation was made by the tar installer (version 4).

Keeping the tar4 installer database format.

Uninstalling the tar installation of VMware Tools.

Stopping VMware Tools services in the virtual machine:
   Guest operating system daemon:                                      done

File /etc/X11/xorg.conf is backed up to /etc/X11/xorg.conf.old.0.

The removal of VMware Tools 7.6.2 build-72241 for Linux completed successfully.
Thank you for having tried this software.

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]

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

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 7.6.2 build-72241 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]


Stopping VMware Tools services in the virtual machine:
   Guest operating system daemon:                                      done
Trying to find a suitable vmmemctl module for your running kernel.

None of the pre-built vmmemctl modules for VMware Tools is suitable for your
running kernel.  Do you want this program to try to build the vmmemctl module
for your system (you need to have a C compiler installed on your system)?
[yes]

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.24-5-generic/build/include]

Extracting the sources of the vmmemctl module.

Building the vmmemctl module.

Using 2.6.x kernel build system.
make: Gehe in Verzeichnis '/tmp/vmware-config4/vmmemctl-only'
make -C /lib/modules/2.6.24-5-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Betrete Verzeichnis '/usr/src/linux-headers-2.6.24-5-generic'
  CC [M]  /tmp/vmware-config4/vmmemctl-only/backdoorGcc64.o
  CC [M]  /tmp/vmware-config4/vmmemctl-only/os.o
In Datei, eingefügt von /tmp/vmware-config4/vmmemctl-only/os.c:51:
/tmp/vmware-config4/vmmemctl-only/compat_wait.h:55:5: Warnung: »VMW_HAVE_EPOLL« ist nicht definiert
/tmp/vmware-config4/vmmemctl-only/compat_wait.h:61:5: Warnung: »VMW_HAVE_EPOLL« ist nicht definiert
In file included from /tmp/vmware-config4/vmmemctl-only/os.c:51:
/tmp/vmware-config4/vmmemctl-only/compat_wait.h:78: Fehler: In Konflikt stehende Typen für »poll_initwait«
include/linux/poll.h:65: Fehler: Vorherige Deklaration von »poll_initwait« war hier
make[2]: *** [/tmp/vmware-config4/vmmemctl-only/os.o] Fehler 1
make[1]: *** [_module_/tmp/vmware-config4/vmmemctl-only] Fehler 2
make[1]: Verlasse Verzeichnis '/usr/src/linux-headers-2.6.24-5-generic'
make: *** [vmmemctl.ko] Fehler 2
make: Verlasse Verzeichnis '/tmp/vmware-config4/vmmemctl-only'
Unable to build the vmmemctl module.

The memory manager driver (vmmemctl module) is used by VMware host software to
efficiently reclaim memory from a virtual machine.
If the driver is not available, VMware host software may instead need to swap
guest memory to disk, which may reduce performance.
The rest of the software provided by VMware Tools is designed to work
independently of this feature.
If you want the memory management 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 ]

Trying to find a suitable vmhgfs module for your running kernel.

None of the pre-built vmhgfs modules for VMware Tools is suitable for your
running kernel.  Do you want this program to try to build the vmhgfs module for
your system (you need to have a C compiler installed on your system)? [yes]

Extracting the sources of the vmhgfs module.

Building the vmhgfs module.

Using 2.6.x kernel build system.
make: Gehe in Verzeichnis '/tmp/vmware-config5/vmhgfs-only'
make -C /lib/modules/2.6.24-5-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Betrete Verzeichnis '/usr/src/linux-headers-2.6.24-5-generic'
  CC [M]  /tmp/vmware-config5/vmhgfs-only/backdoor.o
  CC [M]  /tmp/vmware-config5/vmhgfs-only/backdoorGcc64.o
  CC [M]  /tmp/vmware-config5/vmhgfs-only/bdhandler.o
In file included from /tmp/vmware-config5/vmhgfs-only/rpcout.h:30,
                 from /tmp/vmware-config5/vmhgfs-only/hgfsBd.h:28,
                 from /tmp/vmware-config5/vmhgfs-only/bdhandler.c:43:
/tmp/vmware-config5/vmhgfs-only/vm_basic_types.h:182: Fehler: Redefinition des typedef »uintptr_t«
include/linux/types.h:40: Fehler: Vorherige Deklaration von »uintptr_t« war hier
In Datei, eingefügt von /tmp/vmware-config5/vmhgfs-only/request.h:35,
                 von /tmp/vmware-config5/vmhgfs-only/bdhandler.c:48:
/tmp/vmware-config5/vmhgfs-only/compat_wait.h:55:5: Warnung: »VMW_HAVE_EPOLL« ist nicht definiert
/tmp/vmware-config5/vmhgfs-only/compat_wait.h:61:5: Warnung: »VMW_HAVE_EPOLL« ist nicht definiert
In file included from /tmp/vmware-config5/vmhgfs-only/request.h:35,
                 from /tmp/vmware-config5/vmhgfs-only/bdhandler.c:48:
/tmp/vmware-config5/vmhgfs-only/compat_wait.h:78: Fehler: In Konflikt stehende Typen für »poll_initwait«
include/linux/poll.h:65: Fehler: Vorherige Deklaration von »poll_initwait« war hier
make[2]: *** [/tmp/vmware-config5/vmhgfs-only/bdhandler.o] Fehler 1
make[1]: *** [_module_/tmp/vmware-config5/vmhgfs-only] Fehler 2
make[1]: Verlasse Verzeichnis '/usr/src/linux-headers-2.6.24-5-generic'
make: *** [vmhgfs.ko] Fehler 2
make: Verlasse Verzeichnis '/tmp/vmware-config5/vmhgfs-only'
Unable to build the vmhgfs module.

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 ]

Trying to find a suitable vmblock module for your running kernel.

None of the pre-built vmblock modules for VMware Tools is suitable for your
running kernel.  Do you want this program to try to build the vmblock module
for your system (you need to have a C compiler installed on your system)?
[yes]

Extracting the sources of the vmblock module.

Building the vmblock module.

Using 2.6.x kernel build system.
make: Gehe in Verzeichnis '/tmp/vmware-config6/vmblock-only'
make -C /lib/modules/2.6.24-5-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Betrete Verzeichnis '/usr/src/linux-headers-2.6.24-5-generic'
  CC [M]  /tmp/vmware-config6/vmblock-only/linux/block.o
In Datei, eingefügt von /tmp/vmware-config6/vmblock-only/linux/os.h:35,
                 von /tmp/vmware-config6/vmblock-only/linux/block.c:26:
/tmp/vmware-config6/vmblock-only/./include/compat_wait.h:55:5: Warnung: »VMW_HAVE_EPOLL« ist nicht definiert
/tmp/vmware-config6/vmblock-only/./include/compat_wait.h:61:5: Warnung: »VMW_HAVE_EPOLL« ist nicht definiert
In file included from /tmp/vmware-config6/vmblock-only/linux/os.h:35,
                 from /tmp/vmware-config6/vmblock-only/linux/block.c:26:
/tmp/vmware-config6/vmblock-only/./include/compat_wait.h:78: Fehler: In Konflikt stehende Typen für »poll_initwait«
include/linux/poll.h:65: Fehler: Vorherige Deklaration von »poll_initwait« war hier
In file included from /tmp/vmware-config6/vmblock-only/linux/vmblockInt.h:40,
                 from /tmp/vmware-config6/vmblock-only/linux/block.c:29:
/tmp/vmware-config6/vmblock-only/./include/vm_basic_types.h:182: Fehler: Redefinition des typedef »uintptr_t«
include/linux/types.h:40: Fehler: Vorherige Deklaration von »uintptr_t« war hier
make[2]: *** [/tmp/vmware-config6/vmblock-only/linux/block.o] Fehler 1
make[1]: *** [_module_/tmp/vmware-config6/vmblock-only] Fehler 2
make[1]: Verlasse Verzeichnis '/usr/src/linux-headers-2.6.24-5-generic'
make: *** [vmblock.ko] Fehler 2
make: Verlasse Verzeichnis '/tmp/vmware-config6/vmblock-only'
Unable to build the vmblock module.

The vmblock module enables dragging or copying files from within a host and
dropping or pasting them onto your guest (host to guest drag and drop and file
copy/paste).  The rest of the software provided by VMware Tools is designed to
work independently of this feature (including guest to host drag and drop and
file copy/paste).

If you would like the host to guest drag and drop and file copy/paste features,
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 ]

[EXPERIMENTAL] The Virtual Machine Communication Interface (VMCI) service
provides a new communication capability with the Host, primarily for
development at the moment.  Would you like to enable this feature? [no]


Detected X.org version
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.4.0.90
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: Linux Ubuntu (xorg-server 2:1.4.1~git20080118-1ubuntu2)

Current Operating System: Linux infinite-vm-hardy 2.6.24-5-generic #1 SMP Thu
Jan 24 19:29:14 UTC 2008 x86_64
Build Date: 19 January 2008  07:45:28PM

        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
.


No drivers for X.org version:
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.4.0.90
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: Linux Ubuntu (xorg-server 2:1.4.1~git20080118-1ubuntu2)

Current Operating System: Linux infinite-vm-hardy 2.6.24-5-generic #1 SMP Thu
Jan 24 19:29:14 UTC 2008 x86_64
Build Date: 19 January 2008  07:45:28PM

        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
.


Do you want to change the display size that X starts with? (yes/no) [no]

Starting VMware Tools services in the virtual machine:
   Switching to guest configuration:                                   done
   DMA setup:                                                          done
   Guest operating system daemon:                                      done

The configuration of VMware Tools 7.6.2 build-72241 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 the following command:
"/usr/bin/vmware-toolbox" during an X server session.

To make use of the virtual printer, you will need to restart the CUPS
service

If you wish to configure any experimental features, please run the following
command: "vmware-config-tools.pl --experimental".

Enjoy,

--the VMware team

infinity at infinite-vm-hardy:~/vmware/vmware-tools-distrib$

** Affects: linux-meta (Ubuntu)
     Importance: Undecided
         Status: New

-- 
vmware tools dont compile with hardy
https://bugs.launchpad.net/bugs/188391
You received this bug notification because you are a member of Kernel
Bugs, which is a bug contact for linux-meta in ubuntu.




More information about the kernel-bugs mailing list