[opensuse] VMware tools and openSUSE 11 gcc issue?
I installed openSUSE 11.0 as a VMware guest on my openSUSE 10.3 workstation. It is complaining about the gcc version. Details ... Host: openSUSE 10.3 VMwareWorkstation-6.0.2-59824 Guest: openSUSE 11.0 VMwareTools-7240-59824 @opensuse11 ~] sudo /usr/bin/vmware-config-tools.pl root's password: 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. Your kernel was built with "gcc" version "4.3.1", while you are trying to use "/usr/bin/gcc" version "4.3". This configuration is not recommended and VMware Tools may crash if you'll continue. Please try to use exactly same compiler as one used for building your kernel. Do you want to go with compiler "/usr/bin/gcc" version "4.3" anyway? [no] ^c @opensuse11 ~] /usr/bin/gcc --version gcc (SUSE Linux) 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036] Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Any ideas? --Shawn -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 31 July 2008 10:35, Shawn Protsman wrote:
I installed openSUSE 11.0 as a VMware guest on my openSUSE 10.3 workstation. It is complaining about the gcc version. Details ...
...
Any ideas?
This just came up a few days ago. See <http://lists.opensuse.org/opensuse/2008-07/msg02451.html>
--Shawn
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Randall R Schulz wrote:
On Thursday 31 July 2008 10:35, Shawn Protsman wrote:
I installed openSUSE 11.0 as a VMware guest on my openSUSE 10.3 workstation. It is complaining about the gcc version. Details ...
...
Any ideas?
This just came up a few days ago. See <http://lists.opensuse.org/opensuse/2008-07/msg02451.html>
--Shawn
Randall Schulz Hi Randall,
That was a problem with installing vmware on an openSUSE 11.0 system. What Shawn is trying to do is to install openSUSE 11.0 under vmware which is already installed on 10.3. I am having the same problem. I told it to go ahead and compile anyway. Then it came up with: The path "/usr/src/linux/include" is a kernel header file directory, but it does not contain the file "linux/version.h" as expected... and would not go beyond that. I created a file /usr/src/linux/include/linux/version.h which had one line: #define UTS_RELEASE "2.6.25.11-0.1-default" where the 2.6... matched the output of 'uname -r' The problem with the compiler number is that the output of: gcc -dumpversion is 4.3 whereas gcc --version shows 4.3.1 (prerelease) which is probably why they don't match. vmware-config-tools.pl looks at 'gcc -dumpversion' So just answer yes to the gcc version question. -- Bob -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Thursday 2008-07-31 at 15:40 -0400, Bob Ewart wrote:
Any ideas?
This just came up a few days ago. See <http://lists.opensuse.org/opensuse/2008-07/msg02451.html>
That was a problem with installing vmware on an openSUSE 11.0 system.
What Shawn is trying to do is to install openSUSE 11.0 under vmware which is already installed on 10.3.
I am having the same problem. I told it to go ahead and compile anyway. Then it came up with:
If you are compiling, you are intalling vmare. You don't compile anything to install suse inside vmware. I don't understand.
The problem with the compiler number is that the output of: gcc -dumpversion is 4.3 whereas gcc --version shows 4.3.1 (prerelease) which is probably why they don't match.
vmware-config-tools.pl looks at 'gcc -dumpversion'
Which is a vmware bug :-)
So just answer yes to the gcc version question.
Right. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIkuBTtTMYHG2NR9URAom8AJ9I/BMqMnAP5uGGXjcy+43im7AlwACfbAK5 Z14Ky8gUJc9yW363ALor/Eo= =26gM -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Carlos E. R. wrote:
The Thursday 2008-07-31 at 15:40 -0400, Bob Ewart wrote:
Any ideas?
This just came up a few days ago. See <http://lists.opensuse.org/opensuse/2008-07/msg02451.html>
That was a problem with installing vmware on an openSUSE 11.0 system.
What Shawn is trying to do is to install openSUSE 11.0 under vmware which is already installed on 10.3.
I am having the same problem. I told it to go ahead and compile anyway. Then it came up with:
If you are compiling, you are intalling vmare. You don't compile anything to install suse inside vmware. I don't understand.
I was installing VMwareTools inside the guest os. As I said, I was executing vmware-config-tools.pl
The problem with the compiler number is that the output of: gcc -dumpversion is 4.3 whereas gcc --version shows 4.3.1 (prerelease) which is probably why they don't match.
vmware-config-tools.pl looks at 'gcc -dumpversion'
Which is a vmware bug :-)
So just answer yes to the gcc version question.
Right.
-- Cheers, Carlos E. R.
-- Bob -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Jul 31, 2008, at 12:40 PM, Bob Ewart wrote:
Hi Randall,
That was a problem with installing vmware on an openSUSE 11.0 system.
What Shawn is trying to do is to install openSUSE 11.0 under vmware which is already installed on 10.3.
I am having the same problem. I told it to go ahead and compile anyway. Then it came up with:
The path "/usr/src/linux/include" is a kernel header file directory, but it does not contain the file "linux/version.h" as expected...
and would not go beyond that.
I created a file /usr/src/linux/include/linux/version.h which had one line:
#define UTS_RELEASE "2.6.25.11-0.1-default"
where the 2.6... matched the output of 'uname -r'
The problem with the compiler number is that the output of: gcc -dumpversion is 4.3 whereas gcc --version shows 4.3.1 (prerelease) which is probably why they don't match.
vmware-config-tools.pl looks at 'gcc -dumpversion'
So just answer yes to the gcc version question.
Hi Bob, Thanks for the info. I added the version.h file and just answered 'yes' to the gcc bug. The next issue is the vmmemctl module. I'm going to compile the open-vm-tools and replace the vmware-tools modules with those. Here is the output of the original vmware-tools vmmemctl error: Extracting the sources of the vmmemctl module. Building the vmmemctl module. Using 2.6.x kernel build system. make: Entering directory `/tmp/vmware-config10/vmmemctl-only' make -C /lib/modules/2.6.25.11-0.1-default/build/include/.. SUBDIRS= $PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-2.6.25.11-0.1-obj/x86_64/ default' make -C /usr/src/linux-2.6.25.11-0.1 O=/usr/src/linux-2.6.25.11-0.1- obj/x86_64/default/. modules CC [M] /tmp/vmware-config10/vmmemctl-only/os.o In file included from /tmp/vmware-config10/vmmemctl-only/os.c:40: /tmp/vmware-config10/vmmemctl-only/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined /tmp/vmware-config10/vmmemctl-only/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined In file included from /tmp/vmware-config10/vmmemctl-only/os.c:40: /tmp/vmware-config10/vmmemctl-only/compat_wait.h:60: error: conflicting types for ‘poll_initwait’ /usr/src/linux-2.6.25.11-0.1/include/linux/poll.h:65: error: previous declaration of ‘poll_initwait’ was here make[4]: *** [/tmp/vmware-config10/vmmemctl-only/os.o] Error 1 make[3]: *** [_module_/tmp/vmware-config10/vmmemctl-only] Error 2 make[2]: *** [sub-make] Error 2 make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.25.11-0.1-obj/x86_64/ default' make: *** [vmmemctl.ko] Error 2 make: Leaving directory `/tmp/vmware-config10/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 ] -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Aug 1, 2008, at 8:44 AM, Shawn Protsman wrote:
On Jul 31, 2008, at 12:40 PM, Bob Ewart wrote:
Hi Randall,
That was a problem with installing vmware on an openSUSE 11.0 system.
<snip>
Hi Bob,
Thanks for the info. I added the version.h file and just answered 'yes' to the gcc bug. The next issue is the vmmemctl module. I'm going to compile the open-vm-tools and replace the vmware-tools modules with those. Here is the output of the original vmware-tools vmmemctl error:
Extracting the sources of the vmmemctl module.
Building the vmmemctl module.
Using 2.6.x kernel build system. make: Entering directory `/tmp/vmware-config10/vmmemctl-only' make -C /lib/modules/2.6.25.11-0.1-default/build/include/.. SUBDIRS= $PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-2.6.25.11-0.1-obj/x86_64/ default' make -C /usr/src/linux-2.6.25.11-0.1 O=/usr/src/linux-2.6.25.11-0.1- obj/x86_64/default/. modules CC [M] /tmp/vmware-config10/vmmemctl-only/os.o In file included from /tmp/vmware-config10/vmmemctl-only/os.c:40: /tmp/vmware-config10/vmmemctl-only/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined /tmp/vmware-config10/vmmemctl-only/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined In file included from /tmp/vmware-config10/vmmemctl-only/os.c:40: /tmp/vmware-config10/vmmemctl-only/compat_wait.h:60: error: conflicting types for poll_initwait /usr/src/linux-2.6.25.11-0.1/include/linux/poll.h:65: error: previous declaration of poll_initwait was here make[4]: *** [/tmp/vmware-config10/vmmemctl-only/os.o] Error 1 make[3]: *** [_module_/tmp/vmware-config10/vmmemctl-only] Error 2 make[2]: *** [sub-make] Error 2 make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.25.11-0.1-obj/x86_64/ default' make: *** [vmmemctl.ko] Error 2 make: Leaving directory `/tmp/vmware-config10/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 ]
The open-vm-tools **resolved** the module issues! Uninstall the VMwareTools rpm and extract the tar.gz version. Download the open-vm- tools and extract. @opensuse11 ~/tmp/open-vm-tools-2008.07.01-102166] ./configure LDFLGAS="-L/lib64" --without-procps @opensuse11 ~/tmp/open-vm-tools-2008.07.01-102166] make @opensuse11 ~/tmp/open-vm-tools-2008.07.01-102166] cd modules/linux/ @opensuse11 ~/tmp/open-vm-tools-2008.07.01-102166/modules/linux] for i in *; do mv ${i} ${i}-only; tar -cf ${i}.tar ${i}-only; done @opensuse11 ~/tmp] cd ../../.. @opensuse11 ~/tmp] mv -f open-vm-tools-2008.07.01-102166/modules/linux/ *.tar vmware-tools-distrib/lib/modules/source/ @opensuse11 ~/tmp] cd vmware-tools-distrib/ @opensuse11 ~/tmp/vmware-tools-distrib] sudo ./vmware-install.pl All is well except for my fonts are all so small even after increasing their size in the Appearance applet. --Shawn-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Shawn Protsman wrote:
I installed openSUSE 11.0 as a VMware guest on my openSUSE 10.3 workstation. It is complaining about the gcc version. Details ...
Host: openSUSE 10.3 VMwareWorkstation-6.0.2-59824
Guest: openSUSE 11.0 VMwareTools-7240-59824
@opensuse11 ~] sudo /usr/bin/vmware-config-tools.pl root's password:
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.
Your kernel was built with "gcc" version "4.3.1", while you are trying to use "/usr/bin/gcc" version "4.3". This configuration is not recommended and VMware Tools may crash if you'll continue. Please try to use exactly same compiler as one used for building your kernel. Do you want to go with compiler "/usr/bin/gcc" version "4.3" anyway? [no] ^c
@opensuse11 ~] /usr/bin/gcc --version gcc (SUSE Linux) 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036] Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Any ideas?
--Shawn I answered 'yes' and it works fine for me.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Shawn Protsman escribió:
Any ideas?
This is yet another VMWARE bug, please contact the vendor. Cheers. -- "A computer is like an Old Testament god, with a lot of rules and no mercy. " Cristian Rodríguez R. Platform/OpenSUSE - Core Services SUSE LINUX Products GmbH Research & Development http://www.opensuse.org/
participants (6)
-
Bob Ewart
-
Carlos E. R.
-
Cristian Rodríguez
-
Ed Harrison
-
Randall R Schulz
-
Shawn Protsman