Results 1 to 8 of 8

Thread: vmware.pl and gcc version

  1. #1
    Member registered user
    Join Date
    Jul 2003
    Posts
    41

    vmware.pl and gcc version

    I was able to get vmware 4.0 installed on knoppix (debian as it is not on the HD). However when i went to run the console configuration as root I get the following error message:

    Your kernel was built with "gcc" version "2.95.4", while you are trying to use
    "/usr/bin/gcc" version "3.2.3". This configuration is not supported and VMware
    Workstation cannot work in such configuration. Please either recompile your
    kernel with "/usr/bin/gcc" version "3.2.3", or restart /usr/bin/vmware-config.pl
    with CC environment variable pointing to the "gcc" version "2.95.4".

    I'd like to opt for the last option presented to me and set the CC environment variable to point to gcc 2.95.4 which I believe is located on my system in /usr/lib/gcc-lib/i386-linux/2.95.4

    If anyone reading this can inform me of how to set this environment variable it would be greatly appreciated.

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479

    Re: vmware.pl and gcc version

    Quote Originally Posted by Hayabusa
    I was able to get vmware 4.0 installed on knoppix (debian as it is not on the HD). However when i went to run the console configuration as root I get the following error message:

    Your kernel was built with "gcc" version "2.95.4", while you are trying to use
    "/usr/bin/gcc" version "3.2.3". This configuration is not supported and VMware
    Workstation cannot work in such configuration. Please either recompile your
    kernel with "/usr/bin/gcc" version "3.2.3", or restart /usr/bin/vmware-config.pl
    with CC environment variable pointing to the "gcc" version "2.95.4".

    I'd like to opt for the last option presented to me and set the CC environment variable to point to gcc 2.95.4 which I believe is located on my system in /usr/lib/gcc-lib/i386-linux/2.95.4

    If anyone reading this can inform me of how to set this environment variable it would be greatly appreciated.
    export CC=/usr/bin/gcc-2.95 in a console window as root or change the symbolic link to point to gcc-2.95 ln -s /usr/bin/gcc /usr/bin/gcc-2.95 also root in a console window.

  3. #3
    Member registered user
    Join Date
    Jul 2003
    Posts
    41

    no luck

    the export worked. i went to create the simlink and got:

    ln: `/usr/bin/gcc-2.95': File exists

    so i renamed it to gcc-2.95.orig, and created the simlink as specified.

    now the error I get is:

    Unable to find the compiler specified in the CC environnment variable:
    "/usr/bin/gcc-2-95".

    I also tried extracting 2-95.4 and got:

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

    Your kernel was built with "gcc" version "2.95.4", while you are trying to use
    "/usr/bin/gcc-2-95.4" version "3.2.3". This configuration is not supported and
    VMware Workstation cannot work in such configuration. Please either recompile
    your kernel with "/usr/bin/gcc-2-95.4" version "3.2.3", or restart
    /usr/bin/vmware-config.pl with CC environment variable pointing to the "gcc"
    version "2.95.4".

    any suggestions?

  4. #4
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479

    Re: no luck

    Quote Originally Posted by Hayabusa
    the export worked

    any suggestions?
    I would use the export method it works and makes no changes to the system it only applies to the bash session you are in. Also you could try creating the link while in the while in the /usr/bin directory that way there would be no path in front of the link just the gcc-2.95 that it is looking for. eg while in the /usr/bin as root ln -s gcc gcc-2.95.

  5. #5
    Member registered user
    Join Date
    Jul 2003
    Posts
    41

    nope

    from a fresh root bash session I deleted previous simlinks to gcc-2.95 .. exported againg, simlinked from in /usr/bin . rand the vmware-config.pl and got:

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

    Your kernel was built with "gcc" version "2.95.4", while you are trying to use
    "/usr/bin/gcc-2.95" version "3.2.3". This configuration is not supported and
    VMware Workstation cannot work in such configuration. Please either recompile
    your kernel with "/usr/bin/gcc-2.95" version "3.2.3", or restart
    ./vmware-config.pl with CC environment variable pointing to the "gcc" version
    "2.95.4".


    it seems to be seing the 3,2,3 despite my efforts to tell it otherwise

  6. #6
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    Re: nope

    ' cd /usr/bin '
    ' ln gcc-2.95 gcc -sfn '

    --Then redo the vmware config without exporting the cc var. This will permanently tell gcc to use the 2.95 version.

    Quote Originally Posted by Hayabusa
    from a fresh root bash session I deleted previous simlinks to gcc-2.95 .. exported againg, simlinked from in /usr/bin . rand the vmware-config.pl and got:

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

    Your kernel was built with "gcc" version "2.95.4", while you are trying to use
    "/usr/bin/gcc-2.95" version "3.2.3". This configuration is not supported and
    VMware Workstation cannot work in such configuration. Please either recompile
    your kernel with "/usr/bin/gcc-2.95" version "3.2.3", or restart
    ./vmware-config.pl with CC environment variable pointing to the "gcc" version
    "2.95.4".


    it seems to be seing the 3,2,3 despite my efforts to tell it otherwise

  7. #7
    Member registered user
    Join Date
    Jul 2003
    Posts
    41

    thanks Dave!

    Thanks dave, using that method worked. I'm still a little unclear on why the kernel was complied with a different version that was included with my stem. anyway one more question. Is it fine to leave my gcc set like this to 2.95 or should I go about setting it back to 3.3 (and if so how do i do that?).

  8. #8
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    Re: thanks Dave!

    --You're better off leaving it at 2.95, that's the word I've been hearing anyway.

    Quote Originally Posted by Hayabusa
    Thanks dave, using that method worked. I'm still a little unclear on why the kernel was complied with a different version that was included with my stem. anyway one more question. Is it fine to leave my gcc set like this to 2.95 or should I go about setting it back to 3.3 (and if so how do i do that?).

Similar Threads

  1. VMWare: VMWare Tools can not be installed
    By Josh83 in forum MS Windows & New to Linux
    Replies: 2
    Last Post: 03-17-2005, 06:47 PM
  2. vmware
    By pc3 in forum Customising & Remastering
    Replies: 7
    Last Post: 01-21-2005, 07:30 PM
  3. maximum version / lite version??
    By freeballer in forum General Support
    Replies: 0
    Last Post: 12-20-2004, 10:51 PM
  4. 3.4 Kernel Version, and Driver Version
    By Kowood in forum Hardware & Booting
    Replies: 0
    Last Post: 08-26-2004, 12:25 AM
  5. Poor Man's Install Not Working in version 7-26 version
    By bongski55 in forum General Support
    Replies: 23
    Last Post: 08-27-2003, 01:12 PM

Posting Permissions

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


Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel picture

Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel

$33.99



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$15.90



Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3 picture

Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3

$21.50



Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) XMP picture

Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) XMP

$34.99



Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory picture

Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory

$54.99



A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture

A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G

$13.99



Samsung 16GB (4x4GB) 1Rx8 PC3-12800U 1600Mhz DDR3 RAM Memory M378B5273DH0-CK0 picture

Samsung 16GB (4x4GB) 1Rx8 PC3-12800U 1600Mhz DDR3 RAM Memory M378B5273DH0-CK0

$14.00



Lot of 50 DDR4 8GB PC4-2666V Laptop Memory RAM Mixed Major Brands picture

Lot of 50 DDR4 8GB PC4-2666V Laptop Memory RAM Mixed Major Brands

$474.99



HyperX FURY DDR4 16GB 3200 MHz PC4-25600 Desktop RAM Memory DIMM 288pin 2x 16GB picture

HyperX FURY DDR4 16GB 3200 MHz PC4-25600 Desktop RAM Memory DIMM 288pin 2x 16GB

$127.20