Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: VMWare installation problems of gcc and kernel-sources versions

  1. #1
    Join Date
    Aug 2009
    Location
    St-Petersburg, Russia
    Posts
    22

    Question VMWare installation problems of gcc and kernel-sources versions

    Trying to install VMWare I get the following message
    Your kernel was built with "gcc" version "4.5.0", while you are trying to use
    "/usr/bin/gcc" version "4.5". This configuration is not recommended and VMware
    Workstation 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.5" anyway?
    Really after it VMWare anyway doesn't agree to install. Zypper says that no newer version of gcc is available. So I can't see how I can install VMWare.

  2. #2
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,050

    Default Re: VMWare installation problems of gcc and kernel-sources versions

    On Thu, 30 Dec 2010 19:36:02 +0000, Ilya81 wrote:

    > Trying to install VMWare I get the following message
    >> Your kernel was built with "gcc" version "4.5.0", while you are trying
    >> to use
    >> "/usr/bin/gcc" version "4.5". This configuration is not recommended and
    >> VMware
    >> Workstation 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.5" anyway?

    > Really after it VMWare anyway doesn't agree to install. Zypper says that
    > no newer version of gcc is available. So I can't see how I can install
    > VMWare


    Answer "Yes" to the question you're being asked. I've seen this message
    for several months and VMware has given me no problems whatsoever because
    of this "version mismatch" (note that 4.5.0 = 4.5 - so it's not really a
    version mismatch, but a script error).

    Jim



    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

  3. #3
    Join Date
    Aug 2009
    Location
    St-Petersburg, Russia
    Posts
    22

    Default Re: VMWare installation problems of gcc and kernel-sources versions

    But it doesn't help. But as I've tryed to search may be the problem is not with gcc.rpm but with some ones that contain kernel sources (i'm not sure if it's kernel-source, kernel-devel or some other one). I've tryed to downgrade these ones, to remove and then install from the OpenSuse disk but nothing has changed. VMWare still recuses to install. No variants of installing options make VMWare agree to install.

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,665
    Blog Entries
    15

    Default Re: VMWare installation problems of gcc and kernel-sources versions

    Quote Originally Posted by Ilya81
    But it doesn't help. But as I've tryed to search may be the problem is
    not with gcc.rpm but with some ones that contain kernel sources (i'm not
    sure if it's kernel-source, kernel-devel or some other one). I've tryed
    to downgrade these ones, to remove and then install from the OpenSuse
    disk but nothing has changed. VMWare still recuses to install. No
    variants of installing options make VMWare agree to install.
    Hi
    Have you checked that all your kernel versions are the same(as in
    running and source)? You need the following installed;
    Code:
    make, gcc, patch, kernel-source, kernel-syms, linux-glibc-devel
    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.24-0.2-default
    up 3 days 12:56, 3 users, load average: 0.01, 0.04, 0.00
    GPU GeForce 8600 GTS Silent - Driver Version: 260.19.29


  5. #5
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,050

    Default Re: VMWare installation problems of gcc and kernel-sources versions

    On Fri, 31 Dec 2010 11:36:03 +0000, Ilya81 wrote:

    > But it doesn't help. But as I've tryed to search may be the problem is
    > not with gcc.rpm but with some ones that contain kernel sources (i'm not
    > sure if it's kernel-source, kernel-devel or some other one). I've tryed
    > to downgrade these ones, to remove and then install from the OpenSuse
    > disk but nothing has changed. VMWare still recuses to install. No
    > variants of installing options make VMWare agree to install.


    What is the output of the command:

    rpm -qa | grep -i kernel

    ?

    Jim



    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

  6. #6
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: VMWare installation problems of gcc and kernel-sources versions

    On 2010-12-31 12:36, Ilya81 wrote:
    >
    > But it doesn't help.


    Yes it does. Answer yes and ignore the vmware complaint about the gcc
    version. Don't even try to install another gcc version.

    > contain kernel sources (i'm not
    > sure if it's kernel-source, kernel-devel or some other one).


    That's a different problem, you need a symlink, I think. If you are using
    workstation, the problem is solved in a newer version, I was told.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  7. #7
    Join Date
    Aug 2009
    Location
    St-Petersburg, Russia
    Posts
    22

    Default Re: VMWare installation problems of gcc and kernel-sources versions

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Have you checked that all your kernel versions are the same(as in
    running and source)? You need the following installed;
    Code:
    make, gcc, patch, kernel-source, kernel-syms, linux-glibc-devel
    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.24-0.2-default
    up 3 days 12:56, 3 users, load average: 0.01, 0.04, 0.00
    GPU GeForce 8600 GTS Silent - Driver Version: 260.19.29
    It really was lack of kernel-syms but after its installation nothing changed. Still I get the message
    What is the location of the directory of C header files that match your running
    kernel? [/usr/src/linux/include]

    The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
    your running kernel (version 2.6.34.7-0.5-default). Even if the module were to
    compile successfully, it would not load into the running kernel.
    Quote Originally Posted by hendersj View Post
    On Fri, 31 Dec 2010 11:36:03 +0000, Ilya81 wrote:

    > But it doesn't help. But as I've tryed to search may be the problem is
    > not with gcc.rpm but with some ones that contain kernel sources (i'm not
    > sure if it's kernel-source, kernel-devel or some other one). I've tryed
    > to downgrade these ones, to remove and then install from the OpenSuse
    > disk but nothing has changed. VMWare still recuses to install. No
    > variants of installing options make VMWare agree to install.


    What is the output of the command:

    rpm -qa | grep -i kernel

    ?

    Jim



    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at openSUSE Forums FAQ

    The ouput is
    Code:
    kernel-firmware-20100617-2.2.noarch
    kernel-xen-2.6.34-12.3.x86_64
    kernel-default-devel-2.6.34-12.3.x86_64
    kernel-syms-2.6.34-12.3.x86_64
    kernel-source-2.6.34-12.3.noarch
    kernel-default-2.6.34.7-0.5.1.x86_64
    kernel-desktop-2.6.34-12.3.x86_64
    kernel-desktop-devel-2.6.34-12.3.x86_64
    kernel-devel-2.6.34-12.3.noarch
    nfs-kernel-server-1.2.1-7.2.x86_64
    kernel-xen-devel-2.6.34-12.3.x86_64
    Quote Originally Posted by robin_listas View Post
    On 2010-12-31 12:36, Ilya81 wrote:
    >
    > But it doesn't help.


    Yes it does. Answer yes and ignore the vmware complaint about the gcc
    version. Don't even try to install another gcc version.

    > contain kernel sources (i'm not
    > sure if it's kernel-source, kernel-devel or some other one).


    That's a different problem, you need a symlink, I think. If you are using
    workstation, the problem is solved in a newer version, I was told.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)
    I've tryed also a newer version but new versions have .bundle format and I get the following:
    Code:
    sudo -i ./VMware-Workstation.bundle
    Uninstalling legacy installation...
    This version of "VMware VIX API" is incompatible with this operating system.  
    Please install the "x86_64" version of this program instead.
    
    Execution aborted.
    Such way I can't install neither 64-bit version, nor 32-bit one that are provided on their site.

  8. #8
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,665
    Blog Entries
    15

    Default Re: VMWare installation problems of gcc and kernel-sources versions

    Hi
    You don't have the correct kernel rpms.
    Code:
    ->>> kernel-default-2.6.34.7-0.5.1.x86_64
    What kernel version are you running?
    Code:
    uname -a
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  9. #9
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: VMWare installation problems of gcc and kernel-sources versions

    On 2011-01-02 21:06, Ilya81 wrote:

    See this:

    > <http://en.opensuse.org/SDB:Installing_VMware_server_or_workstation_on_openSUSE_11.3_or_SLED_11_SP1>


    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  10. #10
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,050

    Default Re: VMWare installation problems of gcc and kernel-sources versions

    On Sun, 02 Jan 2011 20:06:05 +0000, Ilya81 wrote:

    > kernel-source-2.6.34-12.3.noarch
    > kernel-default-2.6.34.7-0.5.1.x86_64


    These versions do not match, and they need to - and the need to match the
    running kernel version as reported by uname -a (as malcolmlewis alluded
    to).

    Jim
    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •